virtualenv breaking changes
Updated December 4, 2026
On this page
Latest version 21.16.0, released December 5, 2026. Source repository
Its 21.15.0 release drops Python 3.8. Python end of life dates.
- From 20.0.0 to 21.15.12: 135 breaking changes in 14 versions.
- From 16.0.0 to 21.15.12: 231 breaking changes in 17 versions.
virtualenv 21.15.12 breaking changes
- Behavior changed
Seed images in app-data are now read-only, including their directories on POSIX. In a --symlink-app-data environment, pip install --ignore-installed of a seed package now fails with a permission error instead of changing the shared image. github.com - Behavior changed
Seed wheels from a custom index are now isolated in a dedicated cache. Users going offline must download pins that are missing from the bundle again first; old cached wheels remain on disk. github.com - Signature changed
virtualenv.seed.wheels.periodic_update.do_update
Was def do_update(distribution: str, for_py_version: str, embed_filename: str | None, app_data: str | AppData, search_dirs: list[str] | list[Path], periodic: bool) -> list[NewVersion] | None; now def do_update(distribution: str... pypi.org - Signature changed
virtualenv.seed.wheels.util.Wheel.__init__
Was def __init__(self, path: Path) -> None; now def __init__(self, path: Path, *, cache_name: str | None = None) -> None. pypi.org - Signature changed
virtualenv.seed.wheels.Wheel.__init__
Was def __init__(self, path: Path) -> None; now def __init__(self, path: Path, *, cache_name: str | None = None) -> None. pypi.org
virtualenv 21.15.10 breaking changes
- Removed
virtualenv.activation.python.activate_this.path
virtualenv.activation.python.activate_this.path was removed in virtualenv 21.15.10 pypi.org - Removed
virtualenv.activation.python.activate_this.prev_length
virtualenv.activation.python.activate_this.prev_length was removed in virtualenv 21.15.10 pypi.org - Behavior changed
--extra-search-dir
Passing an empty --extra-search-dir on the command line now fails. Pass a real directory path instead. github.com - Behavior changed
--python
Empty --python and --try-first-with items from environment variables or the config file are skipped, so they no longer select the running interpreter. Remove empty entries from those settings if you relied on them. github.com - Behavior changed
--upgrade-embed-wheels
A failed --upgrade-embed-wheels run now exits with status 1 and logs one could-not-upgrade error per distribution, instead of exiting 0. Scripts that check the exit status may need updating. github.com - Signature changed
virtualenv.app_data.AppDataDiskFolder.__init__
Was def __init__(self, folder: str) -> None; now def __init__(self, folder: str, *, private: bool = False) -> None. pypi.org - Signature changed
virtualenv.app_data.cache_migration.cache_dir_with_migration
Was def cache_dir_with_migration() -> str; now def cache_dir_with_migration(*, read_only: bool) -> str | None. pypi.org - Signature changed
virtualenv.app_data.via_disk_folder.AppDataDiskFolder.__init__
Was def __init__(self, folder: str) -> None; now def __init__(self, folder: str, *, private: bool = False) -> None. pypi.org - Signature changed
virtualenv.seed.wheels.periodic_update.manual_upgrade
Was def manual_upgrade(app_data: AppData, env: dict[str, str]) -> None; now def manual_upgrade(app_data: AppData, env: dict[str, str]) -> int. pypi.org - Signature changed
virtualenv.util.path.copy
Was def copy(src: Path, dest: Path) -> None; now def copy(src: Path, dest: Path, *, executable: bool = False) -> None. pypi.org
virtualenv 21.15.8 breaking changes
- Signature changed
virtualenv.seed.wheels.acquire.pip_wheel_env_run
Was def pip_wheel_env_run(search_dirs: list[Path], app_data: AppData, env: dict[str, str]) -> dict[str, str]; now def pip_wheel_env_run(search_dirs: list[Path], app_data: AppData, env: dict[str, str], for_py_version: str | None = None) ->... pypi.org - Signature changed
virtualenv.seed.wheels.pip_wheel_env_run
Was def pip_wheel_env_run(search_dirs: list[Path], app_data: AppData, env: dict[str, str]) -> dict[str, str]; now def pip_wheel_env_run(search_dirs: list[Path], app_data: AppData, env: dict[str, str], for_py_version: str | None = None) ->... pypi.org
virtualenv 21.15.7 breaking changes
- Removed
virtualenv.activation.python.activate_this.existing_pkg_config_path
virtualenv.activation.python.activate_this.existing_pkg_config_path was removed in virtualenv 21.15.7 pypi.org - Behavior changed
--app-data
An empty or whitespace-only --app-data (or VIRTUALENV_APP_DATA) is now rejected. Previously it made the current directory the cache, so --reset-app-data could delete it. Pass a real directory path instead. github.com - Behavior changed
VIRTUALENV_NO_DOWNLOAD
When VIRTUALENV_NO_DOWNLOAD=1 is set alongside download = true in the configuration file, the environment variable now wins. Check configs that relied on the old override. github.com
virtualenv 21.15.6 breaking changes
- Behavior changed
Programmatic activation now removes empty PATH entries, including those inside a nonempty PATH value. On POSIX, an empty entry previously made the current directory searchable, so code relying on that must now set the directory explicitly. github.com
virtualenv 21.15.3 breaking changes
- Configuration changed
Values in virtualenv.ini are now read without interpolation, so a literal % must be written as a single %. Existing %% or %(name)s entries will be kept as written instead of being converted. github.com
Older versions
12 older versions, each with its first changes. Sign up to see every change
Show 12 older versions
virtualenv 21.15.2 breaking changes
- Behavior changed
An empty or whitespace-only destination now raises an error instead of resolving to the current directory. Code that relied on an empty destination must pass `.` instead. github.com - Behavior changed
--python
Interpreters from the -p/--python and --try-first-with options now replace those set by VIRTUALENV_PYTHON, VIRTUALENV_TRY_FIRST_WITH or the configuration file. A -p that finds nothing now fails instead of falling back to the configured... github.com
virtualenv 21.15.1 breaking changes
- Removed
virtualenv.util.path.copytree
virtualenv.util.path.copytree was removed in virtualenv 21.15.1 pypi.org - Signature changed
virtualenv.util.subprocess.run_cmd
Was def run_cmd(cmd: list[str]) -> tuple[int, str, str]; now def run_cmd(cmd: list[str], env: Mapping[str, str] | None = None) -> tuple[int, str, str]. pypi.org
virtualenv 21.15.0 breaking changes
- Removed
The standalone zipapp no longer bundles dependencies for Python 3.8, while Python 3.15 dependencies are added. Users running the zipapp on Python 3.8 must use another install method. github.com
virtualenv 21.5.1 breaking changes
- Behavior changed
Creating an environment for a Python below 3.9 now fails with a clear error instead of silently substituting the newest bundled pip. Use --no-seed or a third-party seeder with compatible wheels. github.com - Signature changed
virtualenv.seed.wheels.embed.get_embed_wheel
Was def get_embed_wheel(distribution: str, for_py_version: str) -> Wheel | None; now def get_embed_wheel(distribution: str, for_py_version: str | None) -> Wheel | None. pypi.org
virtualenv 21.5.0 breaking changes
- Removed
virtualenv now requires Python 3.9 or later to run and to create environments. Upgrade the interpreter before using this release. github.com - Removed
virtualenv no longer bundles the wheel package, which it shipped only for Python 3.8. Code that relied on the bundled wheel being present in new environments must install it explicitly. github.com
And 1 more in this version.
virtualenv 21.4.3 breaking changes
- Behavior changed
The bash activation script stops exporting PS1, so child processes no longer inherit the shell prompt variable. Code that relied on PS1 being set in child processes must set it itself. github.com
virtualenv 21.4.0 breaking changes
- Removed
virtualenv.create.via_global_ref.builtin.pypy.pypy3.Pypy3Windows.less_v37
Pypy3Windows.less_v37 was removed in virtualenv 21.4.0 pypi.org - Removed
virtualenv.create.via_global_ref.venv.Venv.executables_for_win_pypy_less_v37
Venv.executables_for_win_pypy_less_v37 was removed in virtualenv 21.4.0 pypi.org
virtualenv 21.0.0 breaking changes
- Removed
virtualenv.discovery.builtin.PathPythonInfo
virtualenv.discovery.builtin.PathPythonInfo was removed in virtualenv 21.0.0 pypi.org - Removed
virtualenv.discovery.cached_py_info.___all___
virtualenv.discovery.cached_py_info.___all___ was removed in virtualenv 21.0.0 pypi.org
And 98 more in this version.
virtualenv 20.0.0 breaking changes
- Removed
virtualenv_support
virtualenv_support was removed in virtualenv 20.0.0 pypi.org - Removed
virtualenv.ABI_FLAGS
virtualenv.ABI_FLAGS was removed in virtualenv 20.0.0 pypi.org
And 91 more in this version.
virtualenv 20.0.0b2 breaking changes
- Behavior changed
The bash activator is now named without the .sh extension. Scripts that source the activate.sh file must be updated to use the new name. github.com
virtualenv 20.0.0b1 breaking changes
- Behavior changed
The custom site module is no longer baked into virtualenv; only a shim remains for Python 2. Code relying on the old embedded site module may behave differently. github.com - Default changed
--download
Virtualenv no longer downloads seed packages by default. Pass --download explicitly if you need the old behavior. github.com
virtualenv 16.0.0 breaking changes
- Removed
The package no longer supports Python 2.6. Users on Python 2.6 must stay on an older virtualenv release or upgrade their interpreter. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.