Your message dated Sun, 23 Jun 2013 06:47:58 +0000
with message-id <[email protected]>
and subject line Bug#712915: fixed in requests 1.2.3-1
has caused the Debian Bug report #712915,
regarding python-requests: adapters.py uses undefined name ProxyManager
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
712915: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712915
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-requests
Version: 1.2.0-2
Severity: important

Dear Maintainer,
As first reported in Ubuntu bug 1187429 [1], requests is simply broken if
the user's environment contains 'http_proxy'.  This fails recreates in both
python and python3.

 [1] https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1187429

 $ echo "import sys, requests" > recreate.py
 $ echo "print(requests.get(sys.argv[1]).status_code)" >> recreate.py
 $ python recreate.py http://debian.org
 $ env -u http_proxy python recreate.py
 200
 $ env http_proxy=http://example.com/ python recreate.py http://debian.org
 Traceback (most recent call last):
   File "recreate.py", line 2, in <module>
     print(requests.get(sys.argv[1]).status_code)
   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 55, in get
     return request('get', url, **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/api.py", line 44, in request
     return session.request(method=method, url=url, **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 354, in 
request
     resp = self.send(prep, **send_kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 460, in 
send
     r = adapter.send(request, **kwargs)
   File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 191, in 
send
     conn = self.get_connection(request.url, proxies)
   File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 140, in 
get_connection
     conn = ProxyManager(self.poolmanager.connection_from_url(proxy))
 NameError: global name 'ProxyManager' is not defined

This was upstream fixed at 
https://github.com/kennethreitz/requests/commit/5152c98223d46c76cb7e88cb833b0087daf83d54
reported at https://github.com/kennethreitz/requests/issues/1017 .

It seems as simple as adding ProxyManager to the imports in adapters.py

-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), 
(100, 'saucy-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-requests depends on:
ii  ca-certificates  20130610
ii  python           2.7.5-1ubuntu1
ii  python-chardet   2.0.1-2build1
ii  python-urllib3   1.6-2

python-requests recommends no packages.

python-requests suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: requests
Source-Version: 1.2.3-1

We believe that the bug you reported is fixed in the latest version of
requests, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniele Tricoli <[email protected]> (supplier of updated requests package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 21 Jun 2013 08:52:39 +0200
Source: requests
Binary: python-requests python3-requests
Architecture: source all
Version: 1.2.3-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Daniele Tricoli <[email protected]>
Description: 
 python-requests - elegant and simple HTTP library for Python, built for human 
being
 python3-requests - elegant and simple HTTP library for Python3, built for 
human bein
Closes: 712915
Changes: 
 requests (1.2.3-1) unstable; urgency=low
 .
   * New upstream release (Closes: #712915) (LP: #1187429)
     - Thanks to Scott Moser for the report
   * debian/compat
     - Bumped debhelper compatibility level to 9
   * debian/control
     - Bumped debhelper B-D to (>= 9)
     - Temporarily bumped X-Python-Version to >= 2.7 to prevent FTBFS
       due to lack of python-urllib3 for Python 2.6
   * debian/patches/02_use-system-chardet-and-urllib3.patches
     - Refreshed
Checksums-Sha1: 
 72a11ac63a19b21bafadd5025e4e5dc4de2c4491 2135 requests_1.2.3-1.dsc
 e65c17754cccae134bae35005993894605760874 348854 requests_1.2.3.orig.tar.gz
 adf3c6966c76b22f403bde1f49eda85a0c84bf72 6729 requests_1.2.3-1.debian.tar.gz
 9e5e328ddeeeb64bd305a9da20c265b2069dabc1 164938 python-requests_1.2.3-1_all.deb
 1df10df7d8a0dada3e4e2f7ceeae7a757dcc051d 48850 python3-requests_1.2.3-1_all.deb
Checksums-Sha256: 
 4ba498cdc0062375f557c16b668e563f30e136813a0f86b1b3c61bb3c68e3e5a 2135 
requests_1.2.3-1.dsc
 156bf3ec27ba9ec7e0cf8fbe02808718099d218de403eb64a714d73ba1a29ab1 348854 
requests_1.2.3.orig.tar.gz
 f0006c6a559d31d8ba02418c14d138224156b46804a7b06fa5338b373f521831 6729 
requests_1.2.3-1.debian.tar.gz
 618d03981bc546505861dac066dc0fb62f323ad02cf80215cf58220b8cac73b3 164938 
python-requests_1.2.3-1_all.deb
 5d09f5443fa8d26f81110eabd9d93584a7dc886f461afd6655d445bb28d90b75 48850 
python3-requests_1.2.3-1_all.deb
Files: 
 e01f6fbe4fad455865fd6d2a2a9df103 2135 python optional requests_1.2.3-1.dsc
 adbd3f18445f7fe5e77f65c502e264fb 348854 python optional 
requests_1.2.3.orig.tar.gz
 cbd3dcaf9c16bd49800b5c29ce3b8aed 6729 python optional 
requests_1.2.3-1.debian.tar.gz
 87db9bdad9fe2d8a0e47d8bf87a71f74 164938 python optional 
python-requests_1.2.3-1_all.deb
 6e5e3ebdca2cf02a7984ae37f7057db2 48850 python optional 
python3-requests_1.2.3-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJRxpafAAoJEK728aKnRXZF4dQP+gI48R6/kSDh6jr9CTUOs9vc
axFKsz4EiHHEAPQ0mo0cnTyiUysOmMYYZC29quspIDSpaDC1l2huBkkQ4/SuXw3x
4aknQ9t8l0wYzNiSMJt+F2Z9F+4tFfmE8ccS4jjT/4YGVtrK/aOpgbPokM0oOnIN
8gu3uiMw/3BRz4SN3fMDNSsaOJlnCvBHW4As0moDu7TIeyiR/aSlUXdkgIJMWpuS
9jtIqRLFBkNptMhczXcQbYE2FbNLR0ve7epAZJ3dAyT341VW4MGBBkGHLhfCx8Gx
hu2nE1dyuQl5YbPL1vE6CSheCLQCK4gL6pKEZZZ9oilFK90PPdaMLJaZOTKCBrhg
wiuupxou4+I4deIB2vKsgMYQTm0JUx/FcUQUfWaW8gI5dqDrZhWhbXTuzK9xxoZy
63egt7/YkDQFm0UpafPRsjUhBZQMXEjnuEkGW90nGJdOpITP0q4hb75Ec+ZetIZD
0XDpgseKM0FG00xzzqJ43xITafsLzUkYXfRA8a5ItJ1xeAXAHRwO07IOV7sPQg0L
FuD3TKLgm1JlTufH5B2GC82r6TSGIWTtAFRoowCV+qFjAl0FFKY+2qkgQUrVF4qB
ZeCCjRqG8cA5H2LNEtKj7XZp33e+N9LsFJK/olvXNV7DW1B3/Z4TlgdzBxeLhVSt
x2jFEuRdr1fHAmkUsXVQ
=Wls4
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to