pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-treq



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Oct 14 07:25:52 UTC 2024

Modified Files:
        pkgsrc/devel/py-treq: Makefile PLIST distinfo

Log Message:
py-treq: updated to 24.9.1

24.9.1 (2024-09-19)

Bugfixes

- treq has vendored its dependency on the ``multipart`` library to avoid import
  conflicts with ``python-multipart``; it should now be installable alongside
  that library.

24.9.0 (2024-09-17)

Features

- treq now ships type annotations.
- The new :mod:`treq.cookies` module provides helper functions for working with `http.cookiejar.Cookie` and `CookieJar` objects.
- Python 3.13 is now supported.

Bugfixes

- :mod:`treq.content.text_content()` no longer generates deprecation warnings due to use of the ``cgi`` module.

Deprecations and Removals

- Mixing the *json* argument with *files* or *data* now raises `TypeError`.
- Passing non-string (`str` or `bytes`) values as part of a dict to the *headers* argument now results in a `TypeError`, as does passing any collection other than a `dict` or `Headers` instance.
- Support for Python 3.7 and PyPy 3.8, which have reached end of support, has been dropped.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-treq/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-treq/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-treq/distinfo

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

Modified files:

Index: pkgsrc/devel/py-treq/Makefile
diff -u pkgsrc/devel/py-treq/Makefile:1.10 pkgsrc/devel/py-treq/Makefile:1.11
--- pkgsrc/devel/py-treq/Makefile:1.10  Fri Jan 19 21:46:48 2024
+++ pkgsrc/devel/py-treq/Makefile       Mon Oct 14 07:25:52 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2024/01/19 21:46:48 adam Exp $
+# $NetBSD: Makefile,v 1.11 2024/10/14 07:25:52 adam Exp $
 
-DISTNAME=      treq-23.11.0
+DISTNAME=      treq-24.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/treq/}
@@ -17,12 +17,11 @@ DEPENDS+=   ${PYPKGPREFIX}-hyperlink>=21.0
 DEPENDS+=      ${PYPKGPREFIX}-incremental>=21.3.0:../../devel/py-incremental
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.1.0:../../devel/py-requests
 DEPENDS+=      ${PYPKGPREFIX}-twisted>=22.10.0:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions
 TEST_DEPENDS+= ${PYPKGPREFIX}-httpbin>=0.7.0:../../www/py-httpbin
 TEST_DEPENDS+= ${PYPKGPREFIX}-werkzeug>=2.0.3:../../www/py-werkzeug
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-treq/PLIST
diff -u pkgsrc/devel/py-treq/PLIST:1.3 pkgsrc/devel/py-treq/PLIST:1.4
--- pkgsrc/devel/py-treq/PLIST:1.3      Fri Jan 19 21:46:48 2024
+++ pkgsrc/devel/py-treq/PLIST  Mon Oct 14 07:25:52 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2024/01/19 21:46:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/10/14 07:25:52 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -10,6 +10,12 @@ ${PYSITELIB}/treq/__init__.pyo
 ${PYSITELIB}/treq/_agentspy.py
 ${PYSITELIB}/treq/_agentspy.pyc
 ${PYSITELIB}/treq/_agentspy.pyo
+${PYSITELIB}/treq/_multipart.py
+${PYSITELIB}/treq/_multipart.pyc
+${PYSITELIB}/treq/_multipart.pyo
+${PYSITELIB}/treq/_types.py
+${PYSITELIB}/treq/_types.pyc
+${PYSITELIB}/treq/_types.pyo
 ${PYSITELIB}/treq/_version.py
 ${PYSITELIB}/treq/_version.pyc
 ${PYSITELIB}/treq/_version.pyo
@@ -25,9 +31,13 @@ ${PYSITELIB}/treq/client.pyo
 ${PYSITELIB}/treq/content.py
 ${PYSITELIB}/treq/content.pyc
 ${PYSITELIB}/treq/content.pyo
+${PYSITELIB}/treq/cookies.py
+${PYSITELIB}/treq/cookies.pyc
+${PYSITELIB}/treq/cookies.pyo
 ${PYSITELIB}/treq/multipart.py
 ${PYSITELIB}/treq/multipart.pyc
 ${PYSITELIB}/treq/multipart.pyo
+${PYSITELIB}/treq/py.typed
 ${PYSITELIB}/treq/response.py
 ${PYSITELIB}/treq/response.pyc
 ${PYSITELIB}/treq/response.pyo
@@ -73,6 +83,9 @@ ${PYSITELIB}/treq/test/test_client.pyo
 ${PYSITELIB}/treq/test/test_content.py
 ${PYSITELIB}/treq/test/test_content.pyc
 ${PYSITELIB}/treq/test/test_content.pyo
+${PYSITELIB}/treq/test/test_cookies.py
+${PYSITELIB}/treq/test/test_cookies.pyc
+${PYSITELIB}/treq/test/test_cookies.pyo
 ${PYSITELIB}/treq/test/test_multipart.py
 ${PYSITELIB}/treq/test/test_multipart.pyc
 ${PYSITELIB}/treq/test/test_multipart.pyo

Index: pkgsrc/devel/py-treq/distinfo
diff -u pkgsrc/devel/py-treq/distinfo:1.7 pkgsrc/devel/py-treq/distinfo:1.8
--- pkgsrc/devel/py-treq/distinfo:1.7   Fri Jan 19 21:46:48 2024
+++ pkgsrc/devel/py-treq/distinfo       Mon Oct 14 07:25:52 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2024/01/19 21:46:48 adam Exp $
+$NetBSD: distinfo,v 1.8 2024/10/14 07:25:52 adam Exp $
 
-BLAKE2s (treq-23.11.0.tar.gz) = 7d092a8e56abaae6091124dcece1dd6b2afcea94ab00a206c04e58905f232555
-SHA512 (treq-23.11.0.tar.gz) = bf62373f51a0552e040a628c86fe0f8d136ab5dfefaa2fa46d9ab173a58c20c0211f94370561e07fafb7da87140e88c10cf336ff7a61e5b3fc1a47fd1193cc27
-Size (treq-23.11.0.tar.gz) = 74450 bytes
+BLAKE2s (treq-24.9.1.tar.gz) = 04a7e3445c9e62b1692d7ba14b74f0beb0aa12b27072ffff0540f5f63e7a31fc
+SHA512 (treq-24.9.1.tar.gz) = b8ed6ed5262073559babe8d0413a1f5369215a41ac7459441172a9086c654cf1dc7e51a0497d4c714726ae02d2163760cddde7008e360f37ebb4586b82409bb8
+Size (treq-24.9.1.tar.gz) = 85614 bytes



Home | Main Index | Thread Index | Old Index