Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20.0.19 does not install pip on Python 3.4 #1809

Closed
andy-maier opened this issue May 4, 2020 · 3 comments · Fixed by #1814
Closed

20.0.19 does not install pip on Python 3.4 #1809

andy-maier opened this issue May 4, 2020 · 3 comments · Fixed by #1814
Labels

Comments

@andy-maier
Copy link

@andy-maier andy-maier commented May 4, 2020

Issue

In Travis with Python 3.4, virtualenv 20.0.19 does not seem to install a pip into a newly created virtualenv when creating it while a virtualenv is already acrive. "which pip" returns the pip from the first virtualenv after the new one is created and active. It fails only on Python 3.4 (the errors with pypy in the Travis logs below have a different cause). virtualenv before 20.0.19 does not have that behavior and succeeds on Python 3.4.

Version and location of Python and Pip after having activated the second virtualenv: Note that Python is shown to come from the correct second virtualenv while Pip is shown to come from the incorrect first virtualenv that Travis had set up:

  • Python version: Python 3.4.8 from /home/travis/build/pywbem/pywbem/tmp_installtest/virtualenvs/pywbem_test_test1/bin/python
  • Pip version: pip 19.1.1 from /home/travis/virtualenv/python3.4.8/lib/python3.4/site-packages/pip (python 3.4)

To see this in the Travis logs, search for "Creating virtualenv:" case sensitively (around line 2500):

Environment

Provide at least:

  • OS: MacOS 10.14.6
  • pip list of the host python where virtualenv is installed:
    see Travis logs

Output of the virtual environment creation

Make sure to run the creation with -vvv --with-traceback:

see Travis logs

@gaborbernat
Copy link
Contributor

@gaborbernat gaborbernat commented May 4, 2020

Hello, this now has been released via https://pypi.org/project/virtualenv/20.0.20/

heads up

@andy-maier
Copy link
Author

@andy-maier andy-maier commented May 4, 2020

Wow. Super fast! Thanks!!

@andy-maier
Copy link
Author

@andy-maier andy-maier commented May 4, 2020

I verified that it works again with virtualenv 20.0.20.
See Travis log for Python 3.4 job in this build: https://travis-ci.org/github/pywbem/pywbem/builds/682843614

@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants