py-requests: updated to 2.28.2 2.28.2 (2023-01-12) ------------------- **Dependencies** - Requests now supports charset\_normalizer 3.x. **Bugfixes** - Updated MissingSchema exception to suggest https scheme rather than http.diff -r1.57 -r1.58 pkgsrc/devel/py-requests/Makefile
(adam)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.57 2022/11/28 19:07:30 nia Exp $ | 1 | # $NetBSD: Makefile,v 1.58 2023/01/13 09:01:02 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= requests-2.28.1 | 3 | DISTNAME= requests-2.28.2 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= devel www python | 5 | CATEGORIES= devel www python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/} | |
7 | 7 | |||
8 | MAINTAINER= imil@NetBSD.org | 8 | MAINTAINER= imil@NetBSD.org | |
9 | HOMEPAGE= https://requests.readthedocs.io/ | 9 | HOMEPAGE= https://requests.readthedocs.io/ | |
10 | COMMENT= HTTP library, written in Python, for human beings | 10 | COMMENT= HTTP library, written in Python, for human beings | |
11 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi | 13 | DEPENDS+= ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi | |
14 | # TODO: remove chardet once charset-normalizer>=3 is supported | 14 | # TODO: remove chardet once charset-normalizer>=3 is supported | |
15 | DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet | 15 | DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet | |
16 | DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2:../../converters/py-charset-normalizer | 16 | DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2:../../converters/py-charset-normalizer |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.45 2022/11/25 10:46:37 adam Exp $ | 1 | $NetBSD: distinfo,v 1.46 2023/01/13 09:01:02 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (requests-2.28.1.tar.gz) = 15383c6cce96f85d3c00f95ac18718cccfc4d6d8e818ab0c89d2632ad8efacab | 3 | BLAKE2s (requests-2.28.2.tar.gz) = 2ae9e585a00b9d56b046fba48212aa25a928185e7fde2b5ef7f1955702919937 | |
4 | SHA512 (requests-2.28.1.tar.gz) = c123ec07171c2c7c34e4173b97750adfa313b4312d91c0d58e4eb8750361604017e5b370c23ec886d2cbf704f9074ec5ad0fa9c2cd8e6f9521532adafff39d41 | 4 | SHA512 (requests-2.28.2.tar.gz) = 3c4ba19a2bb6ba38a4118cf246db3855401869d54ee7ebd9bee40b435420381fb737d4c69768f2bd97914a30d66233c7058cec51aa629af0dff3b04e6f997a3d | |
5 | Size (requests-2.28.1.tar.gz) = 109805 bytes | 5 | Size (requests-2.28.2.tar.gz) = 108206 bytes | |
6 | SHA1 (patch-setup.py) = 285ebee3e89c46abe043661b5e4cdca3a23dfbd0 | 6 | SHA1 (patch-setup.py) = 9344db9f4ce311a59564f89f35538bab4aa2ad7e |
@@ -1,22 +1,15 @@ | @@ -1,22 +1,15 @@ | |||
1 | $NetBSD: patch-setup.py,v 1.11 2022/11/25 10:46:37 adam Exp $ | 1 | $NetBSD: patch-setup.py,v 1.12 2023/01/13 09:01:02 adam Exp $ | |
2 | 2 | |||
3 | Allow newer test dependencies. | 3 | Allow newer test dependencies. | |
4 | 4 | |||
5 | --- setup.py.orig 2022-06-29 15:09:45.000000000 +0000 | 5 | --- setup.py.orig 2023-01-12 16:16:59.000000000 +0000 | |
6 | +++ setup.py | 6 | +++ setup.py | |
7 | @@ -59,13 +59,13 @@ if sys.argv[-1] == "publish": | 7 | @@ -65,7 +65,7 @@ requires = [ | |
8 | sys.exit() | |||
9 | ||||
10 | requires = [ | |||
11 | - "charset_normalizer>=2,<3", | |||
12 | + "charset_normalizer>=2", | |||
13 | "idna>=2.5,<4", | |||
14 | "urllib3>=1.21.1,<1.27", | |||
15 | "certifi>=2017.4.17", | 8 | "certifi>=2017.4.17", | |
16 | ] | 9 | ] | |
17 | test_requirements = [ | 10 | test_requirements = [ | |
18 | - "pytest-httpbin==0.0.7", | 11 | - "pytest-httpbin==0.0.7", | |
19 | + "pytest-httpbin>=0.0.7", | 12 | + "pytest-httpbin>=0.0.7", | |
20 | "pytest-cov", | 13 | "pytest-cov", | |
21 | "pytest-mock", | 14 | "pytest-mock", | |
22 | "pytest-xdist", | 15 | "pytest-xdist", |