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: adam
Date: Fri Jul 30 04:19:22 UTC 2021
Modified Files:
pkgsrc/devel/py-requests: Makefile distinfo
Log Message:
py-requests: updated to 2.26.0
2.26.0 (2021-07-13)
-------------------
**Improvements**
- Requests now supports Brotli compression, if either the `brotli` or
`brotlicffi` package is installed.
- `Session.send` now correctly resolves proxy configurations from both
the Session and Request. Behavior now matches `Session.request`.
**Bugfixes**
- Fixed a race condition in zip extraction when using Requests in parallel
from zip archive.
**Dependencies**
- Instead of `chardet`, use the MIT-licensed `charset_normalizer` for Python3
to remove license ambiguity for projects bundling requests. If `chardet`
is already installed on your machine it will be used instead of `charset_normalizer`
to keep backwards compatibility.
You can also install `chardet` while installing requests by
specifying `[use_chardet_on_py3]` extra as follows:
```shell
pip install "requests[use_chardet_on_py3]"
```
Python2 still depends upon the `chardet` module.
- Requests now supports `idna` 3.x on Python 3. `idna` 2.x will continue to
be used on Python 2 installations.
**Deprecations**
- The `requests[security]` extra has been converted to a no-op install.
PyOpenSSL is no longer the recommended secure option for Requests.
- Requests has officially dropped support for Python 3.5.
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/py-requests/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-requests/Makefile
diff -u pkgsrc/devel/py-requests/Makefile:1.49 pkgsrc/devel/py-requests/Makefile:1.50
--- pkgsrc/devel/py-requests/Makefile:1.49 Fri Dec 18 08:22:39 2020
+++ pkgsrc/devel/py-requests/Makefile Fri Jul 30 04:19:22 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2020/12/18 08:22:39 adam Exp $
+# $NetBSD: Makefile,v 1.50 2021/07/30 04:19:22 adam Exp $
-DISTNAME= requests-2.25.1
+DISTNAME= requests-2.26.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
@@ -10,9 +10,7 @@ HOMEPAGE= https://requests.readthedocs.i
COMMENT= HTTP library, written in Python, for human beings
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.14:../../security/py-OpenSSL
DEPENDS+= ${PYPKGPREFIX}-certifi>=2017.4.17:../../security/py-certifi
-DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
DEPENDS+= ${PYPKGPREFIX}-cryptography>=1.3.4:../../security/py-cryptography
DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.12.1:../../www/py-urllib3
@@ -29,8 +27,11 @@ REPLACE_PYTHON+= requests/certs.py
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
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
.include "../../lang/python/application.mk"
Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.39 pkgsrc/devel/py-requests/distinfo:1.40
--- pkgsrc/devel/py-requests/distinfo:1.39 Fri Dec 18 08:22:39 2020
+++ pkgsrc/devel/py-requests/distinfo Fri Jul 30 04:19:22 2021
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.39 2020/12/18 08:22:39 adam Exp $
+$NetBSD: distinfo,v 1.40 2021/07/30 04:19:22 adam Exp $
-SHA1 (requests-2.25.1.tar.gz) = c447ce806a07c6ba3489afc72345e28ab4640aaa
-RMD160 (requests-2.25.1.tar.gz) = 4a8a60da9b3619a53bd5a74245e58123702ae7e6
-SHA512 (requests-2.25.1.tar.gz) = ca6b0a257b448a999cade0ae173c29cddc9cfffb319d16fc3d051d3e1cd77161536e3cab279b3cba59c60d29d7864a9281c1fa1f689ce48d3bce2ca9f1cd8d45
-Size (requests-2.25.1.tar.gz) = 102161 bytes
+SHA1 (requests-2.26.0.tar.gz) = 8c7a89d183d3e9b70bf91ba5b75eccf7111b9d8d
+RMD160 (requests-2.26.0.tar.gz) = 0b532167e01570e015b9abd52bb7d442d93a50bd
+SHA512 (requests-2.26.0.tar.gz) = c3397d77f0d2f1afb05661c4b98adad6c1ddaf360906254150b33ab0d9479fd306905bd6d61b8cf8becd9a40bdcf9b03542e8267c644ef19f03f44bfca0bc461
+Size (requests-2.26.0.tar.gz) = 104433 bytes
SHA1 (patch-requests_____init____.py) = 9915c51b02dd62f5c961ab388422d6f18a1dbedc
SHA1 (patch-setup.py) = 1b6ba462a0c3d6079f7d0fc738ba8000b6e892b4
Home |
Main Index |
Thread Index |
Old Index