pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/py-hishel



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Nov 11 22:45:48 UTC 2026

Modified Files:
        pkgsrc/www/py-hishel: Makefile PLIST distinfo

Log Message:
py-hishel: update to 2.0.0.

What's Changed in 2.0.0

♻️ Refactoring

    version 2 by @karpetrosyan

⚙️ Miscellaneous Tasks

    run and release the v2 branch separately from master by @karpetrosyan
    regenerate sync test from async after rebase by @rprodhomme
    use time_machine.travel to freeze clock in flaky tests by @karpetrosyan

🐛 Bug Fixes

    lint by @karpetrosyan
    make Redis publish use one connection and watch the index by @karpetrosyan
    check the current request when storing a revalidation response by @karpetrosyan
    fix: honor the body-key metadata header by @feiiiiii5 in #490
    ensure that we don't lose the original request metadata by @karpetrosyan
    preserve httpx request extensions through cache transport round-trip by @rprodhomme
    don't re-run failed sqlite batch cleanup on every request by @karpetrosyan

🚀 Features

    drop the Sync prefix from the public API by @karpetrosyan
    add response metadata from hishel v1 by @karpetrosyan
    replace hishel with the 2.0 redesign by @karpetrosyan


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-hishel/Makefile \
    pkgsrc/www/py-hishel/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-hishel/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-hishel/Makefile
diff -u pkgsrc/www/py-hishel/Makefile:1.11 pkgsrc/www/py-hishel/Makefile:1.12
--- pkgsrc/www/py-hishel/Makefile:1.11  Wed Sep 30 10:26:30 2026
+++ pkgsrc/www/py-hishel/Makefile       Wed Nov 11 22:45:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2026/09/30 10:26:30 adam Exp $
+# $NetBSD: Makefile,v 1.12 2026/11/11 22:45:48 wiz Exp $
 
-DISTNAME=      hishel-1.4.0
+DISTNAME=      hishel-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hishel/}
@@ -13,8 +13,23 @@ LICENSE=     modified-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling>=0:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-msgpack>=1.1.2:../../devel/py-msgpack
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.14.1:../../devel/py-typing-extensions
+# optional, install them for testing
+TEST_DEPENDS+= ${PYPKGPREFIX}-anysqlite>=0:../../databases/py-anysqlite
+TEST_DEPENDS+= ${PYPKGPREFIX}-fakeredis>=0:../../databases/py-fakeredis
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx>=0:../../www/py-httpx
+TEST_DEPENDS+= ${PYPKGPREFIX}-httpx2>=0:../../www/py-httpx2
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests>=0:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-time-machine>=0:../../time/py-time-machine
+TEST_DEPENDS+= ${PYPKGPREFIX}-fastapi>=0:../../www/py-fastapi
 
 USE_LANGUAGES= # none
 
+.if make(test)
+ALLOW_NETWORK_ACCESS=  yes
+.endif
+
+# as of 2.0.0
+# 973 passed, 208 warnings
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-hishel/distinfo
diff -u pkgsrc/www/py-hishel/distinfo:1.11 pkgsrc/www/py-hishel/distinfo:1.12
--- pkgsrc/www/py-hishel/distinfo:1.11  Wed Sep 30 10:26:30 2026
+++ pkgsrc/www/py-hishel/distinfo       Wed Nov 11 22:45:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2026/09/30 10:26:30 adam Exp $
+$NetBSD: distinfo,v 1.12 2026/11/11 22:45:48 wiz Exp $
 
-BLAKE2s (hishel-1.4.0.tar.gz) = f1ee99d1a6b5e69004cc9541899783c306c574c299d233ef0dce9c91f1d5b7c4
-SHA512 (hishel-1.4.0.tar.gz) = 6d7626e65dc8cb730baf77bd58ac76e3b307726ce0d6761e234f6141cfc7d9401c7c6f104c8944117cc50a14fc9120ed50b0507b3a61314bd72dab0c8a8eac7f
-Size (hishel-1.4.0.tar.gz) = 813499 bytes
+BLAKE2s (hishel-2.0.0.tar.gz) = 41cec38558d0cc0a1a50091372d41e4fec23bb14a7f20625226f6ef78d89d609
+SHA512 (hishel-2.0.0.tar.gz) = 8a8bc24e798785f5c87855577e9392dd867fcd3c513711ba97a4f3bc3599f9d2b53acf8938aa4ce4a95eda0058b9815566d2218089a8891641cc490ee8e60e89
+Size (hishel-2.0.0.tar.gz) = 902409 bytes

Index: pkgsrc/www/py-hishel/PLIST
diff -u pkgsrc/www/py-hishel/PLIST:1.4 pkgsrc/www/py-hishel/PLIST:1.5
--- pkgsrc/www/py-hishel/PLIST:1.4      Wed Sep 30 10:26:30 2026
+++ pkgsrc/www/py-hishel/PLIST  Wed Nov 11 22:45:48 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2026/09/30 10:26:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2026/11/11 22:45:48 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -6,15 +6,9 @@ ${PYSITELIB}/${WHEEL_INFODIR}/licenses/L
 ${PYSITELIB}/hishel/__init__.py
 ${PYSITELIB}/hishel/__init__.pyc
 ${PYSITELIB}/hishel/__init__.pyo
-${PYSITELIB}/hishel/_async_cache.py
-${PYSITELIB}/hishel/_async_cache.pyc
-${PYSITELIB}/hishel/_async_cache.pyo
-${PYSITELIB}/hishel/_async_httpx.py
-${PYSITELIB}/hishel/_async_httpx.pyc
-${PYSITELIB}/hishel/_async_httpx.pyo
-${PYSITELIB}/hishel/_async_httpx2.py
-${PYSITELIB}/hishel/_async_httpx2.pyc
-${PYSITELIB}/hishel/_async_httpx2.pyo
+${PYSITELIB}/hishel/_async_rfc.py
+${PYSITELIB}/hishel/_async_rfc.pyc
+${PYSITELIB}/hishel/_async_rfc.pyo
 ${PYSITELIB}/hishel/_core/_headers.py
 ${PYSITELIB}/hishel/_core/_headers.pyc
 ${PYSITELIB}/hishel/_core/_headers.pyo
@@ -45,34 +39,46 @@ ${PYSITELIB}/hishel/_core/_storages/_syn
 ${PYSITELIB}/hishel/_core/models.py
 ${PYSITELIB}/hishel/_core/models.pyc
 ${PYSITELIB}/hishel/_core/models.pyo
-${PYSITELIB}/hishel/_policies.py
-${PYSITELIB}/hishel/_policies.pyc
-${PYSITELIB}/hishel/_policies.pyo
-${PYSITELIB}/hishel/_sync_cache.py
-${PYSITELIB}/hishel/_sync_cache.pyc
-${PYSITELIB}/hishel/_sync_cache.pyo
-${PYSITELIB}/hishel/_sync_httpx.py
-${PYSITELIB}/hishel/_sync_httpx.pyc
-${PYSITELIB}/hishel/_sync_httpx.pyo
-${PYSITELIB}/hishel/_sync_httpx2.py
-${PYSITELIB}/hishel/_sync_httpx2.pyc
-${PYSITELIB}/hishel/_sync_httpx2.pyo
+${PYSITELIB}/hishel/_sync_rfc.py
+${PYSITELIB}/hishel/_sync_rfc.pyc
+${PYSITELIB}/hishel/_sync_rfc.pyo
 ${PYSITELIB}/hishel/_utils.py
 ${PYSITELIB}/hishel/_utils.pyc
 ${PYSITELIB}/hishel/_utils.pyo
-${PYSITELIB}/hishel/asgi.py
-${PYSITELIB}/hishel/asgi.pyc
-${PYSITELIB}/hishel/asgi.pyo
-${PYSITELIB}/hishel/fastapi.py
-${PYSITELIB}/hishel/fastapi.pyc
-${PYSITELIB}/hishel/fastapi.pyo
-${PYSITELIB}/hishel/httpx.py
-${PYSITELIB}/hishel/httpx.pyc
-${PYSITELIB}/hishel/httpx.pyo
-${PYSITELIB}/hishel/httpx2.py
-${PYSITELIB}/hishel/httpx2.pyc
-${PYSITELIB}/hishel/httpx2.pyo
+${PYSITELIB}/hishel/asgi/__init__.py
+${PYSITELIB}/hishel/asgi/__init__.pyc
+${PYSITELIB}/hishel/asgi/__init__.pyo
+${PYSITELIB}/hishel/asgi/_middleware.py
+${PYSITELIB}/hishel/asgi/_middleware.pyc
+${PYSITELIB}/hishel/asgi/_middleware.pyo
+${PYSITELIB}/hishel/fastapi/__init__.py
+${PYSITELIB}/hishel/fastapi/__init__.pyc
+${PYSITELIB}/hishel/fastapi/__init__.pyo
+${PYSITELIB}/hishel/fastapi/_cache.py
+${PYSITELIB}/hishel/fastapi/_cache.pyc
+${PYSITELIB}/hishel/fastapi/_cache.pyo
+${PYSITELIB}/hishel/httpx/__init__.py
+${PYSITELIB}/hishel/httpx/__init__.pyc
+${PYSITELIB}/hishel/httpx/__init__.pyo
+${PYSITELIB}/hishel/httpx/_async.py
+${PYSITELIB}/hishel/httpx/_async.pyc
+${PYSITELIB}/hishel/httpx/_async.pyo
+${PYSITELIB}/hishel/httpx/_sync.py
+${PYSITELIB}/hishel/httpx/_sync.pyc
+${PYSITELIB}/hishel/httpx/_sync.pyo
+${PYSITELIB}/hishel/httpx2/__init__.py
+${PYSITELIB}/hishel/httpx2/__init__.pyc
+${PYSITELIB}/hishel/httpx2/__init__.pyo
+${PYSITELIB}/hishel/httpx2/_async.py
+${PYSITELIB}/hishel/httpx2/_async.pyc
+${PYSITELIB}/hishel/httpx2/_async.pyo
+${PYSITELIB}/hishel/httpx2/_sync.py
+${PYSITELIB}/hishel/httpx2/_sync.pyc
+${PYSITELIB}/hishel/httpx2/_sync.pyo
 ${PYSITELIB}/hishel/py.typed
-${PYSITELIB}/hishel/requests.py
-${PYSITELIB}/hishel/requests.pyc
-${PYSITELIB}/hishel/requests.pyo
+${PYSITELIB}/hishel/requests/__init__.py
+${PYSITELIB}/hishel/requests/__init__.pyc
+${PYSITELIB}/hishel/requests/__init__.pyo
+${PYSITELIB}/hishel/requests/_adapter.py
+${PYSITELIB}/hishel/requests/_adapter.pyc
+${PYSITELIB}/hishel/requests/_adapter.pyo



Home | Main Index | Thread Index | Old Index