Your message dated Wed, 02 May 2018 11:09:44 +0000
with message-id <[email protected]>
and subject line Bug#897121: fixed in python-pip 9.0.1-2.3
has caused the Debian Bug report #897121,
regarding virtualenv: ImportError (requests.packages.urllib3.exceptions) when 
creating virtualenv
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.)


-- 
897121: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virtualenv
Version: 15.1.0+ds-1.1
Severity: important

Dear Maintainer,

when creating a virtualenv, the "Installing ..." step fails with the
following error:

    Installing setuptools, pkg_resources, pip, wheel...
      Complete output from command /tmp/testvenv/bin/python2 - setuptools 
pkg_resources pip wheel:
      Traceback (most recent call last):
      File "<stdin>", line 7, in <module>
      File 
"/usr/share/python-wheels/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py", line 
21, in <module>
    ImportError: No module named requests.packages.urllib3.exceptions
    ----------------------------------------
    ...Installing setuptools, pkg_resources, pip, wheel...done.
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/virtualenv.py", line 2375, in 
<module>
        main()
      File "/usr/lib/python3/dist-packages/virtualenv.py", line 724, in main
        symlink=options.symlink)
      File "/usr/lib/python3/dist-packages/virtualenv.py", line 992, in 
create_environment
        download=download,
      File "/usr/lib/python3/dist-packages/virtualenv.py", line 922, in 
install_wheel
        call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
      File "/usr/lib/python3/dist-packages/virtualenv.py", line 817, in 
call_subprocess
        % (cmd_desc, proc.returncode))
    OSError: Command /tmp/testvenv/bin/python2 - setuptools pkg_resources pip 
wheel failed with error code 1

This appears to be an error in vendoring somewhere (pip?). I tried to
pin down the root cause by editing the pip wheel: adding 

    import requests.packages.urllib3.exceptions

into
/usr/share/python-wheels/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py
produces the following error message instead:

    Installing setuptools, pkg_resources, pip, wheel...
      Complete output from command /tmp/testvenv/bin/python2 - setuptools 
pkg_resources pip wheel:
      Traceback (most recent call last):
      File "<stdin>", line 7, in <module>
      File 
"/usr/share/python-wheels/pip-9.0.1-py2.py3-none-any.whl/pip/__init__.py", line 
21, in <module>
      File 
"/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/__init__.py",
 line 97, in <module>
      File 
"/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/utils.py",
 line 24, in <module>
      File 
"/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/certs.py",
 line 15, in <module>
    ImportError: No module named certifi

So the cause appears to be a missing wheel for python-certifi?

Thanks,
Alexander

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages virtualenv depends on:
ii  python3             3.6.5-3
ii  python3-virtualenv  15.1.0+ds-1.1

virtualenv recommends no packages.

virtualenv suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-pip
Source-Version: 9.0.1-2.3

We believe that the bug you reported is fixed in the latest version of
python-pip, 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.
Matthias Klose <[email protected]> (supplier of updated python-pip 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: SHA256

Format: 1.8
Date: Wed, 02 May 2018 12:35:24 +0200
Source: python-pip
Binary: python-pip python3-pip python-pip-whl
Architecture: source
Version: 9.0.1-2.3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Matthias Klose <[email protected]>
Description:
 python-pip - Python package installer
 python-pip-whl - Python package installer
 python3-pip - Python package installer
Closes: 896998 897121
Changes:
 python-pip (9.0.1-2.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Build-depend on python3-idna. Closes: #897121, #896998.
   * debian/pip.dependencies: Add idna.
   * debian/rules: run dirtbike for idna.
Checksums-Sha1:
 bd701c4faa69a81e99d41321ec655a36ab95568f 2768 python-pip_9.0.1-2.3.dsc
 d31fe9ef9e963fa9ed133b30e6a140212e017c34 18132 
python-pip_9.0.1-2.3.debian.tar.xz
 d6006ff62ce76c4345544d0c5e00eb87a6274d3e 7680 
python-pip_9.0.1-2.3_source.buildinfo
Checksums-Sha256:
 fac07b795162dd85e58ff3792c204609cd5e15d302311e5ddf5900374c94f411 2768 
python-pip_9.0.1-2.3.dsc
 c8080e4e5e8fb09cc7894ddcb4a14b2c941726771c8eaa5b0b1bc453853caa73 18132 
python-pip_9.0.1-2.3.debian.tar.xz
 6e29ea550a9a7ed0be16a6e6ec4cd8c59c204a475560fb997c0bb941402d20b8 7680 
python-pip_9.0.1-2.3_source.buildinfo
Files:
 0b7f29c8e82fa8562a5daaba507a7200 2768 python optional python-pip_9.0.1-2.3.dsc
 3ba9dcad5cd19bb849ca260dbd99d27e 18132 python optional 
python-pip_9.0.1-2.3.debian.tar.xz
 7e1adf5d238e0a54acd050c916125128 7680 python optional 
python-pip_9.0.1-2.3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlrpleoQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9Q8LD/9gWynoqLjFCuck4cnTq7eF2QM42KNLb/o9
jdxRZGZqZ0yBo006CcEbI3OCZFOiA5jvWbc0GkvFPjZ6XYtffi2IxcyIYcls+yyb
fdJifmH8GxxZHxGMj3DXqPtXikQr9Kh0imhtZRD50vX55qu0L+DI6QUo1LeDGmJv
8CegxHSQkHrxMcQKiQeMhPdqUdDhBWEf2tVU56keYFXC0RqLW8vq771wVcJnecwd
WM7BZBaQHzq4uPOx+OS24ktDceEo9IdsTYilma9dkae0hNX+UMYFJtAFQeh8fePX
ri9eITLWRpSBIwGG/Mtx0fJQ7C/k0dtji7EqUnSdDvMzL2VMkRmbd91hv5dvXw2Z
AXrmkkH3VoV6vGiNd7bXZVPL2UE1VmRVNg5Rs3n4oHZzyrejjghzODMt03s0GzMg
b5zLYH663QhrxZMUSowbhJBplrt/NErFDlpXCXMaBzfQ0qaNFOQY3pXCX7R9G/zj
b5zZO+ahnFqKG29EifvRMbzZ9nATyM0aPtjpS61UwUSYhFeKWXRuYGSw33SGtaPN
M0Gzwe8RAc8dORIkzGG3a4MBI+UGttQOLV/MgQ514Uz0bFI6WvqfVMsEcMtvEtP/
EqdDUlI/9hWIXxnXQFq6BIlxdQGoU/6rj7k6utut5coain6739CpUrMSa2pqVb8Y
lILoUMxvjA==
=5A/q
-----END PGP SIGNATURE-----

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

Reply via email to