Skip to content

Commit

Permalink
fix: make the recipe parsable and fix failing build (#910)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
conda-forge-admin authored Nov 23, 2024
2 parents 9e135bc + 3e87e62 commit b19add5
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 41 deletions.
4 changes: 2 additions & 2 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cdt_name:
- cos7
- conda
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
- quay.io/condaforge/linux-anvil-x86_64:alma9
2 changes: 1 addition & 1 deletion .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
UPLOAD_PACKAGES: True
os: ubuntu
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
steps:

- name: Checkout code
Expand Down
7 changes: 7 additions & 0 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ requirements:

test:
commands:
{% for subdir in ("noarch", "linux-64", "linux-armv7l", "linux-ppc64le", "osx-64", "osx-arm64", "win-32", "win-64") %}
- test -e $PREFIX/{{ subdir }}/patch_instructions.json
{% endfor %}
- test -e $PREFIX/noarch/patch_instructions.json
- test -e $PREFIX/linux-64/patch_instructions.json
- test -e $PREFIX/linux-armv7l/patch_instructions.json
- test -e $PREFIX/linux-ppc64le/patch_instructions.json
- test -e $PREFIX/osx-64/patch_instructions.json
- test -e $PREFIX/osx-arm64/patch_instructions.json
- test -e $PREFIX/win-32/patch_instructions.json
- test -e $PREFIX/win-64/patch_instructions.json

about:
summary: generate tweaks to index metadata, hosted separately from anaconda.org index
Expand Down
42 changes: 7 additions & 35 deletions recipe/patch_yaml_model.json
Original file line number Diff line number Diff line change
Expand Up @@ -2008,65 +2008,37 @@
"title": "Add Track Features"
},
"replace_depends": {
"allOf": [
{
"$ref": "#/$defs/_Old2New"
}
],
"$ref": "#/$defs/_Old2New",
"default": null,
"description": "Replace 'old' dependency with 'new'."
},
"replace_constrains": {
"allOf": [
{
"$ref": "#/$defs/_Old2New"
}
],
"$ref": "#/$defs/_Old2New",
"default": null,
"description": "Replace 'old' constraint with 'new'."
},
"rename_depends": {
"allOf": [
{
"$ref": "#/$defs/_Old2New"
}
],
"$ref": "#/$defs/_Old2New",
"default": null,
"description": "Rename 'old' dependency as 'new', leaving version and build string fields untouched."
},
"rename_constrains": {
"allOf": [
{
"$ref": "#/$defs/_Old2New"
}
],
"$ref": "#/$defs/_Old2New",
"default": null,
"description": "Rename 'old' constraint as 'new', leaving version and build string fields untouched."
},
"relax_exact_depends": {
"allOf": [
{
"$ref": "#/$defs/_Name_MaxPin_UpperBound"
}
],
"$ref": "#/$defs/_Name_MaxPin_UpperBound",
"default": null,
"description": "Relax an exact pin (e.g., `blah ==1.0.0`) to something like blah `>=1.0.0` and possibly with `,<2.0a0` added if max_pin='x'"
},
"tighten_depends": {
"allOf": [
{
"$ref": "#/$defs/_Name_MaxPin_UpperBound"
}
],
"$ref": "#/$defs/_Name_MaxPin_UpperBound",
"default": null,
"description": "Make a dependency version constraint stricter"
},
"loosen_depends": {
"allOf": [
{
"$ref": "#/$defs/_Name_MaxPin_UpperBound"
}
],
"$ref": "#/$defs/_Name_MaxPin_UpperBound",
"default": null,
"description": "Make a dependency version constraint looser"
}
Expand Down

0 comments on commit b19add5

Please sign in to comment.