Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-lang/python, dev-python/pypy3: Implement PEP 668 marker #29260

Closed
wants to merge 3 commits into from

Conversation

mgorny
Copy link
Member

@mgorny mgorny commented Jan 25, 2023

https://peps.python.org/pep-0668/

This PEP proposes a mechanism for a Python installation to communicate to tools like pip that its global package installation context is managed by some means external to Python, such as an OS package manager. It specifies that Python-specific package management tools should neither install nor remove packages into the interpreter’s global context, by default, and should instead guide the end user towards using a virtual environment.

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @mgorny
Areas affected: ebuilds
Packages affected: dev-lang/python, dev-python/gentoo-common, dev-python/pypy3

dev-lang/python: @gentoo/python
dev-python/gentoo-common: @gentoo/proxy-maint (new package)
dev-python/pypy3: @gentoo/python

Linked bugs

No bugs to link found. If your pull request references any of the Gentoo bug reports, please add appropriate GLEP 66 tags to the commit message and request reassignment.

If you do not receive any reply to this pull request, please open or link a bug to attract the attention of maintainers.


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added new package The PR is adding a new package. assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Jan 25, 2023
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-01-25 13:18 UTC
Newest commit scanned: 23bbcbd
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/3b1498749c/output.html

Copy link
Member

@thesamesam thesamesam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find, thanks. Have you verified that some tool acts differently as a result?

dev-python/gentoo-common/metadata.xml Show resolved Hide resolved
Add a new package to keep the common EXTERNALLY-MANAGED file shared
between implementations.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
@mgorny
Copy link
Member Author

mgorny commented Jan 26, 2023

Done and done.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-01-26 06:43 UTC
Newest commit scanned: 13ed455
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/8449d35ee1/output.html

@mgorny
Copy link
Member Author

mgorny commented Jan 29, 2023

Great find, thanks. Have you verified that some tool acts differently as a result?

Ah, sorry. Missed your question.

The current pip version doesn't have it yet but ToT does:

scrn

freijon pushed a commit to freijon/gentoo that referenced this pull request Jan 31, 2023
Closes: gentoo#29260
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). new package The PR is adding a new package. no bug found No Bug/Closes found in the commits.
Projects
None yet
5 participants