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:   fhajny
Date:           Fri Nov 11 09:27:21 UTC 2016

Modified Files:
        pkgsrc/devel/py-requests: Makefile distinfo

Log Message:
Update devel/py-requests to 2.11.1.

2.11.1

Bugfixes

- Fixed a bug when using ``iter_content`` with ``decode_unicode=True``
  for streamed bodies would raise ``AttributeError``. This bug was
  introduced in 2.11.
- Strip Content-Type and Transfer-Encoding headers from the header block
  when following a redirect that transforms the verb from POST/PUT to GET.

2.11.0

Improvements

- Added support for the ``ALL_PROXY`` environment variable.
- Reject header values that contain leading whitespace or newline
  characters to reduce risk of header smuggling.

Bugfixes

- Fixed occasional ``TypeError`` when attempting to decode a JSON
  response that occurred in an error case. Now correctly returns
  a ``ValueError``.
- Requests would incorrectly ignore a non-CIDR IP address in the
  ``NO_PROXY`` environment variables: Requests now treats it as
  a specific IP.
- Fixed a bug when sending JSON data that could cause us to encounter
  obscure OpenSSL errors in certain network conditions (yes, really).
- Added type checks to ensure that ``iter_content`` only accepts
  integers and ``None`` for chunk sizes.
- Fixed issue where responses whose body had not been fully consumed
  would have the underlying connection closed but not returned to
  the connection pool, which could cause Requests to hang in situations
  where the ``HTTPAdapter`` had been configured to use a blocking
  connection pool.

Miscellaneous

- Updated bundled urllib3 to 1.16.
- Some previous releases accidentally accepted non-strings as acceptable
  header values. This release does not.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-requests/Makefile
cvs rdiff -u -r1.15 -r1.16 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.22 pkgsrc/devel/py-requests/Makefile:1.23
--- pkgsrc/devel/py-requests/Makefile:1.22      Wed Jun  8 17:49:19 2016
+++ pkgsrc/devel/py-requests/Makefile   Fri Nov 11 09:27:21 2016
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2016/06/08 17:49:19 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2016/11/11 09:27:21 fhajny Exp $
 
-DISTNAME=      requests-2.10.0
+DISTNAME=      requests-2.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/requests/}

Index: pkgsrc/devel/py-requests/distinfo
diff -u pkgsrc/devel/py-requests/distinfo:1.15 pkgsrc/devel/py-requests/distinfo:1.16
--- pkgsrc/devel/py-requests/distinfo:1.15      Thu May  5 11:47:45 2016
+++ pkgsrc/devel/py-requests/distinfo   Fri Nov 11 09:27:21 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2016/05/05 11:47:45 wiz Exp $
+$NetBSD: distinfo,v 1.16 2016/11/11 09:27:21 fhajny Exp $
 
-SHA1 (requests-2.10.0.tar.gz) = 1b9a2395402692262fc61fa15bedbc3e112b1029
-RMD160 (requests-2.10.0.tar.gz) = 60d1a1fbe79798ef86407a194289c8e483f0f97e
-SHA512 (requests-2.10.0.tar.gz) = 05c6a1a742d31511ca4d3f39534e3e081cce0864c3a8a08480a95fb6e28f0309a4b1a571b8c3987bac98ba177e9bc06862f219c53a1805c163d10d24c1328b46
-Size (requests-2.10.0.tar.gz) = 477617 bytes
+SHA1 (requests-2.11.1.tar.gz) = 7083e52275a9bcc02757e8b53c0be07cb73149a1
+RMD160 (requests-2.11.1.tar.gz) = 0a396b2723b649d3ecf2a01d7b8a2ec57eef07d0
+SHA512 (requests-2.11.1.tar.gz) = 135cbab1e279ebf314bffca01bc4d9f9e71963c67069e330e78fbe06c4294031d1d616bc5d5e104161c8696b408887053bdd65351f85e9ff34646368c88852e5
+Size (requests-2.11.1.tar.gz) = 485936 bytes



Home | Main Index | Thread Index | Old Index