-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow selectors containing variants from cbc
- Loading branch information
Showing
5 changed files
with
145 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
**Added:** | ||
|
||
* `noarch` packages can now include keys from their `conda_build_config.yaml` as selectors in their recipe. | ||
This allows for building multiple variants of a `noarch` packages, e.g., to use different dependencies depending on the Python version as runtime. | ||
|
||
**Changed:** | ||
|
||
* <news item> | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* <news item> | ||
|
||
**Security:** | ||
|
||
* <news item> |
3 changes: 3 additions & 0 deletions
3
tests/recipes/noarch_selector_variants/conda_build_config.yaml
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,3 @@ | ||
python_leq_310: | ||
- False | ||
- True |
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,63 @@ | ||
{% set version = "1.34.41" %} | ||
{% set hash = "3a6943c75a0d292ab6e008bce58ee6503776969479f991f5ad03a5d877af29ae" %} | ||
|
||
package: | ||
name: botocore | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.org/packages/source/b/botocore/botocore-{{ version }}.tar.gz | ||
sha256: {{ hash }} | ||
|
||
build: | ||
number: 1 | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv | ||
|
||
requirements: | ||
build: | ||
- cross-python_{{ target_platform }} # [build_platform != target_platform] | ||
- python # [build_platform != target_platform] | ||
host: | ||
- python | ||
- pip | ||
run: | ||
- python | ||
- jmespath >=0.7.1,<2.0.0 | ||
- python-dateutil >=2.1,<3.0.0 | ||
- urllib3 >=1.25.4,<1.27 # [python_leq_310] | ||
- urllib3 >=1.25.4,<2.1 # [not python_leq_310] | ||
- python <3.10 # [python_leq_310] | ||
- python >=3.10 # [not python_leq_310] | ||
|
||
test: | ||
imports: | ||
- botocore | ||
- botocore.docs | ||
- botocore.vendored | ||
- botocore.vendored.requests | ||
- botocore.vendored.requests.packages | ||
- botocore.vendored.requests.packages.urllib3 | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: http://aws.amazon.com/sdk-for-python/ | ||
license_file: LICENSE.txt | ||
license: Apache-2.0 | ||
license_url: http://aws.amazon.com/apache2.0/ | ||
license_family: Apache | ||
summary: Low-level, data-driven core of boto 3. | ||
description: | | ||
Provides the core functionality of Boto3, the AWS SDK for Python | ||
dev_url: https://github.com/boto/botocore | ||
doc_url: https://botocore.readthedocs.io/en/latest/ | ||
|
||
extra: | ||
recipe-maintainers: | ||
- hajapy | ||
- tkelman | ||
- ocefpaf | ||
- '0xbe7a' |
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