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

update numpy to 2.2.3, scipy to 1.15.2 #39655

Merged
merged 19 commits into from
Mar 22, 2025
Merged

Conversation

dimpase
Copy link
Member

@dimpase dimpase commented Mar 9, 2025

this is long overdue update.

It needs building tools bumped, too, thus dependencies

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

build tools need a bump

@dcoudert
Copy link
Contributor

I tried on macOS with python 3.12 and it seems ok to me.
Note that I had to manually download pythran from pypi.
Should we do more tests ? Otherwise, I'm ok to validate the 4 PRs.

@dimpase
Copy link
Member Author

dimpase commented Mar 11, 2025

Note that I had to manually download pythran from pypi.

what exactly was happening? a wrong URL?

@dimpase
Copy link
Member Author

dimpase commented Mar 11, 2025

@dcoudert - indeed, the URL was not correct.
911fcb3
should fix it

@dimpase dimpase force-pushed the numpy223scipy1152 branch from 9ee2dd2 to e22f443 Compare March 11, 2025 15:34
@dcoudert dcoudert mentioned this pull request Mar 11, 2025
5 tasks
Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@dcoudert dcoudert mentioned this pull request Mar 11, 2025
5 tasks
@dcoudert
Copy link
Contributor

There is an error building scipy in some CI : https://github.com/sagemath/sage/actions/runs/13795446150/job/38585879952?pr=39655#step:9:2833
A wrong version of meson is used. I don't undestand why.

@dimpase
Copy link
Member Author

dimpase commented Mar 12, 2025

There is an error building scipy in some CI : https://github.com/sagemath/sage/actions/runs/13795446150/job/38585879952?pr=39655#step:9:2833 A wrong version of meson is used. I don't undestand why.

because the system meson was used, and the lower bound on the version was too low. The latest commit fixes it.

meson one of the few Python packages which are checked of presence on the OS in a different to the rest of them way.

I've also made it easy for you to bump your branch on #39676 to include this fix

Copy link

Documentation preview for this PR (built with commit 07e6461; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 19, 2025
sagemathgh-39655: update numpy to 2.2.3, scipy to 1.15.2
    
this is long overdue update.

It needs building  tools bumped, too, thus dependencies

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies
build tools need a bump
-  sagemath#39652 : pythran
- sagemath#39653 : ninja
-  sagemath#39654: pybind11
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - sagemath#12345: short description why this is a dependency -->
<!-- - sagemath#34567: ... -->
    
URL: sagemath#39655
Reported by: Dima Pasechnik
Reviewer(s): David Coudert
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 19, 2025
sagemathgh-39676: update networkx to 3.4.2
    
With the update of numpy and scipy (sagemath#39655), we can update networkx to
version 3.4.2.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

sagemath#39655
    
URL: sagemath#39676
Reported by: David Coudert
Reviewer(s): Dima Pasechnik
vbraun pushed a commit to vbraun/sage that referenced this pull request Mar 22, 2025
sagemathgh-39676: update networkx to 3.4.2
    
With the update of numpy and scipy (sagemath#39655), we can update networkx to
version 3.4.2.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->

- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.

### ⌛ Dependencies

sagemath#39655
    
URL: sagemath#39676
Reported by: David Coudert
Reviewer(s): Dima Pasechnik
@vbraun vbraun merged commit 943b1b4 into sagemath:develop Mar 22, 2025
25 of 37 checks passed
@user202729 user202729 mentioned this pull request Mar 23, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants