-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Installing six<1.10 breaks fresh virtualenv #1009
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
Comments
There was a recent commit to setuptools which requires >=1.10.0 (line 167). This was part of the 34.0.2 release which came out just two days ago. |
(minor correction: the first release with this change was 34.0.0 (released on Jan 23)) |
This is no longer an issue after setuptools re-vendored dependencies -- closing. |
cathay4t
added a commit
to cathay4t/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
cathay4t
added a commit
to cathay4t/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
cathay4t
added a commit
to cathay4t/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
cathay4t
added a commit
to cathay4t/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
EdDev
pushed a commit
to cathay4t/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
EdDev
pushed a commit
to nmstate/nmstate
that referenced
this issue
Feb 11, 2020
The CentOS 8 tox is using latest virtualenv which is not compatible with pip installed python3-six(when intalling pytest) due to pypa/virtualenv#1009 issue. The `VIRTUALENV_NO_DOWNLOAD=1` environment variable will stop virtualenv doing so. Use dnf to install pytest from AppStream and pytest-cov from EPEL8 and fixed the tox version to 3.5.3 using pip3. Since we are using site packages in tox unit test, there is no need for rpms from "Development Tools" group. Signed-off-by: Gris Ge <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I wasn't sure which project to make this ticket on since it involves a combination of pip / setuptools / virtualenv to reproduce.
A downgrading of six in a fresh virtualenv makes it impossible to install packages from source.
First create a fresh virtualenv (I'm using 15.0.1):
This goes out to pypi and downloads the latest versions of pip / setuptools / wheel / etc. In this case bringing in the new setuptools==34.x
Next, downgrade six in this virtualenv
Now pip cannot install from source distributions:
Although this bug report seems a little contrived, it's the simplest case. This is breaking actual builds with much more complicated setups.
A "fix" to escape the breaking is to either downgrade setuptools or restore the version of six again (luckily six provides a wheel!).
The text was updated successfully, but these errors were encountered: