Title: In python3.11 getpath.py calculates zip path with default prefix in a venv which breaks venv created fron non-installed python · Issue #99370 · python/cpython · GitHub
Open Graph Title: In python3.11 getpath.py calculates zip path with default prefix in a venv which breaks venv created fron non-installed python · Issue #99370 · python/cpython
X Title: In python3.11 getpath.py calculates zip path with default prefix in a venv which breaks venv created fron non-installed python · Issue #99370 · python/cpython
Description: 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 ...
Open Graph Description: 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 cre...
X Description: 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 cre...
Opengraph URL: https://github.com/python/cpython/issues/99370
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"In python3.11 getpath.py calculates zip path with default prefix in a venv which breaks venv created fron non-installed python","articleBody":"\u003c!--\r\n If you're new to Python and you're not sure whether what you're experiencing is a bug, the CPython issue tracker is not\r\n the right place to seek help. Consider the following options instead:\r\n\r\n - reading the Python tutorial: https://docs.python.org/3/tutorial/\r\n - posting in the \"Users\" category on discuss.python.org: https://discuss.python.org/c/users/7\r\n - emailing the Python-list mailing list: https://mail.python.org/mailman/listinfo/python-list\r\n - searching our issue tracker (https://github.com/python/cpython/issues) to see if\r\n your problem has already been reported\r\n--\u003e\r\n\r\n# Bug report\r\n\r\nIn 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.\r\n\r\nThis change breaks a venv created from a non-installed python with a stdlib zip file.\r\n\r\nRelated discussion: [https://discuss.python.org/t/python3-11-seems-to-break-venv-created-from-non-system-python-with-zipped-stdlib/20874/7](https://discuss.python.org/t/python3-11-seems-to-break-venv-created-from-non-system-python-with-zipped-stdlib/20874/7)\r\n# Your environment\r\n\r\n\u003c!-- Include as many relevant details as possible about the environment you experienced the bug in --\u003e\r\n\r\n- CPython versions tested on: python3.11.0, main\r\n- Operating system and architecture:\r\nDebian 11. AMD64.\r\n\u003c!--\r\nYou can freely edit this text. Remove any lines you believe are unnecessary.\r\n--\u003e\r\n\n\n\u003c!-- gh-pr-number: gh-99371 --\u003e\n* PR: gh-99371\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99477 --\u003e\n* PR: gh-99477\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99483 --\u003e\n* PR: gh-99483\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99498 --\u003e\n* PR: gh-99498\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99523 --\u003e\n* PR: gh-99523\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99542 --\u003e\n* PR: gh-99542\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99550 --\u003e\n* PR: gh-99550\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/kkpattern","@type":"Person","name":"kkpattern"},"datePublished":"2022-11-11T11:03:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/99370/cpython/issues/99370"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:72980806-1b71-bc8e-6f2b-154ea76ff194 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B2DC:204531:147A1A8:1C0127A:69694CA9 |
| html-safe-nonce | c0fd14fefbbe0618294f2a9835f6b8c25f04a31938f6ab94e5f39308ce719f36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkRDOjIwNDUzMToxNDdBMUE4OjFDMDEyN0E6Njk2OTRDQTkiLCJ2aXNpdG9yX2lkIjoiMzk4MzE2NTczMjA2MzE0NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 77563711e61ebedd91c33492baf9353401a9168ade0ff5988405a4549f6293ab |
| hovercard-subject-tag | issue:1445311154 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/99370/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4eee3b2548b1ae6247452676c0db4dae2e6ee95a1457092f7a6874cc6d9b69d1/python/cpython/issues/99370 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4eee3b2548b1ae6247452676c0db4dae2e6ee95a1457092f7a6874cc6d9b69d1/python/cpython/issues/99370 |
| og:image:alt | 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 cre... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kkpattern |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width