pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-requests
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jul 10 20:09:56 UTC 2022
Modified Files:
pkgsrc/devel/py-requests: Makefile distinfo
pkgsrc/devel/py-requests/patches: patch-setup.py
Removed Files:
pkgsrc/devel/py-requests/patches: patch-requests_____init____.py
Log Message:
py-requests: update to 2.28.1.
Fixes PR 56915.
2.28.1 (2022-06-29)
-------------------
**Improvements**
- Speed optimization in `iter_content` with transition to `yield from`. (#6170)
**Dependencies**
- Added support for chardet 5.0.0 (#6179)
- Added support for charset-normalizer 2.1.0 (#6169)
2.28.0 (2022-06-09)
-------------------
**Deprecations**
- ⚠️ Requests has officially dropped support for Python 2.7. ⚠️ (#6091)
- Requests has officially dropped support for Python 3.6 (including pypy3.6). (#6091)
**Improvements**
- Wrap JSON parsing issues in Request's JSONDecodeError for payloads without
an encoding to make `json()` API consistent. (#6097)
- Parse header components consistently, raising an InvalidHeader error in
all invalid cases. (#6154)
- Added provisional 3.11 support with current beta build. (#6155)
- Requests got a makeover and we decided to paint it black. (#6095)
**Bugfixes**
- Fixed bug where setting `CURL_CA_BUNDLE` to an empty string would disable
cert verification. All Requests 2.x versions before 2.28.0 are affected. (#6074)
- Fixed urllib3 exception leak, wrapping `urllib3.exceptions.SSLError` with
`requests.exceptions.SSLError` for `content` and `iter_content`. (#6057)
- Fixed issue where invalid Windows registry entires caused proxy resolution
to raise an exception rather than ignoring the entry. (#6149)
- Fixed issue where entire payload could be included in the error message for
JSONDecodeError. (#6036)
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-requests/distinfo
cvs rdiff -u -r1.8 -r0 \
pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-requests/patches/patch-setup.py
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-requests/Makefile
diff -u pkgsrc/devel/py-requests/Makefile:1.54 pkgsrc/devel/py-requests/Makefile:1.55
--- pkgsrc/devel/py-requests/Makefile:1.54 Sun Jul 3 12:13:07 2022
+++ pkgsrc/devel/py-requests/Makefile Sun Jul 10 20:09:56 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2022/07/03 12:13:07 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2022/07/10 20:09:56 wiz Exp $
-DISTNAME= requests-2.27.1
+DISTNAME= requests-2.28.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
@@ -10,31 +10,27 @@ HOMEPAGE= https://requests.readthedocs.i
COMMENT= HTTP library, written in Python, for human beings
LICENSE= apache-2.0
+DEPENDS+= ${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi
+DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2:../../converters/py-charset-normalizer
DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.21.1:../../www/py-urllib3
TEST_DEPENDS+= ${PYPKGPREFIX}-Socks>=1.5.8:../../net/py-Socks
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin>=0.0.7:../../www/py-test-httpbin
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
+TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
-PYTHON_VERSIONED_DEPENDENCIES+= test:test
-PYTHON_VERSIONED_DEPENDENCIES+= cryptography
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
REPLACE_PYTHON+= requests/certs.py
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet4
-TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27
do-test:
-.else
-DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2.0.0:../../converters/py-charset-normalizer
-.endif
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.43 pkgsrc/devel/py-requests/distinfo:1.44
--- pkgsrc/devel/py-requests/distinfo:1.43 Fri Jan 7 16:23:16 2022
+++ pkgsrc/devel/py-requests/distinfo Sun Jul 10 20:09:56 2022
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.43 2022/01/07 16:23:16 adam Exp $
+$NetBSD: distinfo,v 1.44 2022/07/10 20:09:56 wiz Exp $
-BLAKE2s (requests-2.27.1.tar.gz) = 4c64ba900706dfa6f21ec1780bb7169aed52804061cfe67f1bcd7cb01b92f4d5
-SHA512 (requests-2.27.1.tar.gz) = e51916abea8125254c5ee72c97e84a73e6981cab09961486873387522d2ce041ee3fe8fa2ff0b9bbe6707eefdc05145e9adcf127bcd999dea127acdfabd5312f
-Size (requests-2.27.1.tar.gz) = 106758 bytes
-SHA1 (patch-requests_____init____.py) = 9915c51b02dd62f5c961ab388422d6f18a1dbedc
-SHA1 (patch-setup.py) = 1b6ba462a0c3d6079f7d0fc738ba8000b6e892b4
+BLAKE2s (requests-2.28.1.tar.gz) = 15383c6cce96f85d3c00f95ac18718cccfc4d6d8e818ab0c89d2632ad8efacab
+SHA512 (requests-2.28.1.tar.gz) = c123ec07171c2c7c34e4173b97750adfa313b4312d91c0d58e4eb8750361604017e5b370c23ec886d2cbf704f9074ec5ad0fa9c2cd8e6f9521532adafff39d41
+Size (requests-2.28.1.tar.gz) = 109805 bytes
+SHA1 (patch-setup.py) = 644ec23fce2579cf26656ddb5518c788c3b6d61d
Index: pkgsrc/devel/py-requests/patches/patch-setup.py
diff -u pkgsrc/devel/py-requests/patches/patch-setup.py:1.9 pkgsrc/devel/py-requests/patches/patch-setup.py:1.10
--- pkgsrc/devel/py-requests/patches/patch-setup.py:1.9 Fri Feb 21 06:42:59 2020
+++ pkgsrc/devel/py-requests/patches/patch-setup.py Sun Jul 10 20:09:56 2022
@@ -1,15 +1,15 @@
-$NetBSD: patch-setup.py,v 1.9 2020/02/21 06:42:59 adam Exp $
+$NetBSD: patch-setup.py,v 1.10 2022/07/10 20:09:56 wiz Exp $
Allow newer test dependencies.
---- setup.py.orig 2020-02-18 22:55:51.000000000 +0000
+--- setup.py.orig 2022-06-29 15:09:45.000000000 +0000
+++ setup.py
-@@ -49,7 +49,7 @@ requires = [
-
+@@ -65,7 +65,7 @@ requires = [
+ "certifi>=2017.4.17",
]
test_requirements = [
-- 'pytest-httpbin==0.0.7',
-+ 'pytest-httpbin>=0.0.7',
- 'pytest-cov',
- 'pytest-mock',
- 'pytest-xdist',
+- "pytest-httpbin==0.0.7",
++ "pytest-httpbin>=0.0.7",
+ "pytest-cov",
+ "pytest-mock",
+ "pytest-xdist",
Home |
Main Index |
Thread Index |
Old Index