---
title: "virtualenv 21.15.12 Breaking Changes on PyPI | Since.dev"
description: "What each virtualenv release removed, renamed or changed: 232 breaking changes in 18 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/virtualenv
last_updated: 2026-12-04
---

# virtualenv breaking changes

virtualenv 21.15.12 (November 21, 2026) is its newest release with breaking changes, 5 of them. The first: Seed images in app-data become read-only in virtualenv 21.15.12. Every breaking API change we have recorded in virtualenv on PyPI: 232 breaking changes in 18 versions. Below, its 18 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `21.16.0`, released December 5, 2026. [Source repository](https://github.com/pypa/virtualenv)

Its 21.15.0 release drops [Python 3.8](https://since.dev/calendar/python/3.8.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [20.0.0](#v-20-0-0) to [21.15.12](#v-21-15-12): 135 breaking changes in 14 versions.
- From [16.0.0](#v-16-0-0) to [21.15.12](#v-21-15-12): 231 breaking changes in 17 versions.

## virtualenv 21.15.12 breaking changes

virtualenv 21.15.12, released November 21, 2026: 5 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](https://github.com/pypa/virtualenv/releases/tag/21.15.12)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.12)
- **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](https://pypi.org/project/virtualenv/21.15.12/)
- **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](https://pypi.org/project/virtualenv/21.15.12/)
- **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](https://pypi.org/project/virtualenv/21.15.12/)

## virtualenv 21.15.10 breaking changes

virtualenv 21.15.10, released November 20, 2026: 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](https://pypi.org/project/virtualenv/21.15.10/)
- **Removed** `virtualenv.activation.python.activate_this.prev_length`  

virtualenv.activation.python.activate_this.prev_length was removed in virtualenv 21.15.10 [pypi.org](https://pypi.org/project/virtualenv/21.15.10/)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.10)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.10)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.10)
- **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](https://pypi.org/project/virtualenv/21.15.10/)
- **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](https://pypi.org/project/virtualenv/21.15.10/)
- **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](https://pypi.org/project/virtualenv/21.15.10/)
- **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](https://pypi.org/project/virtualenv/21.15.10/)
- **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](https://pypi.org/project/virtualenv/21.15.10/)

## virtualenv 21.15.8 breaking changes

virtualenv 21.15.8, released November 17, 2026: 2 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](https://pypi.org/project/virtualenv/21.15.8/)
- **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](https://pypi.org/project/virtualenv/21.15.8/)

## virtualenv 21.15.7 breaking changes

virtualenv 21.15.7, released November 17, 2026: 3 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](https://pypi.org/project/virtualenv/21.15.7/)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.7)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.7)

## virtualenv 21.15.6 breaking changes

virtualenv 21.15.6, released November 6, 2026: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.6)

## virtualenv 21.15.3 breaking changes

virtualenv 21.15.3, released November 3, 2026: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.3)

## Older versions

12 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### virtualenv 21.15.2 breaking changes

virtualenv 21.15.2, released October 30, 2026: 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](https://github.com/pypa/virtualenv/releases/tag/21.15.2)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.2)

### virtualenv 21.15.1 breaking changes

virtualenv 21.15.1, released October 28, 2026: 2 breaking changes.

- **Removed** `virtualenv.util.path.copytree`  

virtualenv.util.path.copytree was removed in virtualenv 21.15.1 [pypi.org](https://pypi.org/project/virtualenv/21.15.1/)
- **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](https://pypi.org/project/virtualenv/21.15.1/)

### virtualenv 21.15.0 breaking changes

virtualenv 21.15.0, released October 27, 2026: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/21.15.0)

### virtualenv 21.5.1 breaking changes

virtualenv 21.5.1, released June 16, 2026: 2 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](https://github.com/pypa/virtualenv/releases/tag/21.5.1)
- **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](https://pypi.org/project/virtualenv/21.5.1/)

### virtualenv 21.5.0 breaking changes

virtualenv 21.5.0, released June 13, 2026: 3 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](https://github.com/pypa/virtualenv/releases/tag/21.5.0)
- **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](https://github.com/pypa/virtualenv/releases/tag/21.5.0)

And 1 more in this version.

### virtualenv 21.4.3 breaking changes

virtualenv 21.4.3, released June 11, 2026: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/21.4.3)

### virtualenv 21.4.0 breaking changes

virtualenv 21.4.0, released May 28, 2026: 2 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](https://pypi.org/project/virtualenv/21.4.0/)
- **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](https://pypi.org/project/virtualenv/21.4.0/)

### virtualenv 21.0.0 breaking changes

virtualenv 21.0.0, released February 25, 2026: 100 breaking changes.

- **Removed** `virtualenv.discovery.builtin.PathPythonInfo`  

virtualenv.discovery.builtin.PathPythonInfo was removed in virtualenv 21.0.0 [pypi.org](https://pypi.org/project/virtualenv/21.0.0/)
- **Removed** `virtualenv.discovery.cached_py_info.___all___`  

virtualenv.discovery.cached_py_info.\_\_\_all\_\_\_ was removed in virtualenv 21.0.0 [pypi.org](https://pypi.org/project/virtualenv/21.0.0/)

And 98 more in this version.

### virtualenv 20.0.0 breaking changes

virtualenv 20.0.0, released February 10, 2020: 93 breaking changes.

- **Removed** `virtualenv_support`  

virtualenv_support was removed in virtualenv 20.0.0 [pypi.org](https://pypi.org/project/virtualenv/20.0.0/)
- **Removed** `virtualenv.ABI_FLAGS`  

virtualenv.ABI_FLAGS was removed in virtualenv 20.0.0 [pypi.org](https://pypi.org/project/virtualenv/20.0.0/)

And 91 more in this version.

### virtualenv 20.0.0b2 breaking changes

virtualenv 20.0.0b2, released February 10, 2020: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/20.0.0b2)

### virtualenv 20.0.0b1 breaking changes

virtualenv 20.0.0b1, released February 10, 2020: 2 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](https://github.com/pypa/virtualenv/releases/tag/20.0.0b1)
- **Default changed** `--download`  

Virtualenv no longer downloads seed packages by default. Pass --download explicitly if you need the old behavior. [github.com](https://github.com/pypa/virtualenv/releases/tag/20.0.0b1)

### virtualenv 16.0.0 breaking changes

virtualenv 16.0.0, released May 16, 2018: 1 breaking change.

- **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](https://github.com/pypa/virtualenv/releases/tag/16.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
