# Features - 20.23.0
* Do not install wheel and setuptools seed packages for Python
3.12+. To restore the old behaviour use:
- for wheel use VIRTUALENV_WHEEL=bundle environment variable or
--wheel=bundle CLI flag,
- for setuptools use VIRTUALENV_SETUPTOOLS=bundle environment
variable or --setuptools=bundle CLI flag.
By @chrysle. (#2487)
* 3.12 support - by @gaborbernat. (#2558)
# Bugfixes - 20.23.0
* Prevent PermissionError when using venv creator on systems that
deliver files without user write permission - by @kulikjak.
(#2543)
* Upgrade setuptools to 67.7.2 from 67.6.1 and pip to 23.1.2 from
23.1 - by @szleb. (#2560)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=132
- Drop unneeded shims for PyPy3 directory structure
- Fix selected scheme on debian derivatives for python 3.10
when python3-distutils is not installed or the venv scheme is
not avaiable
- Allow the test suite to pass even with the original C shell
(rather than tcsh)
- Fix fallback handling of downloading wheels for bundled
packages
- Upgrade embedded setuptools to 65.5.0 from 65.3.0 and pip to
22.3 from 22.2.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=120
- Do not turn echo off for subsequent commands in batch
activators (activate.bat and deactivate.bat)
- Bump embed setuptools to 65.3
- Upgrade embedded pip to 22.2.2 from 22.2.1 and setuptools to
63.4.1 from 63.2.0
- Bump embeded pip from 22.2 to 22.2.1
- Update Nushell activation scripts to version 0.67
- Drop support for running under Python 2 (still can generate
Python 2 environments)
- Upgrade embedded pip to 22.2 from 22.1.2 and setuptools to
63.2.0 from 62.6.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=117
* Special-case ``--prompt .`` to the name of the current directory
* Add libffi-8.dll to pypy windows
* Fixed path collision that could lead to a PermissionError or writing to system
directories when using PyPy3.8
* Upgrade embedded setuptools to ``58.3.0`` from ``58.1.0`` and pip to ``21.3.1`` from ``21.2.4``
* Remove stray closing parenthesis in activate.bat
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=108
- Update to 20.8.1
* 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
* upgrade embedded setuptools to 58.1.0 and pip to 21.2.4
- Release to 20.8.0
* Add nushell activation script
- Release 2.7.1
* Fix unpacking dictionary items in PythonInfo.install_path
(#2165)
- Fix and activate the test suite
- Update importlib* dependencies for older pythons
- Disable the python2 build because there is no
python2-platformdirs on any distribution
OBS-URL: https://build.opensuse.org/request/show/922215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=107
- Switch off tests, they are just broken.
- Update to 20.7.0:
- 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
- Support Python interpreters without distutils (fallback to
syconfig in these cases)
- Plugins now use 'selectable' entry points
- add libffi-7.dll to the hard-coded list of dlls for PyPy
- Drop python 3.4 support as it has been over 2 years since EOL
- Use the better maintained platformdirs instead of appdirs
- Built in discovery class is always preferred over plugin
supplied classes.
- On the programmatic API allow passing in the environment
variable dictionary to use, defaults to os.environ if not
specified
- The builtin discovery takes now a --try-first-with argument
and is first attempted as valid interpreters. One can use
this to force discovery of a given python executable when the
discovery order/mechanism raises errors
OBS-URL: https://build.opensuse.org/request/show/910165
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=102
- On the programmatic API allow passing in the environment variable
dictionary to use, defaults to ``os.environ`` if not specified
- Upgrade embedded setuptools to ``51.3.3`` from ``51.1.2``
- Bump embed pip to ``20.3.3``, setuptools to ``51.1.1`` and wheel to ``0.36.2``
- Allow unfunctioning of pydoc to fail freely so that virtualenvs can be
activated under Zsh with set -e (since otherwise ``unset -f`` and
``unfunction`` exit with 1 if the function does not exist in Zsh)
- Drop cached python information if the system executable is no longer
present (for example when the executable is a shim and the mapped
executable is replaced - such is the case with pyenv)
- The builtin discovery takes now a ``--try-first-with`` argument and is
first attempted as valid interpreters. One can use this to force discovery
of a given python executable when the discovery order/mechanism raises errors -
- On Windows python ``3.7+`` distributions where the exe shim is missing
fallback to the old ways - by :user:`gaborbernat`. (`#1986
- When discovering interpreters on Windows, via the PEP-514, prefer
``PythonCore`` releases over other ones. virtualenv
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=95
* fix powershell activation when sourced (#1398)
* fix regression - sh activation script not working under sh (only bash) (#1396)
* activate.ps1 syntax and style updated to follow PSStyleAnalyzer rules (#1371)
* Allow creating virtual environments for 3.xy. (#1385)
* Report error when running activate scripts directly
* Extend the LICENSE search paths list by lib64/pythonX.Y to support Linux vendors who install their Python to /usr/lib64/pythonX.Y
* Raise an error if the target path contains the operating systems path separator (using this would break our activation scripts)
* Drop Jython support
* Add tests covering prompt manipulation during activation/deactivation, and harmonize behavior of all supported shells
- Update to 16.4.3:
* Revert the symlink fix, causing debian packaging issues. (#1390)
* Fix license() builtin by copying the LICENSE file into the virtualenv - by asottile. (#1317)
* fixes the scenario where the python base install is symlinked with relative symlinks (#490)
* Use importlib over imp in virtualenv.py for python >= 3.4 - by Anthony Sottile (#1293)
* Copy or link PyPy header files instead of include directory itself (#1302)
* Allow virtualenv creation with older pip not having config command correspondingly disabling configuration related features (such as pip cert setting) in this case. (#1303)
* Use importlib over deprecated imp` in ``distutils/__init__.py for python 3 - by Anthony Sottile (#955)
* Preserve cert option defined in pip.conf or environment variable. (#1273)
* fixed a ResourceWarning: unclosed file in call_subprocess() - by Mickaël Schoentgen (#1277)
* pre-import some built-in modules in site.py on PyPy according to PyPy's site.py - by microdog (#1281)
* Copy files from sys.exec_prefix only if it is really different path than used prefix, bugfix for #1270 (#1282)
* copyfile handles relative symlinks and symlinks to symlinks, avoiding problems when Python was installed using stow or homebrew. (#268)
* Fix preserving of original path when using fish and a subshell. (#904)
* Drop the source layout of the project, going back to how the source was laid out before 16.1.0. (#1241)
* Fix bootstrap script generation broken with 16.0.0. Support now both CPython, pypy, jython. (#1244)
* lib64 symlink is again relative (as was with < 16.1.0). (#1248)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=70
* Fixed documentation to use pypi.org and correct curl options; :issue:`1042`
* bug fix: ensure prefix is absolute when creating a new virtual
environment :issue:`1208`
* upgrade setuptools from ``39.1.0`` to ``40.5.0``
* upgrade wheel from ``0.31.1`` to ``0.32.2``
* upgrade pip from ``10.0.1`` to ``18.1``
* ``activate.csh`` does not use basename and handles newlines :issue:`1200`
* fix failure to copy on platforms that use lib64 :issue:`1189`
* enable tab-completion in the interactive interpreter by default,
thanks to a new ``sys.__interactivehook__`` on Python 3 :issue:`967`
* suppress warning of usage of the deprecated ``imp`` module :issue:`1238`
* Drop support for Python 2.6.
* Upgrade pip to 10.0.1.
* Upgrade setuptools to 39.1.0.
* Upgrade wheel to 0.31.1.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=68