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

PEP 668: "Graceful cooperation between external and Python package managers" #2056

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

geofft
Copy link
Contributor

@geofft geofft commented Aug 24, 2021

This PEP came out of discussions at the "Python in Distros" sprint at PyCon in May. It's been discussed a bit on linux-sig.

cc @doko42 @FFY00 @dstufft @uranusjr @stefanor @ehashman @pradyunsg.

@FFY00
Copy link
Member

FFY00 commented Aug 24, 2021

I think we can just pick an arbitrary PEP number, probably under the PEP 5XX range.

@JelleZijlstra
Copy link
Member

You can take PEP 668.

@uranusjr
Copy link
Contributor

Looks like the build script does not like @dstufft and @pradyunsg switching to new email addresses.

@geofft geofft changed the title New PEP: "Graceful cooperation between external and Python package managers" PEP 668: "Graceful cooperation between external and Python package managers" Aug 24, 2021
@geofft
Copy link
Contributor Author

geofft commented Aug 24, 2021

Numbered as PEP 668, switched to the email addresses @dstufft and @pradyunsg are already using in this repo, and set Discussions-To pointing to the Discourse thread.

pep-0668.rst Show resolved Hide resolved
.github/CODEOWNERS Outdated Show resolved Hide resolved
Copy link

@jezdez jezdez left a comment

Choose a reason for hiding this comment

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

Hi all, I work on Conda in my day job and have met with @geofft to talk about Conda's relation with this, just thought I add a few notes here for posterity.

``conda`` command generally only operates on Conda-created
environments, most of the concerns in this document do not apply
to ``conda`` when acting as a Python-specific package manager.)
distro package manager
Copy link

Choose a reason for hiding this comment

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

FWIW Conda supports installing Python packages via the pip CLI in its environment.yml files: https://github.com/conda/conda/blob/master/tests/conda_env/support/advanced-pip/environment.yml

So making sure we know where packages came from will come in handy in the future.

Plus, there is a off-by-default feature to take Python packages into consideration in the dependency solver stage: https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/pip-interoperability.html It's likely that this will be enabled by default in the future to improve interoperability since it's something Conda users have requested heavily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants