pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-httpx



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 28 19:51:02 UTC 2024

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

Log Message:
py-httpx: updated to 0.28.0

0.28.0 (28th November, 2024)

The 0.28 release includes a limited set of deprecations.

**Deprecations**:

We are working towards a simplified SSL configuration API.

*For users of the standard `verify=True` or `verify=False` cases, or `verify=<ssl_context>` case this should require no changes. The following cases have been deprecated...*

* The `verify` argument as a string argument is now deprecated and will raise warnings.
* The `cert` argument is now deprecated and will raise warnings.

Our revised [SSL documentation](docs/advanced/ssl.md) covers how to implement the same behaviour with a more constrained API.

**The following changes are also included**:

* The deprecated `proxies` argument has now been removed.
* The deprecated `app` argument has now been removed.
* JSON request bodies use a compact representation.
* Review URL percent escape sets, based on WHATWG spec.
* Ensure `certifi` and `httpcore` are only imported if required.
* Treat `socks5h` as a valid proxy scheme.
* Cleanup `Request()` method signature in line with `client.request()` and `httpx.request()`.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/www/py-httpx/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-httpx/PLIST
cvs rdiff -u -r1.33 -r1.34 pkgsrc/www/py-httpx/distinfo

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-httpx/Makefile
diff -u pkgsrc/www/py-httpx/Makefile:1.35 pkgsrc/www/py-httpx/Makefile:1.36
--- pkgsrc/www/py-httpx/Makefile:1.35   Wed Aug 28 15:34:30 2024
+++ pkgsrc/www/py-httpx/Makefile        Thu Nov 28 19:51:01 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.35 2024/08/28 15:34:30 adam Exp $
+# $NetBSD: Makefile,v 1.36 2024/11/28 19:51:01 adam Exp $
 
-DISTNAME=      httpx-0.27.2
+DISTNAME=      httpx-0.28.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=h/httpx/}
@@ -17,6 +17,10 @@ DEPENDS+=    ${PYPKGPREFIX}-certifi-[0-9]*:
 DEPENDS+=      ${PYPKGPREFIX}-httpcore>=1.0.0:../../www/py-httpcore
 DEPENDS+=      ${PYPKGPREFIX}-idna-[0-9]*:../../www/py-idna
 DEPENDS+=      ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio
+# cli
+DEPENDS+=      ${PYPKGPREFIX}-click>=8:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-pygments>=2:../../textproc/py-pygments
+DEPENDS+=      ${PYPKGPREFIX}-rich>=10:../../comms/py-rich
 TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
 TEST_DEPENDS+= ${PYPKGPREFIX}-uvicorn-[0-9]*:../../www/py-uvicorn
 

Index: pkgsrc/www/py-httpx/PLIST
diff -u pkgsrc/www/py-httpx/PLIST:1.12 pkgsrc/www/py-httpx/PLIST:1.13
--- pkgsrc/www/py-httpx/PLIST:1.12      Sat Oct 28 19:57:23 2023
+++ pkgsrc/www/py-httpx/PLIST   Thu Nov 28 19:51:01 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2023/10/28 19:57:23 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2024/11/28 19:51:01 adam Exp $
 bin/httpx-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -20,9 +20,6 @@ ${PYSITELIB}/httpx/_auth.pyo
 ${PYSITELIB}/httpx/_client.py
 ${PYSITELIB}/httpx/_client.pyc
 ${PYSITELIB}/httpx/_client.pyo
-${PYSITELIB}/httpx/_compat.py
-${PYSITELIB}/httpx/_compat.pyc
-${PYSITELIB}/httpx/_compat.pyo
 ${PYSITELIB}/httpx/_config.py
 ${PYSITELIB}/httpx/_config.pyc
 ${PYSITELIB}/httpx/_config.pyo

Index: pkgsrc/www/py-httpx/distinfo
diff -u pkgsrc/www/py-httpx/distinfo:1.33 pkgsrc/www/py-httpx/distinfo:1.34
--- pkgsrc/www/py-httpx/distinfo:1.33   Wed Aug 28 15:34:30 2024
+++ pkgsrc/www/py-httpx/distinfo        Thu Nov 28 19:51:01 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.33 2024/08/28 15:34:30 adam Exp $
+$NetBSD: distinfo,v 1.34 2024/11/28 19:51:01 adam Exp $
 
-BLAKE2s (httpx-0.27.2.tar.gz) = 552a32186cab55c1fffb1cf7c20d53012e5bea2834dbea102adc306c34244c76
-SHA512 (httpx-0.27.2.tar.gz) = 12512ff6661830b2db2dd1e8ac13b9148ab034016bc1118ff3027ce454686204cae753bd8ace585a040e26fd42374304cde5947adc9b3e82fb72c2ceb5aea504
-Size (httpx-0.27.2.tar.gz) = 144189 bytes
+BLAKE2s (httpx-0.28.0.tar.gz) = e453bbd345f53b1beb4906b8470b417b0f02ba6b6786b728a1354f4ee789311d
+SHA512 (httpx-0.28.0.tar.gz) = 6742d083d81db78ddd92394bdacc90477e5a7d45be7ab061869bd784f5637a07a765fbe2bd5064592213c82250399f64383bf7be30862d51c865b06d3fb0d2d7
+Size (httpx-0.28.0.tar.gz) = 141307 bytes



Home | Main Index | Thread Index | Old Index