cpython icon indicating copy to clipboard operation
cpython copied to clipboard

In python3.11 getpath.py calculates zip path with default prefix in a venv which breaks venv created fron non-installed python

Open kkpattern opened this issue 3 years ago • 0 comments

Bug report

In python3.11, getpath.py calculates zip path with default prefix in a venv. Before python3.11, the zip path is calculated with prefix instead if in a venv.

This change breaks a venv created from a non-installed python with a stdlib zip file.

Related discussion: https://discuss.python.org/t/python3-11-seems-to-break-venv-created-from-non-system-python-with-zipped-stdlib/20874/7

Your environment

  • CPython versions tested on: python3.11.0, main
  • Operating system and architecture: Debian 11. AMD64.
  • PR: gh-99371

kkpattern avatar Nov 11 '22 11:11 kkpattern