-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow pin overrides via requested specs in the CLI (#289)
* add compatible_matchspecs (MatchSpec.match is for PackageRecords only) * more useful exception * add test * add news * pre-commit * pre-commit * fix boolean logic * simplify * commit progress so far * remove test * add new exception for request and pinned errors * do not allow pinned and requested specs * cleanup * pre-commit * add tests * pre-commit * add docs * ensure pins are in SolverOutputState.specs even if not explicit * format exception * raise earlier, no index needed * fix state tests * pre-commit * relax test constraints * better error messages in unsolvable pins * fix test * pre-commit * override channels * amend news * fix test * override channels here too * Apply suggestions from code review Co-authored-by: Travis Hathaway <travis.j.hathaway@gmail.com> * Apply suggestions from code review * Allow only CLI specs as long as compatible with pins (#294) * implement some compatibility checks * clean up a bit and add more tests * pre-commit * be explicit about channels * simplify error logic for installed pins * pre-commit --------- Co-authored-by: Travis Hathaway <travis.j.hathaway@gmail.com>
- Loading branch information
1 parent
c82b9a0
commit a07d994
Showing
9 changed files
with
345 additions
and
96 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
Oops, something went wrong.