8000 Add support for local version specs in PYPI installed packages. by matthewwardrop · Pull Request #9025 · conda/conda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for local version specs in PYPI installed packages. #9025

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

Merged

Conversation

matthewwardrop
Copy link
Contributor
@matthewwardrop matthewwardrop commented Jul 30, 2019

Currently the PYPI version regex matcher in conda does not support local version identifiers as defined here: https://www.python.org/dev/peps/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions . The local version spec allows you to add something like: '1.2.1+<githash>'. In some internal environments (such as ours) local versions are occasionally used, and so this breaks our sharing of conda environments using conda env export.

This patch adds '+' to the PARTIAL_PYPI_SPEC_PATTERN along with an additional unit test.

I just signed the CLA, but I'm not sure how long it take to propagate :).

@matthewwardrop matthewwardrop requested a review from a team as a code owner July 30, 2019 20:05
@matthewwardrop matthewwardrop force-pushed the matthewwardrop/fix_local_pypi_versions branch from 386975e to bc7b4e1 Compare July 30, 2019 20:07
@msarahan
Copy link
Contributor

Thanks! The CLA is a manual thing. I confirm that you have signed it. This looks fine to me. Merging.

@msarahan msarahan merged commit 83b0f41 into conda:master Jul 31, 2019
@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This pull request has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue or pull request if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 24, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0