8000 Fix Pex locking for source requirements. by jsirois · Pull Request #2750 · pex-tool/pex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Pex locking for source requirements. #2750

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
merged 3 commits into from
Apr 29, 2025
Merged

Conversation

jsirois
Copy link
Member
@jsirois jsirois commented Apr 28, 2025

Previously, locking VCS requirements would fail for projects with
non-normalized project names, e.g.: PySocks vs its normalized form of
pysocks.

Additionally, locking would fail when the requirements were specified
at least in part via requirements files (-r / --requirements) and
there was either a local project or a VCS requirement contained in the
requirements files.

jsirois added 3 commits April 28, 2025 14:44
Previously, locking VCS requirements would fail for projects with
non-normalized project names, e.g.: PySocks vs its normalized form of
pysocks.

Additionally, locking would fail when the requirements were specified
at least in part via requirements files (`-r` / `--requirements`) and
there was either a local project or a VCS requirement contained in the
requirements files.
Get rid of `os.chdir` fixture which was inherently unsafe and also fix
the Pex build backend to not ask setuptools to help calculate extra
build requirements - we know the answers for these ourselves.
Allow for project names containing dash.
@jsirois jsirois merged commit 149e91a into pex-tool:main Apr 29, 2025
48 of 50 checks passed
@jsirois jsirois deleted the lock/fixes branch April 29, 2025 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0