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 Jun 19 20:45:42 UTC 2020
Modified Files:
pkgsrc/devel/py-requests: Makefile distinfo
pkgsrc/devel/py-requests/patches: patch-requests_____init____.py
Log Message:
py-requests: updated to 2.24.0
2.24.0:
Improvements
pyOpenSSL TLS implementation is now only used if Python either doesn’t have an ssl module or doesn’t support SNI. Previously pyOpenSSL was unconditionally used if available. This applies even if
pyOpenSSL is installed via the requests[security] extra
Redirect resolution should now only occur when allow_redirects is True.
No longer perform unnecessary Content-Length calculation for requests that won’t use it.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-requests/distinfo
cvs rdiff -u -r1.5 -r1.6 \
pkgsrc/devel/py-requests/patches/patch-requests_____init____.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.46 pkgsrc/devel/py-requests/Makefile:1.47
--- pkgsrc/devel/py-requests/Makefile:1.46 Sat May 16 16:35:24 2020
+++ pkgsrc/devel/py-requests/Makefile Fri Jun 19 20:45:41 2020
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.46 2020/05/16 16:35:24 adam Exp $
+# $NetBSD: Makefile,v 1.47 2020/06/19 20:45:41 adam Exp $
-DISTNAME= requests-2.23.0
+DISTNAME= requests-2.24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/}
MAINTAINER= imil%NetBSD.org@localhost
-HOMEPAGE= http://python-requests.org/
+HOMEPAGE= https://requests.readthedocs.io/
COMMENT= HTTP library, written in Python, for human beings
LICENSE= apache-2.0
Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.36 pkgsrc/devel/py-requests/distinfo:1.37
--- pkgsrc/devel/py-requests/distinfo:1.36 Fri Feb 21 06:42:59 2020
+++ pkgsrc/devel/py-requests/distinfo Fri Jun 19 20:45:41 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2020/02/21 06:42:59 adam Exp $
+$NetBSD: distinfo,v 1.37 2020/06/19 20:45:41 adam Exp $
-SHA1 (requests-2.23.0.tar.gz) = ab724cae3ce1f5175d34598c14e010f770eeac4c
-RMD160 (requests-2.23.0.tar.gz) = 676d94a3b4ee6b20af19bf09481aded34a89b046
-SHA512 (requests-2.23.0.tar.gz) = a0f7db5cc9ce67af9f6f81b72e41491735a102f2a1da2fbde98e279846e2140cd26b6370aa5ec79c148c397885a7ae2bbce45c4587215f510dd02b8ac57cb46e
-Size (requests-2.23.0.tar.gz) = 114327 bytes
-SHA1 (patch-requests_____init____.py) = 39ce838223ca91c36a7a5310b76b70aa7a154c99
+SHA1 (requests-2.24.0.tar.gz) = 9144742bf54db5f2a74a3e724cec3c19431b3539
+RMD160 (requests-2.24.0.tar.gz) = 48f76a63e9f1e11ed97d0f51807692bd8b5a714e
+SHA512 (requests-2.24.0.tar.gz) = 46ca8ab70eb39be8398c242404b9b3ffb6baddd5c78eaad125b55c719154eb8c7b6a737a8dc587b0cb51b3b9a074abaa8b2ff347a64d38f4f90cdba4db16a119
+Size (requests-2.24.0.tar.gz) = 115071 bytes
+SHA1 (patch-requests_____init____.py) = e71da60ea3a047a4f8bc0dbbc43bd4bec2300cfb
SHA1 (patch-setup.py) = 1b6ba462a0c3d6079f7d0fc738ba8000b6e892b4
Index: pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
diff -u pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.5 pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.6
--- pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.5 Fri May 17 08:34:38 2019
+++ pkgsrc/devel/py-requests/patches/patch-requests_____init____.py Fri Jun 19 20:45:42 2020
@@ -1,4 +1,4 @@
-$NetBSD: patch-requests_____init____.py,v 1.5 2019/05/17 08:34:38 adam Exp $
+$NetBSD: patch-requests_____init____.py,v 1.6 2020/06/19 20:45:42 adam Exp $
* Allow newer py-urllib3 and py-chardet.
* Add workaround for segfault of security/py-certbot on NetBSD/amd64
@@ -7,7 +7,7 @@ $NetBSD: patch-requests_____init____.py,
This is introduced in https://github.com/shazow/urllib3
---- requests/__init__.py.orig 2019-05-16 14:22:45.000000000 +0000
+--- requests/__init__.py.orig 2020-05-09 04:43:25.000000000 +0000
+++ requests/__init__.py
@@ -60,15 +60,12 @@ def check_compatibility(urllib3_version,
# urllib3 >= 1.21.1, <= 1.25
@@ -25,11 +25,11 @@ $NetBSD: patch-requests_____init____.py,
def _check_cryptography(cryptography_version):
-@@ -93,7 +90,6 @@ except (AssertionError, ValueError):
- # Attempt to enable urllib3's SNI support, if possible
- try:
- from urllib3.contrib import pyopenssl
-- pyopenssl.inject_into_urllib3()
+@@ -101,7 +98,6 @@ try:
- # Check cryptography version
- from cryptography import __version__ as cryptography_version
+ if not getattr(ssl, "HAS_SNI", False):
+ from urllib3.contrib import pyopenssl
+- pyopenssl.inject_into_urllib3()
+
+ # Check cryptography version
+ from cryptography import __version__ as cryptography_version
Home |
Main Index |
Thread Index |
Old Index