Skip to content

Commit 4ee087c

Browse files
h-vetinarihmaarrfk
andcommitted
incorporate review suggestions
Co-Authored-By: Mark Harfouche <[email protected]>
1 parent e38b27a commit 4ee087c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/maintainer/knowledge_base.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ requirements:
534534
run:
535535
- python
536536
```
537+
For more details about numpy see the dedicated [section](#building-against-numpy).
537538

538539
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)):
539540

@@ -771,7 +772,7 @@ host:
771772

772773
At the time of writing (June 2025), above is equivalent to the following,
773774

774-
```yaml
775+
```yaml title="recipe/conda_build_config.yaml"
775776
host:
776777
- numpy 2.*
777778
```

news/2025-05-20-numpy-2-migration-closure.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@
33
NumPy 2.0 was a big change (the first major version in 15 years). For more than a year, we
44
have been migrating feedstocks from NumPy 1.x to NumPy 2.x, and while not every affected
55
feedstock has been done, we are planning to conclude the migration at the end of May.
6+
Note that NumPy 2 support is required for feedstocks that intend to support Python 3.13
7+
and above.
68

79
For feedstocks that are not compatible with v2.x yet, this means you will have to add
810

911
```yaml
1012
numpy:
11-
- 1.26 # or similar
13+
- 1.26 # or 1.25
1214
```
1315
14-
to your `recipe/conda_build_config.yaml`, and then rerender.
16+
to your `recipe/conda_build_config.yaml`, and then rerender.Pins below 1.25 are not possible
17+
if your feedstock supports Python 3.12, as NumPy 1.25 was the first version with support for
18+
that Python version (and it will not be possible going forward to pin different NumPy versions
19+
for different Python versions).

0 commit comments

Comments
 (0)