-
-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal] Improve the error message for stale/invalid lockfiles (#12618
) Refactors the `build_pex` rule to only have the code for erroring/warning on invalid lockfiles in the one place, and updates the corresponding exception and log messages. I'm not 100% sold on the contents of the log message, but I'm happy enough for now. Here's a sample warning: > ```13:09:40.67 [WARN] Invalid lockfile for PEX request `black.pex`. If your requirements or interpreter constraints have changed, follow the instructions in the header of the lockfile to regenerate it. Otherwise, ensure your interpreter constraints are compatible with the constraints specified in the lockfile.``` Closes #12541 [ci skip-rust] [ci skip-build-wheels]
- Loading branch information
Christopher Neugebauer
authored
Aug 27, 2021
1 parent
8415c30
commit 2a3e950
Showing
4 changed files
with
161 additions
and
49 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
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