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:           Mon Oct 22 07:55:36 UTC 2018

Modified Files:
        pkgsrc/devel/py-requests: Makefile distinfo
        pkgsrc/devel/py-requests/patches: patch-requests_____init____.py
            patch-setup.py

Log Message:
py-requests: updated to 2.20.0

2.20.0:
Bugfixes
Content-Type header parsing is now case-insensitive (e.g. charset=utf8 v Charset=utf8).
Fixed exception leak where certain redirect urls would raise uncaught urllib3 exceptions.
Requests removes Authorization header from requests redirected from https to http on the same hostname. (CVE-2018-18074)
should_bypass_proxies now handles URIs without hostnames (e.g. files).

Dependencies
Requests now supports urllib3 v1.24.

Deprecations
Requests has officially stopped support for Python 2.6.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/py-requests/distinfo
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
cvs rdiff -u -r1.5 -r1.6 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.39 pkgsrc/devel/py-requests/Makefile:1.40
--- pkgsrc/devel/py-requests/Makefile:1.39      Sat Jun 16 13:08:32 2018
+++ pkgsrc/devel/py-requests/Makefile   Mon Oct 22 07:55:36 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2018/06/16 13:08:32 adam Exp $
+# $NetBSD: Makefile,v 1.40 2018/10/22 07:55:36 adam Exp $
 
-DISTNAME=      requests-2.19.1
+DISTNAME=      requests-2.20.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests/}

Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.31 pkgsrc/devel/py-requests/distinfo:1.32
--- pkgsrc/devel/py-requests/distinfo:1.31      Sat Jun 16 13:08:32 2018
+++ pkgsrc/devel/py-requests/distinfo   Mon Oct 22 07:55:36 2018
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.31 2018/06/16 13:08:32 adam Exp $
+$NetBSD: distinfo,v 1.32 2018/10/22 07:55:36 adam Exp $
 
-SHA1 (requests-2.19.1.tar.gz) = b6e6ed992c86835aa1a7d7a81fec2aee0d385416
-RMD160 (requests-2.19.1.tar.gz) = c61074e9faf32196083c6124c5db5235e7fe6b91
-SHA512 (requests-2.19.1.tar.gz) = deef2662227497b472f6e7eb7f0ee468c772069fc66552f71d80e5a12af62a187f8bc6a8a78531915e824c7f277d0db61c1534c89d13d473f68504f0bd6edf47
-Size (requests-2.19.1.tar.gz) = 131068 bytes
-SHA1 (patch-requests_____init____.py) = ffef725d0d3b1f009e76e252c70260ae74bd1ed7
-SHA1 (patch-setup.py) = fb8c36a7b2508d521388b5ff24626b04b2eca118
+SHA1 (requests-2.20.0.tar.gz) = 814a0954406fa7826f5a237865c8705d7e01edea
+RMD160 (requests-2.20.0.tar.gz) = c1aa0e3e8daaaa9cd6ad717470b84d10d88fba2e
+SHA512 (requests-2.20.0.tar.gz) = d9d44ed56f868484e36686dee7a2507d8fef45f9cbd861971bb2b6956c7aecb20988f4830017f111027b5eebd00541805797820b0a455694fdbd1b5dce8907d2
+Size (requests-2.20.0.tar.gz) = 111179 bytes
+SHA1 (patch-requests_____init____.py) = e704f86809821831071301748bb13e5b1d0e971b
+SHA1 (patch-setup.py) = fa562634ceb651882f8f03756659c64b8e4734b1

Index: pkgsrc/devel/py-requests/patches/patch-requests_____init____.py
diff -u pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.3 pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.4
--- pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.3 Sat Jun 16 13:08:32 2018
+++ pkgsrc/devel/py-requests/patches/patch-requests_____init____.py     Mon Oct 22 07:55:36 2018
@@ -1,4 +1,4 @@
-$NetBSD: patch-requests_____init____.py,v 1.3 2018/06/16 13:08:32 adam Exp $
+$NetBSD: patch-requests_____init____.py,v 1.4 2018/10/22 07:55:36 adam Exp $
 
 * Allow newer py-urllib3 and py-chardet.
 * Add workaround for segfault of security/py-certbot on NetBSD/amd64
@@ -7,13 +7,13 @@ $NetBSD: patch-requests_____init____.py,
 
   This is introduced in https://github.com/shazow/urllib3
 
---- requests/__init__.py.orig  2018-06-12 14:39:23.000000000 +0000
+--- requests/__init__.py.orig  2018-10-18 15:41:45.000000000 +0000
 +++ requests/__init__.py
 @@ -60,15 +60,12 @@ def check_compatibility(urllib3_version,
-     # urllib3 >= 1.21.1, <= 1.23
+     # urllib3 >= 1.21.1, <= 1.24
      assert major == 1
      assert minor >= 21
--    assert minor <= 23
+-    assert minor <= 24
  
      # Check chardet for compatibility.
      major, minor, patch = chardet_version.split('.')[:3]

Index: pkgsrc/devel/py-requests/patches/patch-setup.py
diff -u pkgsrc/devel/py-requests/patches/patch-setup.py:1.5 pkgsrc/devel/py-requests/patches/patch-setup.py:1.6
--- pkgsrc/devel/py-requests/patches/patch-setup.py:1.5 Sat Jun 16 13:08:32 2018
+++ pkgsrc/devel/py-requests/patches/patch-setup.py     Mon Oct 22 07:55:36 2018
@@ -1,24 +1,25 @@
-$NetBSD: patch-setup.py,v 1.5 2018/06/16 13:08:32 adam Exp $
+$NetBSD: patch-setup.py,v 1.6 2018/10/22 07:55:36 adam Exp $
 
 Allow newer versions of dependencies.
 
---- setup.py.orig      2018-06-12 14:39:23.000000000 +0000
+--- setup.py.orig      2018-10-18 15:41:46.000000000 +0000
 +++ setup.py
-@@ -49,13 +49,13 @@ else:
+@@ -42,14 +42,14 @@ if sys.argv[-1] == 'publish':
  packages = ['requests']
  
  requires = [
 -    'chardet>=3.0.2,<3.1.0',
 -    'idna>=2.5,<2.8',
--    'urllib3>=1.21.1,<1.24',
+-    'urllib3>=1.21.1,<1.25',
 +    'chardet>=3.0.2',
 +    'idna>=2.5',
 +    'urllib3>=1.21.1',
      'certifi>=2017.4.17'
  
  ]
--test_requirements = ['pytest-httpbin==0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
-+test_requirements = ['pytest-httpbin>=0.0.7', 'pytest-cov', 'pytest-mock', 'pytest-xdist', 'PySocks>=1.5.6, !=1.5.7', 'pytest>=2.8.0']
- 
- about = {}
- with open(os.path.join(here, 'requests', '__version__.py'), 'r', 'utf-8') as f:
+ test_requirements = [
+-    'pytest-httpbin==0.0.7',
++    'pytest-httpbin>=0.0.7',
+     'pytest-cov',
+     'pytest-mock',
+     'pytest-xdist',



Home | Main Index | Thread Index | Old Index