Skip to content

Updates to support numpy 2 - #366

Open
gelzinyte wants to merge 10 commits into
mainfrom
elena/update-to-numpy-2
Open

Updates to support numpy 2#366
gelzinyte wants to merge 10 commits into
mainfrom
elena/update-to-numpy-2

Conversation

@gelzinyte

Copy link
Copy Markdown
Contributor

Hi!

I'd like to lift the hard numpy<2 cap, so that Workflow can be used with numpy2-only packages (e.g., fhi-vibes).

Small updates:

  • Three calls switched to use numpy-2 syntax
  • Changed project dependencies
  • Switched the GFN2-xTB backend from the xtb-python package (legacy; restricts to numpy<2) to tblite

Once this PR is merged, would it also be possible to issue a new PyPi release?

@gelzinyte
gelzinyte requested a review from bernstei August 14, 2026 18:22
@bernstei

Copy link
Copy Markdown
Contributor

Sounds good. We just updated to numpy 2 internally here as well. I'll review ASAP, but I'm not the one who owns the pypi. We can check the github automated actions - I suspect that if we tag with a new version it'll update on pypi automatically.

@hheenen

hheenen commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

I own the pypi - but I do believe it should just be automatic if you tag the new version. I'll follow here if there are problems.

@bernstei

Copy link
Copy Markdown
Contributor

Looks good to me

@bernstei

bernstei commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Looks like tests are failing, maybe on some ASE update changes? @gelzinyte can you fix those, or should I?

@bernstei

Copy link
Copy Markdown
Contributor

We should also think about ASE compatibility more generally. For example, MaxwellBoltzmannDistribution first switched from communicator to comm, and is now deprecated.

@gelzinyte

Copy link
Copy Markdown
Contributor Author

If ASE changes internally, not sure what we can do apart from updating compatibility as CI fails? We could guard the newest releases from messing up people's installs by setting an upper ASE version limit and bumping it manually once ASE-latest CI is green, for example

I have fixed a couple of other bugs I missed, but there also seems to be an issue with quip wheels. Let's see if those can be fixed directly here.

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.

3 participants