-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for
virtual_specs
checks before installation (#809)
* Add support for virtual_specs checks before installation * ignore shellcheck here * run inside PKG too (for cases other than __osx) * pre-commit * add news * update docs * reveal exceptions just to make sure * Make sure we fail for the right reason * return the process * ignore errors, process tuple * fix test on windows * Pass as unescaped variable * adjust error message for .pkg * Adjust docs * validate virtual_specs * use <= for osx * add comment about solver=classic * typo * Parse , (AND) in __osx Co-authored-by: Marco Esters <[email protected]> * Fix PKG os-version control * pre-commit * Add Bash-only checks for SH installers * fix tests * make it posix * pre-commit * adjust expected output in test * pre-commit * fix dict access? * always provide a value even if falsey * Fix TypeError * better test? * add workaround for musl * star this too * use find --------- Co-authored-by: Marco Esters <[email protected]>
- Loading branch information
1 parent
53c93c5
commit 0d275c1
Showing
15 changed files
with
299 additions
and
32 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: virtual_specs | ||
|
||
version: 0.0.1 | ||
|
||
keep_pkgs: True | ||
|
||
channels: | ||
- conda-forge | ||
|
||
specs: | ||
- ca-certificates | ||
|
||
virtual_specs: | ||
- __osx>=30,<31 # [osx] | ||
- __glibc>=20 # [linux] | ||
- __win<0 # [win] | ||
|
||
initialize_by_default: false | ||
register_python: false | ||
check_path_spaces: false | ||
check_path_length: false | ||
installer_type: all |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### Enhancements | ||
|
||
* A new setting `virtual_specs` allows the installer to run some solver checks before the installation proceeds. Useful for checking whether certain virtual package versions can be satisfied. (#809) | ||
|
||
### Bug fixes | ||
|
||
* <news item> | ||
|
||
### Deprecations | ||
|
||
* <news item> | ||
|
||
### Docs | ||
|
||
* <news item> | ||
|
||
### Other | ||
|
||
* <news item> |
Oops, something went wrong.