Skip to content

Commit 127777d

Browse files
authored
Merge pull request #2363 from conda-forge/docs-nap
doc: add more notes for noarch: python
2 parents 31c3359 + 068fb2f commit 127777d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,7 @@ In order to qualify as a noarch python package, all of the following criteria mu
14801480
in the `build` section of `meta.yaml`
14811481
- No activate scripts
14821482

1483-
All recipes employing `noarch: python` should use the `python_min` variable per the following example:
1483+
All recipes employing `noarch: python` should usually use the `python_min` variable per the following example:
14841484

14851485
```yaml title="recipe/meta.yaml"
14861486
name: package
@@ -1503,7 +1503,15 @@ test:
15031503
# ...
15041504
```
15051505

1506-
See [CFEP-25](https://github.com/conda-forge/cfep/blob/main/cfep-25.md) for more details on this syntax.
1506+
See [CFEP-25](https://github.com/conda-forge/cfep/blob/main/cfep-25.md) for more details on this syntax. If you
1507+
need to override this syntax, you can add a `conda_build_config.yaml` file in your recipe like this:
1508+
1509+
```yaml title="recipe/conda_build_config.yaml"
1510+
python_min:
1511+
- 3.10
1512+
```
1513+
1514+
You will need to [rerender the feedstock](../infrastructure/#conda-forge-admin-please-rerender) after making this change.
15071515

15081516
:::note
15091517

0 commit comments

Comments
 (0)