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 upper numpy revision to the stable 2.1 #1288

Open
Tracked by #1314
sandcha opened this issue Oct 29, 2024 · 2 comments
Open
Tracked by #1314

Update upper numpy revision to the stable 2.1 #1288

sandcha opened this issue Oct 29, 2024 · 2 comments
Labels
kind:build Pull requests that update a dependency file

Comments

@sandcha
Copy link
Collaborator

sandcha commented Oct 29, 2024

Hi there!

I really enjoy OpenFisca, but I recently encountered an issue.

Here is what I have seen:

The current stable revision is numpy 2.1.
While today openfisca-core needs numpy 1.26.
So a major bump occurred between our used version and the stable one.

numpy 2.1 is still compatible with Python 3.10 and Python 3.11 but it has dropped the support for Python 3.9.
While openfisca-core should still be compatible with Python 3.9.

Here is what I expected to happen:

As openfisca-core syntax is connected to numpy, I expected some consistency between its supported Python and numpy revisions. And I hoped for the latest major numpy version.

Here is what actually happened:

Our currently supported numpy version is not compatible with our currently supported Python revisions.
We need to update numpy. And I understand that this will come with an update of Python; see #1287.

Context

I identify more as a:

  • Analyst (I make macroscopic computations on real populations).
  • Developer (I create tools that use the existing OpenFisca code).
@sandcha
Copy link
Collaborator Author

sandcha commented Nov 7, 2024

Connected to #1289 for Python update. We can hope that it will remove Python 3.9 that isn't compatible with numpy 2.1.

@bonjourmauko
Copy link
Member

I've been testing against numpy 2.1 for a while, there is a lot of the required work already done :)

@bonjourmauko bonjourmauko changed the title Update numpy to the stable 2.1 revision? Update upper numpy revision to the stable 2.1 Nov 21, 2024
@bonjourmauko bonjourmauko added the kind:build Pull requests that update a dependency file label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:build Pull requests that update a dependency file
Projects
Development

No branches or pull requests

2 participants