
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Virtualenv corrupts `dist-info` during embedded downgrade overlaying existing venv Β· Issue #2185 Β· pypa/virtualenv
Description:
Scenario: Virtualenv carries outdated embedded setuptools (or any other internal essential). Rollout virtualenv. Activate rolled out venv. Upgrade setuptools with pip. Deactivate venv. Rollout virtualenv again on top of the existing venv...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Mobile Technology & AI
- Video & Online Content
- Automotive
Content Management System {π}
What CMS is github.com built with?
Github.com is powered by WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,653,586 visitors per month in the current month.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 5,316,011 paying customers.
The estimated monthly recurring revenue (MRR) is $22,327,244.
The estimated annual recurring revenues (ARR) are $267,926,929.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
username, debug, sep, virtualenv, drwxrxrx, setuptools, pip, pyenvcfg, filelock, wheel, lock, info, sync, copy, arcivanov, rwrr, gaborbernat, attempting, homeusernamepyenvversions, present, pyb, usernamehostname, pybuilder, directory, distinfo, added, commented, contributor, viadiskfolder, venv, issue, install, requirement, satisfied, packages, version, homeusernamesrcpybuildertestenvbinpython, embed, update, distribution, seeding, versions, wheels, existing, homeusernamepyenvversionsenvspyblibpythonsitepackages, testenv, environment, setuptoolsdistinfo, released, session,
Topics {βοΈ}
/home/username/src/pybuilder/test-env/bin/python /home/username/ /home/username/src/pybuilder/test-env/bin/python [debug _sync '/home/username/src/pybuilder/test-env/bin/python /home/username/src/pybuilder/test-env/bin/python /home/username/src/pybuilder/test-env/lib/python3 dest=/home/username/src/pybuilder/test-env /home/username/src/pybuilder/test-env /test-env/lib/python3 9/site-packages/virtualenv/seed/wheels/embed/wheel-0 local/share/virtualenv/wheel/house/pip-21 9/site-packages/virtualenv/seed/wheels/embed/setuptools-57 9/site-packages/virtualenv/create/debug local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3 9/site-packages/_distutils_hack [debug _sync seeding remove dist-info 9/site-packages/wheel [debug _sync 9/site-packages/pkg_resources [debug _sync 9/site-packages/pip [debug _sync dist-info [debug _sync 9/site-packages/setuptools [debug _sync open source project io/en/latest/changelog case-sensitive [debug info test-env local/share/virtualenv/wheel/3 9-x86_64-linux-gnu/makefile cpython-39-x86_64-linux-gnu system=/home/username/ python [info session 9/site-packages/distutils-precedence virtualenv [debug _sync pth [debug _sync local/share/virtualenv wheel /home/username/ added seed packages app_data_dir=/home/username/ exe=/home/username/ path=/home/username/ 7/bin/python 9/site-packages/wheel-0 pth [debug api 9/site-packages/pip-21 python info successfully uninstalled virtualenv-20 virtualenv drwxr-xr pth drwxr-xr 7/lib/python3 installing collected packages 7/bin/python3 dist-info
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Is there a staffing shortage or just low priority?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Virtualenv corrupts `dist-info` during embedded downgrade overlaying existing venv
articleBody:Scenario:
1. Virtualenv carries outdated embedded setuptools (or any other internal essential).
2. Rollout virtualenv.
3. Activate rolled out venv.
4. Upgrade setuptools with pip.
5. Deactivate venv.
6. Rollout virtualenv again on top of the existing venv.
7. Observe multiple `dist-info` directories present for incorrectly downgraded tool, resulting in venv corruption.
Example - always reproducible:
```console
(pyb-3.9.7) [username@hostname pybuilder]$ pip install virtualenv\<20.8
Collecting virtualenv<20.8
Using cached virtualenv-20.7.2-py2.py3-none-any.whl (5.3 MB)
Requirement already satisfied: distlib<1,>=0.3.1 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (0.3.2)
Requirement already satisfied: backports.entry-points-selectable>=1.0.4 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (1.1.0)
Requirement already satisfied: platformdirs<3,>=2 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (2.3.0)
Requirement already satisfied: six<2,>=1.9.0 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (1.16.0)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (3.0.12)
Installing collected packages: virtualenv
Attempting uninstall: virtualenv
Found existing installation: virtualenv 20.8.0
Uninstalling virtualenv-20.8.0:
Successfully uninstalled virtualenv-20.8.0
Successfully installed virtualenv-20.7.2
(pyb-3.9.7) [username@hostname pybuilder]$ virtualenv test-env
created virtual environment CPython3.9.7.final.0-64 in 113ms
creator CPython3Posix(dest=/home/username/src/pybuilder/test-env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/username/.local/share/virtualenv)
added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.37.0
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
(pyb-3.9.7) [username@hostname pybuilder]$ source test-env/bin/activate
(test-env) (pyb-3.9.7) [username@hostname pybuilder]$ pip install -U setuptools
Requirement already satisfied: setuptools in ./test-env/lib/python3.9/site-packages (57.4.0)
Collecting setuptools
Using cached setuptools-58.0.4-py3-none-any.whl (816 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 57.4.0
Uninstalling setuptools-57.4.0:
Successfully uninstalled setuptools-57.4.0
Successfully installed setuptools-58.0.4
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the '/home/username/src/pybuilder/test-env/bin/python -m pip install --upgrade pip' command.
(test-env) (pyb-3.9.7) [username@hostname pybuilder]$ deactivate
(pyb-3.9.7) [username@hostname pybuilder]$ ls -la test-env/lib/python3.9/site-packages/
total 24
drwxr-xr-x 11 username username 4096 Sep 16 13:34 .
drwxr-xr-x 3 username username 27 Sep 16 13:34 ..
drwxr-xr-x 3 username username 63 Sep 16 13:34 _distutils_hack
-rw-r--r-- 1 username username 152 Sep 16 13:34 distutils-precedence.pth
drwxr-xr-x 5 username username 111 Sep 16 13:34 pip
drwxr-xr-x 2 username username 130 Sep 16 13:34 pip-21.2.3.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:34 pip-21.2.3.virtualenv
drwxr-xr-x 6 username username 86 Sep 16 13:34 pkg_resources
drwxr-xr-x 2 username username 40 Sep 16 13:34 __pycache__
drwxr-xr-x 7 username username 4096 Sep 16 13:34 setuptools
drwxr-xr-x 2 username username 143 Sep 16 13:34 setuptools-58.0.4.dist-info
-rw-r--r-- 1 username username 18 Sep 16 13:34 _virtualenv.pth
-rw-r--r-- 1 username username 5662 Sep 16 13:34 _virtualenv.py
drwxr-xr-x 4 username username 190 Sep 16 13:34 wheel
drwxr-xr-x 2 username username 130 Sep 16 13:34 wheel-0.37.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:34 wheel-0.37.0.virtualenv
(pyb-3.9.7) [username@hostname pybuilder]$ virtualenv test-env
created virtual environment CPython3.9.7.final.0-64 in 128ms
creator CPython3Posix(dest=/home/username/src/pybuilder/test-env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/username/.local/share/virtualenv)
added seed packages: pip==21.2.3, setuptools==57.4.0, setuptools==58.0.4, wheel==0.37.0
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
(pyb-3.9.7) [username@hostname pybuilder]$ ls -la test-env/lib/python3.9/site-packages/
total 24
drwxr-xr-x 12 username username 4096 Sep 16 13:35 .
drwxr-xr-x 3 username username 27 Sep 16 13:34 ..
drwxr-xr-x 2 username username 44 Sep 16 13:35 _distutils_hack
-rw-r--r-- 1 username username 152 Sep 16 13:35 distutils-precedence.pth
drwxr-xr-x 4 username username 92 Sep 16 13:35 pip
drwxr-xr-x 2 username username 130 Sep 16 13:35 pip-21.2.3.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 pip-21.2.3.virtualenv
drwxr-xr-x 5 username username 67 Sep 16 13:35 pkg_resources
drwxr-xr-x 2 username username 40 Sep 16 13:34 __pycache__
******** <=======================
drwxr-xr-x 6 username username 4096 Sep 16 13:35 setuptools
drwxr-xr-x 2 username username 126 Sep 16 13:35 setuptools-57.4.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 setuptools-57.4.0.virtualenv
drwxr-xr-x 2 username username 143 Sep 16 13:34 setuptools-58.0.4.dist-info
*********
-rw-r--r-- 1 username username 18 Sep 16 13:35 _virtualenv.pth
-rw-r--r-- 1 username username 5662 Sep 16 13:35 _virtualenv.py
drwxr-xr-x 4 username username 190 Sep 16 13:35 wheel
drwxr-xr-x 2 username username 130 Sep 16 13:35 wheel-0.37.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 wheel-0.37.0.virtualenv
```
This environment is now broken producing pybuilder/pybuilder#795 due to `setuptools-57.4.0.dist-info` and `setuptools-58.0.4.dist-info` being present.
author:
url:https://github.com/arcivanov
type:Person
name:arcivanov
datePublished:2021-09-16T17:45:15.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/2185/virtualenv/issues/2185
context:https://schema.org
headline:Virtualenv corrupts `dist-info` during embedded downgrade overlaying existing venv
articleBody:Scenario:
1. Virtualenv carries outdated embedded setuptools (or any other internal essential).
2. Rollout virtualenv.
3. Activate rolled out venv.
4. Upgrade setuptools with pip.
5. Deactivate venv.
6. Rollout virtualenv again on top of the existing venv.
7. Observe multiple `dist-info` directories present for incorrectly downgraded tool, resulting in venv corruption.
Example - always reproducible:
```console
(pyb-3.9.7) [username@hostname pybuilder]$ pip install virtualenv\<20.8
Collecting virtualenv<20.8
Using cached virtualenv-20.7.2-py2.py3-none-any.whl (5.3 MB)
Requirement already satisfied: distlib<1,>=0.3.1 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (0.3.2)
Requirement already satisfied: backports.entry-points-selectable>=1.0.4 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (1.1.0)
Requirement already satisfied: platformdirs<3,>=2 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (2.3.0)
Requirement already satisfied: six<2,>=1.9.0 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (1.16.0)
Requirement already satisfied: filelock<4,>=3.0.0 in /home/username/.pyenv/versions/3.9.7/envs/pyb-3.9.7/lib/python3.9/site-packages (from virtualenv<20.8) (3.0.12)
Installing collected packages: virtualenv
Attempting uninstall: virtualenv
Found existing installation: virtualenv 20.8.0
Uninstalling virtualenv-20.8.0:
Successfully uninstalled virtualenv-20.8.0
Successfully installed virtualenv-20.7.2
(pyb-3.9.7) [username@hostname pybuilder]$ virtualenv test-env
created virtual environment CPython3.9.7.final.0-64 in 113ms
creator CPython3Posix(dest=/home/username/src/pybuilder/test-env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/username/.local/share/virtualenv)
added seed packages: pip==21.2.3, setuptools==57.4.0, wheel==0.37.0
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
(pyb-3.9.7) [username@hostname pybuilder]$ source test-env/bin/activate
(test-env) (pyb-3.9.7) [username@hostname pybuilder]$ pip install -U setuptools
Requirement already satisfied: setuptools in ./test-env/lib/python3.9/site-packages (57.4.0)
Collecting setuptools
Using cached setuptools-58.0.4-py3-none-any.whl (816 kB)
Installing collected packages: setuptools
Attempting uninstall: setuptools
Found existing installation: setuptools 57.4.0
Uninstalling setuptools-57.4.0:
Successfully uninstalled setuptools-57.4.0
Successfully installed setuptools-58.0.4
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the '/home/username/src/pybuilder/test-env/bin/python -m pip install --upgrade pip' command.
(test-env) (pyb-3.9.7) [username@hostname pybuilder]$ deactivate
(pyb-3.9.7) [username@hostname pybuilder]$ ls -la test-env/lib/python3.9/site-packages/
total 24
drwxr-xr-x 11 username username 4096 Sep 16 13:34 .
drwxr-xr-x 3 username username 27 Sep 16 13:34 ..
drwxr-xr-x 3 username username 63 Sep 16 13:34 _distutils_hack
-rw-r--r-- 1 username username 152 Sep 16 13:34 distutils-precedence.pth
drwxr-xr-x 5 username username 111 Sep 16 13:34 pip
drwxr-xr-x 2 username username 130 Sep 16 13:34 pip-21.2.3.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:34 pip-21.2.3.virtualenv
drwxr-xr-x 6 username username 86 Sep 16 13:34 pkg_resources
drwxr-xr-x 2 username username 40 Sep 16 13:34 __pycache__
drwxr-xr-x 7 username username 4096 Sep 16 13:34 setuptools
drwxr-xr-x 2 username username 143 Sep 16 13:34 setuptools-58.0.4.dist-info
-rw-r--r-- 1 username username 18 Sep 16 13:34 _virtualenv.pth
-rw-r--r-- 1 username username 5662 Sep 16 13:34 _virtualenv.py
drwxr-xr-x 4 username username 190 Sep 16 13:34 wheel
drwxr-xr-x 2 username username 130 Sep 16 13:34 wheel-0.37.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:34 wheel-0.37.0.virtualenv
(pyb-3.9.7) [username@hostname pybuilder]$ virtualenv test-env
created virtual environment CPython3.9.7.final.0-64 in 128ms
creator CPython3Posix(dest=/home/username/src/pybuilder/test-env, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/username/.local/share/virtualenv)
added seed packages: pip==21.2.3, setuptools==57.4.0, setuptools==58.0.4, wheel==0.37.0
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator
(pyb-3.9.7) [username@hostname pybuilder]$ ls -la test-env/lib/python3.9/site-packages/
total 24
drwxr-xr-x 12 username username 4096 Sep 16 13:35 .
drwxr-xr-x 3 username username 27 Sep 16 13:34 ..
drwxr-xr-x 2 username username 44 Sep 16 13:35 _distutils_hack
-rw-r--r-- 1 username username 152 Sep 16 13:35 distutils-precedence.pth
drwxr-xr-x 4 username username 92 Sep 16 13:35 pip
drwxr-xr-x 2 username username 130 Sep 16 13:35 pip-21.2.3.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 pip-21.2.3.virtualenv
drwxr-xr-x 5 username username 67 Sep 16 13:35 pkg_resources
drwxr-xr-x 2 username username 40 Sep 16 13:34 __pycache__
******** <=======================
drwxr-xr-x 6 username username 4096 Sep 16 13:35 setuptools
drwxr-xr-x 2 username username 126 Sep 16 13:35 setuptools-57.4.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 setuptools-57.4.0.virtualenv
drwxr-xr-x 2 username username 143 Sep 16 13:34 setuptools-58.0.4.dist-info
*********
-rw-r--r-- 1 username username 18 Sep 16 13:35 _virtualenv.pth
-rw-r--r-- 1 username username 5662 Sep 16 13:35 _virtualenv.py
drwxr-xr-x 4 username username 190 Sep 16 13:35 wheel
drwxr-xr-x 2 username username 130 Sep 16 13:35 wheel-0.37.0.dist-info
-rw-r--r-- 1 username username 0 Sep 16 13:35 wheel-0.37.0.virtualenv
```
This environment is now broken producing pybuilder/pybuilder#795 due to `setuptools-57.4.0.dist-info` and `setuptools-58.0.4.dist-info` being present.
author:
url:https://github.com/arcivanov
type:Person
name:arcivanov
datePublished:2021-09-16T17:45:15.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:7
url:https://github.com/2185/virtualenv/issues/2185
Person:
url:https://github.com/arcivanov
name:arcivanov
url:https://github.com/arcivanov
name:arcivanov
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:7
interactionType:https://schema.org/CommentAction
userInteractionCount:7
External Links {π}(3)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net