github pypa/virtualenv 21.15.9

one hour ago

Bug fixes

  • Delete app data trees holding files past the 260 character path limit on Windows without long path support. --reset-app-data failed with WinError 145 after removing part of the seed pip image, so later environments got a pip that could not be imported, and the staging folder of a killed seed image build failed every later run (#3568) by @darrenhuai and @gaborbernat.
  • Reseeding an environment with --symlink-app-data no longer fails with FileExistsError and leaves it without pip when pip was upgraded or reinstalled by pip itself, including bytecode written after that install (#3577) by @gaborbernat.
  • Stop seeding a release yanked from the package index once the next periodic update or --upgrade-embed-wheels runs. The yank flags come from the index pip is configured with, so an index that needs keyring credentials or a client certificate keeps its logged releases (#3570) by @AP24110011695 and @gaborbernat.
  • Stop the bash, csh and PowerShell activators from adding an empty entry when PATH is empty. On POSIX an empty entry searches the current directory, so activating with an empty PATH put it on the search path (#3572) by @gaborbernat.

Performance

  • Defer eligible imports on Python 3.15 until virtualenv uses them, reducing package and CLI startup time (#3580) by @gaborbernat.

🐍 PyPI release

📜 Full Changelog

Don't miss a new virtualenv release

NewReleases is sending notifications on new releases.