-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Virtualenv corrupts dist-info
during embedded downgrade overlaying existing venv
#2185
Comments
$ virtualenv -vvv --with-traceback test-env
111 setup logging to NOTSET [DEBUG report:43]
120 find interpreter for spec PythonSpec(path=/home/username/.pyenv/versions/pyb-3.9.7/bin/python) [INFO builtin:62]
120 discover exe for PythonInfo(spec=CPython3.9.7.final.0-64, exe=/home/username/.pyenv/versions/pyb-3.9.7/bin/python, platform=linux, version='3.9.7 (default, Aug 31 2021, 15:30:43) \n[GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]', encoding_fs_io=utf-8-utf-8) in /home/username/.pyenv/versions/3.9.7 [DEBUG py_info:389]
120 filesystem is case-sensitive [DEBUG info:28]
121 Attempting to acquire lock 139925606013152 on /home/username/.local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3.lock [DEBUG filelock:270]
121 Lock 139925606013152 acquired on /home/username/.local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3.lock [INFO filelock:274]
121 got python info of /home/username/.pyenv/versions/3.9.7/bin/python3.9 from /home/username/.local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3.json [DEBUG via_disk_folder:135]
122 Attempting to release lock 139925606013152 on /home/username/.local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3.lock [DEBUG filelock:315]
122 Lock 139925606013152 released on /home/username/.local/share/virtualenv/py_info/1/57838396cefc4382825b151b3bf88f470d177753880377de6cba0503e39937b3.lock [INFO filelock:318]
122 proposed PythonInfo(spec=CPython3.9.7.final.0-64, system=/home/username/.pyenv/versions/3.9.7/bin/python3.9, exe=/home/username/.pyenv/versions/pyb-3.9.7/bin/python, platform=linux, version='3.9.7 (default, Aug 31 2021, 15:30:43) \n[GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]', encoding_fs_io=utf-8-utf-8) [INFO builtin:69]
122 accepted PythonInfo(spec=CPython3.9.7.final.0-64, system=/home/username/.pyenv/versions/3.9.7/bin/python3.9, exe=/home/username/.pyenv/versions/pyb-3.9.7/bin/python, platform=linux, version='3.9.7 (default, Aug 31 2021, 15:30:43) \n[GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]', encoding_fs_io=utf-8-utf-8) [DEBUG builtin:71]
151 create virtual environment via CPython3Posix(dest=/home/username/src/pybuilder/test-env, clear=False, no_vcs_ignore=False, global=False) [INFO session:52]
152 write /home/username/src/pybuilder/test-env/pyvenv.cfg [DEBUG pyenv_cfg:34]
152 home = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
152 implementation = CPython [DEBUG pyenv_cfg:38]
152 version_info = 3.9.7.final.0 [DEBUG pyenv_cfg:38]
152 virtualenv = 20.7.2 [DEBUG pyenv_cfg:38]
152 include-system-site-packages = false [DEBUG pyenv_cfg:38]
152 base-prefix = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
152 base-exec-prefix = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
152 base-executable = /home/username/.pyenv/versions/3.9.7/bin/python3.9 [DEBUG pyenv_cfg:38]
152 remove file /home/username/src/pybuilder/test-env/bin/python [DEBUG _sync:38]
152 symlink /home/username/.pyenv/versions/3.9.7/bin/python3.9 to /home/username/src/pybuilder/test-env/bin/python [DEBUG _sync:44]
152 create virtualenv import hook file /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/_virtualenv.pth [DEBUG api:95]
153 create /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/_virtualenv.py [DEBUG api:98]
153 ============================== target debug ============================== [DEBUG session:54]
153 debug via /home/username/src/pybuilder/test-env/bin/python /home/username/.pyenv/versions/pyb-3.9.7/lib/python3.9/site-packages/virtualenv/create/debug.py [DEBUG creator:224]
153 {
"sys": {
"executable": "/home/username/src/pybuilder/test-env/bin/python",
"_base_executable": "/home/username/src/pybuilder/test-env/bin/python",
"prefix": "/home/username/src/pybuilder/test-env",
"base_prefix": "/home/username/.pyenv/versions/3.9.7",
"real_prefix": null,
"exec_prefix": "/home/username/src/pybuilder/test-env",
"base_exec_prefix": "/home/username/.pyenv/versions/3.9.7",
"path": [
"/home/username/.pyenv/versions/3.9.7/lib/python39.zip",
"/home/username/.pyenv/versions/3.9.7/lib/python3.9",
"/home/username/.pyenv/versions/3.9.7/lib/python3.9/lib-dynload",
"/home/username/src/pybuilder/test-env/lib/python3.9/site-packages"
],
"meta_path": [
"<class '_virtualenv._Finder'>",
"<class '_frozen_importlib.BuiltinImporter'>",
"<class '_frozen_importlib.FrozenImporter'>",
"<class '_frozen_importlib_external.PathFinder'>"
],
"fs_encoding": "utf-8",
"io_encoding": "utf-8"
},
"version": "3.9.7 (default, Aug 31 2021, 15:30:43) \n[GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]",
"makefile_filename": "/home/username/.pyenv/versions/3.9.7/lib/python3.9/config-3.9-x86_64-linux-gnu/Makefile",
"os": "<module 'os' from '/home/username/.pyenv/versions/3.9.7/lib/python3.9/os.py'>",
"site": "<module 'site' from '/home/username/.pyenv/versions/3.9.7/lib/python3.9/site.py'>",
"datetime": "<module 'datetime' from '/home/username/.pyenv/versions/3.9.7/lib/python3.9/datetime.py'>",
"math": "<module 'math' from '/home/username/.pyenv/versions/3.9.7/lib/python3.9/lib-dynload/math.cpython-39-x86_64-linux-gnu.so'>",
"json": "<module 'json' from '/home/username/.pyenv/versions/3.9.7/lib/python3.9/json/__init__.py'>"
} [DEBUG session:55]
183 add seed packages via FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/username/.local/share/virtualenv) [INFO session:59]
186 got embed update of distribution setuptools from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/setuptools.json [DEBUG via_disk_folder:135]
186 got embed update of distribution pip from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/pip.json [DEBUG via_disk_folder:135]
186 got embed update of distribution wheel from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/wheel.json [DEBUG via_disk_folder:135]
189 got embed update of distribution setuptools from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/setuptools.json [DEBUG via_disk_folder:135]
189 got embed update of distribution pip from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/pip.json [DEBUG via_disk_folder:135]
189 using periodically updated wheel /home/username/.local/share/virtualenv/wheel/house/pip-21.2.4-py3-none-any.whl [DEBUG periodic_update:53]
189 got embed update of distribution wheel from /home/username/.local/share/virtualenv/wheel/3.9/embed/1/wheel.json [DEBUG via_disk_folder:135]
190 install setuptools from wheel /home/username/.pyenv/versions/pyb-3.9.7/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/setuptools-57.4.0-py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:49]
190 install pip from wheel /home/username/.local/share/virtualenv/wheel/house/pip-21.2.4-py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:49]
190 install wheel from wheel /home/username/.pyenv/versions/pyb-3.9.7/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/wheel-0.37.0-py2.py3-none-any.whl via CopyPipInstall [DEBUG via_app_data:49]
190 Attempting to acquire lock 139925603225552 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any.lock [DEBUG filelock:270]
190 Attempting to acquire lock 139925577568848 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any.lock [DEBUG filelock:270]
191 Attempting to acquire lock 139925603224976 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any.lock [DEBUG filelock:270]
191 Lock 139925603225552 acquired on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any.lock [INFO filelock:274]
191 Lock 139925577568848 acquired on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any.lock [INFO filelock:274]
191 Lock 139925603224976 acquired on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any.lock [INFO filelock:274]
191 Attempting to release lock 139925577568848 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any.lock [DEBUG filelock:315]
191 Lock 139925577568848 released on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any.lock [INFO filelock:318]
191 Attempting to release lock 139925603225552 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any.lock [DEBUG filelock:315]
191 Attempting to release lock 139925603224976 on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any.lock [DEBUG filelock:315]
191 Lock 139925603225552 released on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any.lock [INFO filelock:318]
191 Lock 139925603224976 released on /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any.lock [INFO filelock:318]
192 copy /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/distutils-precedence.pth to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/distutils-precedence.pth [DEBUG _sync:52]
192 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/_distutils_hack to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/_distutils_hack [DEBUG _sync:52]
193 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any/wheel to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/wheel [DEBUG _sync:52]
196 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/pkg_resources to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/pkg_resources [DEBUG _sync:52]
197 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any/wheel-0.37.0.dist-info to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/wheel-0.37.0.dist-info [DEBUG _sync:52]
199 copy /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/wheel-0.37.0-py2.py3-none-any/wheel-0.37.0.virtualenv to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/wheel-0.37.0.virtualenv [DEBUG _sync:52]
201 generated console scripts wheel3 wheel3.9 wheel-3.9 wheel [DEBUG base:48]
207 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/setuptools to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/setuptools [DEBUG _sync:52]
218 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any/pip to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/pip [DEBUG _sync:52]
225 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/setuptools-57.4.0.dist-info to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/setuptools-57.4.0.dist-info [DEBUG _sync:52]
226 copy /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/setuptools-57.4.0-py3-none-any/setuptools-57.4.0.virtualenv to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/setuptools-57.4.0.virtualenv [DEBUG _sync:52]
227 generated console scripts [DEBUG base:48]
256 copy directory /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any/pip-21.2.4.dist-info to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/pip-21.2.4.dist-info [DEBUG _sync:52]
257 copy /home/username/.local/share/virtualenv/wheel/3.9/image/1/CopyPipInstall/pip-21.2.4-py3-none-any/pip-21.2.4.virtualenv to /home/username/src/pybuilder/test-env/lib/python3.9/site-packages/pip-21.2.4.virtualenv [DEBUG _sync:52]
258 generated console scripts pip-3.9 pip pip3 pip3.9 [DEBUG base:48]
258 add activators for Bash, CShell, Fish, PowerShell, Python [INFO session:64]
259 write /home/username/src/pybuilder/test-env/pyvenv.cfg [DEBUG pyenv_cfg:34]
259 home = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
259 implementation = CPython [DEBUG pyenv_cfg:38]
259 version_info = 3.9.7.final.0 [DEBUG pyenv_cfg:38]
259 virtualenv = 20.7.2 [DEBUG pyenv_cfg:38]
259 include-system-site-packages = false [DEBUG pyenv_cfg:38]
259 base-prefix = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
259 base-exec-prefix = /home/username/.pyenv/versions/3.9.7 [DEBUG pyenv_cfg:38]
259 base-executable = /home/username/.pyenv/versions/3.9.7/bin/python3.9 [DEBUG pyenv_cfg:38]
259 created virtual environment CPython3.9.7.final.0-64 in 149ms
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.4, setuptools==57.4.0, setuptools==58.0.4, wheel==0.37.0
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator [WARNING __main__:19] |
PR to fix it welcome. Otherwise be warned there's no one else picking this up and working on it 👍 |
LOL I am looking at it. Is there a staffing shortage or just low priority? |
This is an open source project, there's no staff. I'm the only maintainer, and I do that role mostly in my free time for free. As this feels like an edge that impacts few people it's very low on my priority list. |
Yes, I'm familiar with how OSS works 😄 , I just didn't realize a project under PyPA only had one maintainer. Thanks! |
It's a complex project with lots of hard problems that don't get noticed until someone runs into them. We're always looking for new contributors (and eventually maintainer) if you have time to work on issues. |
An existing dist-info may contain entrypoints that may interfere with normal functioning of the redeployed seeded wheel if there is a version mismatch fixes pypa#2185
An existing dist-info may contain entrypoints that may interfere with normal functioning of the redeployed seeded wheel if there is a version mismatch fixes pypa#2185
An existing dist-info may contain entrypoints that may interfere with normal functioning of the redeployed seeded wheel if there is a version mismatch fixes pypa#2185
* During seeding remove dist-info for present versions of the wheels An existing dist-info may contain entrypoints that may interfere with normal functioning of the redeployed seeded wheel if there is a version mismatch fixes #2185 * Remove package directories from dist-info top_level packages Remove other recorded files from RECORD Remove dist-info itself * Do not resolve paths prior to removal for symlink mode In the test ensure the directories are compared as sets and not lists Add setuptools downgrade to ensure proper cleanup of the existing version * PR Feedback Signed-off-by: Bernát Gábor <[email protected]> Co-authored-by: Bernát Gábor <[email protected]>
390: build(deps): bump virtualenv from 20.8.0 to 20.8.1 r=ChrisRBe a=dependabot[bot] Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.8.0 to 20.8.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst">virtualenv's changelog</a>.</em></p> <blockquote> <h2>v20.8.1 (2021-09-24)</h2> <p>Bugfixes - 20.8.1</p> <pre><code>- Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple ``.dist-info`` directories may be present, confounding entrypoint discovery - by :user:`arcivanov` (`[#2185](pypa/virtualenv#2185) <https://github.com/pypa/virtualenv/issues/2185>`_) - Bump embed setuptools from ``58.0.4`` to ``58.1.0`` - by :user:`gaborbernat`. (`[#2195](pypa/virtualenv#2195) <https://github.com/pypa/virtualenv/issues/2195>`_) <p>Misc - 20.8.1</p> <pre><code>- `[#2189](pypa/virtualenv#2189) &lt;https://github.com/pypa/virtualenv/issues/2189&gt;`_ </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="pypa/virtualenv@433840821a5d2a2308eb84a53bac95efdfacbe7c"><code>4338408</code></a> release 20.8.1</li> <li><a href="pypa/virtualenv@e13ea2a7c65f233df0bc526ae073c01747258de8"><code>e13ea2a</code></a> During seeding properly uninstall present versions of the wheels (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2186">#2186</a>)</li> <li><a href="pypa/virtualenv@3b9d95481a7bb8ce98bc3118416ba6cbbedf99b4"><code>3b9d954</code></a> Bump embed setuptools to 58.1.0 (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2195">#2195</a>)</li> <li><a href="pypa/virtualenv@40d2f1833bab94fa2cad852c5b9e31d42c66d570"><code>40d2f18</code></a> Fail early instead of creating non-working env (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2189">#2189</a>)</li> <li><a href="pypa/virtualenv@9e03c945fbf22cb1384d944f874180292c1018d4"><code>9e03c94</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2192">#2192</a>)</li> <li><a href="pypa/virtualenv@2151d385094c4f320cd2484eb9bcf3272cea2cc3"><code>2151d38</code></a> Improve prompt nushell (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2190">#2190</a>)</li> <li><a href="pypa/virtualenv@d810ce1c0613d1b955576bca644335b7a00b5bc0"><code>d810ce1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2184">#2184</a> from pypa/release-20.8.0</li> <li>See full diff in <a href="pypa/virtualenv@20.8.0...20.8.1">compare view</a></li> </ul> </details> <br /> </code></pre> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=virtualenv&package-manager=pip&previous-version=20.8.0&new-version=20.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.7.2 to 20.8.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst">virtualenv's changelog</a>.</em></p> <blockquote> <h2>v20.8.1 (2021-09-24)</h2> <p>Bugfixes - 20.8.1</p> <pre><code>- Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple ``.dist-info`` directories may be present, confounding entrypoint discovery - by :user:`arcivanov` (`[#2185](pypa/virtualenv#2185) <https://github.com/pypa/virtualenv/issues/2185>`_) - Bump embed setuptools from ``58.0.4`` to ``58.1.0`` - by :user:`gaborbernat`. (`[#2195](pypa/virtualenv#2195) <https://github.com/pypa/virtualenv/issues/2195>`_) <p>Misc - 20.8.1</p> <pre><code>- `[#2189](pypa/virtualenv#2189) &lt;https://github.com/pypa/virtualenv/issues/2189&gt;`_ v20.8.0 (2021-09-16) -------------------- * upgrade embedded setuptools to ``58.0.4`` from ``57.4.0`` and pip to ``21.2.4`` from ``21.2.3`` * Add nushell activation script </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="pypa/virtualenv@433840821a5d2a2308eb84a53bac95efdfacbe7c"><code>4338408</code></a> release 20.8.1</li> <li><a href="pypa/virtualenv@e13ea2a7c65f233df0bc526ae073c01747258de8"><code>e13ea2a</code></a> During seeding properly uninstall present versions of the wheels (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2186">#2186</a>)</li> <li><a href="pypa/virtualenv@3b9d95481a7bb8ce98bc3118416ba6cbbedf99b4"><code>3b9d954</code></a> Bump embed setuptools to 58.1.0 (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2195">#2195</a>)</li> <li><a href="pypa/virtualenv@40d2f1833bab94fa2cad852c5b9e31d42c66d570"><code>40d2f18</code></a> Fail early instead of creating non-working env (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2189">#2189</a>)</li> <li><a href="pypa/virtualenv@9e03c945fbf22cb1384d944f874180292c1018d4"><code>9e03c94</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2192">#2192</a>)</li> <li><a href="pypa/virtualenv@2151d385094c4f320cd2484eb9bcf3272cea2cc3"><code>2151d38</code></a> Improve prompt nushell (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2190">#2190</a>)</li> <li><a href="pypa/virtualenv@d810ce1c0613d1b955576bca644335b7a00b5bc0"><code>d810ce1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2184">#2184</a> from pypa/release-20.8.0</li> <li><a href="pypa/virtualenv@c54c7efe172adb206c75cc1499cf8625b19064e8"><code>c54c7ef</code></a> release 20.8.0</li> <li><a href="pypa/virtualenv@e0410cafc8feedf72562174dee983fc709a5a36e"><code>e0410ca</code></a> Nushell activation scripts (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2170">#2170</a>)</li> <li><a href="pypa/virtualenv@1cc503bfadc2c0e8c3ecac6c0a3f430ee601d9a0"><code>1cc503b</code></a> Bump pip and setuptools (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2183">#2183</a>)</li> <li>Additional commits viewable in <a href="pypa/virtualenv@20.7.2...20.8.1">compare view</a></li> </ul> </details> <br /> </code></pre> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=virtualenv&package-manager=pip&previous-version=20.7.2&new-version=20.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
390: build(deps): bump virtualenv from 20.8.0 to 20.8.1 r=ChrisRBe a=dependabot[bot] Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.8.0 to 20.8.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst">virtualenv's changelog</a>.</em></p> <blockquote> <h2>v20.8.1 (2021-09-24)</h2> <p>Bugfixes - 20.8.1</p> <pre><code>- Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple ``.dist-info`` directories may be present, confounding entrypoint discovery - by :user:`arcivanov` (`[#2185](pypa/virtualenv#2185) <https://github.com/pypa/virtualenv/issues/2185>`_) - Bump embed setuptools from ``58.0.4`` to ``58.1.0`` - by :user:`gaborbernat`. (`[#2195](pypa/virtualenv#2195) <https://github.com/pypa/virtualenv/issues/2195>`_) <p>Misc - 20.8.1</p> <pre><code>- `[#2189](pypa/virtualenv#2189) &lt;https://github.com/pypa/virtualenv/issues/2189&gt;`_ </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="pypa/virtualenv@433840821a5d2a2308eb84a53bac95efdfacbe7c"><code>4338408</code></a> release 20.8.1</li> <li><a href="pypa/virtualenv@e13ea2a7c65f233df0bc526ae073c01747258de8"><code>e13ea2a</code></a> During seeding properly uninstall present versions of the wheels (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2186">#2186</a>)</li> <li><a href="pypa/virtualenv@3b9d95481a7bb8ce98bc3118416ba6cbbedf99b4"><code>3b9d954</code></a> Bump embed setuptools to 58.1.0 (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2195">#2195</a>)</li> <li><a href="pypa/virtualenv@40d2f1833bab94fa2cad852c5b9e31d42c66d570"><code>40d2f18</code></a> Fail early instead of creating non-working env (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2189">#2189</a>)</li> <li><a href="pypa/virtualenv@9e03c945fbf22cb1384d944f874180292c1018d4"><code>9e03c94</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2192">#2192</a>)</li> <li><a href="pypa/virtualenv@2151d385094c4f320cd2484eb9bcf3272cea2cc3"><code>2151d38</code></a> Improve prompt nushell (<a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2190">#2190</a>)</li> <li><a href="pypa/virtualenv@d810ce1c0613d1b955576bca644335b7a00b5bc0"><code>d810ce1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pypa/virtualenv/issues/2184">#2184</a> from pypa/release-20.8.0</li> <li>See full diff in <a href="pypa/virtualenv@20.8.0...20.8.1">compare view</a></li> </ul> </details> <br /> </code></pre> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=virtualenv&package-manager=pip&previous-version=20.8.0&new-version=20.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.4.4 to 20.8.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst">virtualenv's changelog</a>.</em></p> <blockquote> <h2>v20.8.1 (2021-09-24)</h2> <p>Bugfixes - 20.8.1</p> <pre><code>- Fixed a bug where while creating a venv on top of an existing one, without cleaning, when seeded wheel version mismatch occurred, multiple ``.dist-info`` directories may be present, confounding entrypoint discovery - by :user:`arcivanov` (`[#2185](pypa/virtualenv#2185) <https://github.com/pypa/virtualenv/issues/2185>`_) - Bump embed setuptools from ``58.0.4`` to ``58.1.0`` - by :user:`gaborbernat`. (`[#2195](pypa/virtualenv#2195) <https://github.com/pypa/virtualenv/issues/2195>`_) <p>Misc - 20.8.1</p> <pre><code>- `[#2189](pypa/virtualenv#2189) &lt;https://github.com/pypa/virtualenv/issues/2189&gt;`_ v20.8.0 (2021-09-16) -------------------- * upgrade embedded setuptools to ``58.0.4`` from ``57.4.0`` and pip to ``21.2.4`` from ``21.2.3`` * Add nushell activation script v20.7.2 (2021-08-10) -------------------- Bugfixes - 20.7.2 </code></pre> <ul> <li>Upgrade embedded pip to <code>21.2.3</code> from <code>21.2.2</code> and wheel to <code>0.37.0</code> from <code>0.36.2</code> - by :user:<code>gaborbernat</code>. (<code>[#2168](pypa/virtualenv#2168) &lt;pypa/virtualenv#2168; </ul> <h2>v20.7.1 (2021-08-09)</h2> <p>Bugfixes - 20.7.1</p> <pre><code>- Fix unpacking dictionary items in PythonInfo.install_path (`[#2165](pypa/virtualenv#2165) &lt;https://github.com/pypa/virtualenv/issues/2165&gt;`_) v20.7.0 (2021-07-31) -------------------- Bugfixes - 20.7.0 </code></pre> <ul> <li>upgrade embedded pip to <code>21.2.2</code> from <code>21.1.3</code> and setuptools to <code>57.4.0</code> from <code>57.1.0</code> - by :user:<code>gaborbernat</code> (<code>[#2159](pypa/virtualenv#2159) &lt;pypa/virtualenv#2159; </ul> <p>Deprecations and Removals - 20.7.0</p> <pre><code>- Removed ``xonsh`` activator due to this breaking fairly often the CI and lack of support from those packages maintainers, upstream is encouraged to continue supporting the project as a `plugin &lt;https://github.com/xonsh/xonsh/issues/3689&gt;`_ - by :user:`gaborbernat`. (`[#2160](pypa/virtualenv#2160) &lt;https://github.com/pypa/virtualenv/issues/2160&gt;`_) &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="pypa/virtualenv@433840821a5d2a2308eb84a53bac95efdfacbe7c"><code>4338408</code></a> release 20.8.1</li> <li><a href="pypa/virtualenv@e13ea2a7c65f233df0bc526ae073c01747258de8"><code>e13ea2a</code></a> During seeding properly uninstall present versions of the wheels (<a href="https://redirect.github.com/pypa/virtualenv/issues/2186">#2186</a>)</li> <li><a href="pypa/virtualenv@3b9d95481a7bb8ce98bc3118416ba6cbbedf99b4"><code>3b9d954</code></a> Bump embed setuptools to 58.1.0 (<a href="https://redirect.github.com/pypa/virtualenv/issues/2195">#2195</a>)</li> <li><a href="pypa/virtualenv@40d2f1833bab94fa2cad852c5b9e31d42c66d570"><code>40d2f18</code></a> Fail early instead of creating non-working env (<a href="https://redirect.github.com/pypa/virtualenv/issues/2189">#2189</a>)</li> <li><a href="pypa/virtualenv@9e03c945fbf22cb1384d944f874180292c1018d4"><code>9e03c94</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pypa/virtualenv/issues/2192">#2192</a>)</li> <li><a href="pypa/virtualenv@2151d385094c4f320cd2484eb9bcf3272cea2cc3"><code>2151d38</code></a> Improve prompt nushell (<a href="https://redirect.github.com/pypa/virtualenv/issues/2190">#2190</a>)</li> <li><a href="pypa/virtualenv@d810ce1c0613d1b955576bca644335b7a00b5bc0"><code>d810ce1</code></a> Merge pull request <a href="https://redirect.github.com/pypa/virtualenv/issues/2184">#2184</a> from pypa/release-20.8.0</li> <li><a href="pypa/virtualenv@c54c7efe172adb206c75cc1499cf8625b19064e8"><code>c54c7ef</code></a> release 20.8.0</li> <li><a href="pypa/virtualenv@e0410cafc8feedf72562174dee983fc709a5a36e"><code>e0410ca</code></a> Nushell activation scripts (<a href="https://redirect.github.com/pypa/virtualenv/issues/2170">#2170</a>)</li> <li><a href="pypa/virtualenv@1cc503bfadc2c0e8c3ecac6c0a3f430ee601d9a0"><code>1cc503b</code></a> Bump pip and setuptools (<a href="https://redirect.github.com/pypa/virtualenv/issues/2183">#2183</a>)</li> <li>Additional commits viewable in <a href="pypa/virtualenv@20.4.4...20.8.1">compare view</a></li> </ul> </details> <br /> </code></pre> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=virtualenv&package-manager=pip&previous-version=20.4.4&new-version=20.8.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Scenario:
dist-info
directories present for incorrectly downgraded tool, resulting in venv corruption.Example - always reproducible:
This environment is now broken producing pybuilder/pybuilder#795 due to
setuptools-57.4.0.dist-info
andsetuptools-58.0.4.dist-info
being present.The text was updated successfully, but these errors were encountered: