-
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Refactor Python lockfile validation (#14330)
Prework for adding validation of user lockfiles. This has four main changes: 1. Move inner helper function for tool lockfiles to a dedicated function 2. DRY Pex rule for metadata, including by making metadata parsing lazy. Now `pex.py` does not deal with `--invalid-lockfile-behavior` at all. 3. Simplify integration test for lockfile validation. Now that `pex.py` does not handle `--invalid-lockfile-behavior` at all, we don't need to test every permutation of it - we have unit tests in `pex_requirements.py` for that. 4. Some simplifications for `pex_requirements_test.py`. [ci skip-rust]
- Loading branch information
1 parent
30b5899
commit 331352e
Showing
4 changed files
with
174 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.