Skip to content

Commit

Permalink
Merge pull request #2360 from conda-forge/beckermr-patch-1
Browse files Browse the repository at this point in the history
fix: update `noarch: python` syntax to use more compatible form
  • Loading branch information
beckermr authored Nov 7, 2024
2 parents 776d2d3 + 6e6ac13 commit 1513f60
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/maintainer/knowledge_base.md
Original file line number Diff line number Diff line change
Expand Up @@ -1483,8 +1483,6 @@ In order to qualify as a noarch python package, all of the following criteria mu
All recipes employing `noarch: python` should use the `python_min` variable per the following example:

```yaml title="recipe/meta.yaml"
{% set python_min = python_min|default("0.1a0") %}
name: package
source:
# ...
Expand All @@ -1493,15 +1491,15 @@ build:
# ...
requirements:
host:
- python {{ python_min }}.*
- python {{ python_min }}
# ...
run:
- python >={{ python_min }}
# ...
test:
requires:
- python ={{ python_min }}
- python {{ python_min }}
# ...
```

Expand Down

0 comments on commit 1513f60

Please sign in to comment.