Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing numpy lower bounds to scipy #824

Merged
merged 2 commits into from
Aug 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions recipe/patch_yaml/scipy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# missing lower bounds for numpy after 2.0 migration, c.f.
# https://github.com/conda-forge/numpy-feedstock/issues/324
# the upper bound has been there correctly, c.f.
# https://github.com/conda-forge/scipy-feedstock/commit/0711eb22f502ce2f1ea1bd7a22ffd4b8f73b73a7
if:
name: scipy
version: 1.14.0

then:
# https://github.com/scipy/scipy/blob/v1.14.0/pyproject.toml#L55
- replace_depends:
old: numpy <2.3
new: numpy >=1.23.5,<2.3

---

if:
name: scipy
version_lt: 1.14.0
version_ge: 1.13.0

then:
# https://github.com/scipy/scipy/blob/v1.13.1/pyproject.toml#L55
- replace_depends:
old: numpy <2.3
new: numpy >=1.22.4,<2.3

---

# 2024/01 -- hmaarrfk
# scipy version 1.12.0 build 2 was patched
# for compatibility with libopenblas 0.3.26
Expand Down