Skip to content

Commit 1513f60

Browse files
authored
Merge pull request #2360 from conda-forge/beckermr-patch-1
fix: update `noarch: python` syntax to use more compatible form
2 parents 776d2d3 + 6e6ac13 commit 1513f60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,8 +1483,6 @@ In order to qualify as a noarch python package, all of the following criteria mu
14831483
All recipes employing `noarch: python` should use the `python_min` variable per the following example:
14841484

14851485
```yaml title="recipe/meta.yaml"
1486-
{% set python_min = python_min|default("0.1a0") %}
1487-
14881486
name: package
14891487
source:
14901488
# ...
@@ -1493,15 +1491,15 @@ build:
14931491
# ...
14941492
requirements:
14951493
host:
1496-
- python {{ python_min }}.*
1494+
- python {{ python_min }}
14971495
# ...
14981496
run:
14991497
- python >={{ python_min }}
15001498
# ...
15011499
15021500
test:
15031501
requires:
1504-
- python ={{ python_min }}
1502+
- python {{ python_min }}
15051503
# ...
15061504
```
15071505

0 commit comments

Comments
 (0)