Skip to content

Commit 6d6f846

Browse files
committed
update docs in anticipation
1 parent 2dfb6fa commit 6d6f846

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,6 @@ requirements:
533533
- numpy
534534
run:
535535
- python
536-
- {{ pin_compatible("numpy") }}
537536
```
538537

539538
With MPI, openmpi is required for the build platform as the compiler wrappers are binaries, but mpich is not required as the compiler wrappers are scripts (see [example](https://github.com/conda-forge/mpi4py-feedstock/blob/743d379c4a04/recipe/meta.yaml#L37)):
@@ -770,28 +769,14 @@ host:
770769
- numpy
771770
```
772771

773-
At the time of writing (January, 2025), above is equivalent to the following,
772+
At the time of writing (June 2025), above is equivalent to the following,
774773

775774
```yaml
776775
host:
777-
- numpy 1.22 # [py==39]
778-
- numpy 1.22 # [py==310]
779-
- numpy 1.23 # [py==311]
780-
- numpy 1.26 # [py==312]
776+
- numpy 2.*
781777
```
782778

783-
though the ongoing migration for numpy 2.0 has already been applied to many
784-
feedstocks, in which case the pinning looks like
785-
786-
```yaml
787-
host:
788-
- numpy 2.0 # [py==39]
789-
- numpy 2.0 # [py==310]
790-
- numpy 2.0 # [py==311]
791-
- numpy 2.0 # [py==312]
792-
```
793-
794-
See the pinning repository for what the pinning corresponds to at time of writing
779+
See the pinning repository for what the pinning corresponds to at any given time
795780
[https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml#L742](https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml#L742)
796781

797782
In either case, the actual runtime requirements are determined through numpy's
@@ -800,6 +785,7 @@ run-export, which is:
800785
- `>=1.2x,<2` if you're building against numpy 1.2x
801786
- `>=1.19,<3` if you're building against numpy 2.0
802787
- `>=1.21,<3` if you're building against numpy 2.1 or 2.2
788+
- `>=1.23,<3` if you're building against numpy 2.3
803789

804790
If the package you are building has a higher minimum requirement for numpy, please add this under `run`:
805791

0 commit comments

Comments
 (0)