• General
  • Are there plans to support Numpy 2.0?

As the title says, will Artiq move to support Numpy 2.0 in upcoming releases?

Numpy support for v1.26.x ends on 17 Sep 2025.

More generally does Artiq aim to stay in line with this set of guidelines?
https://scientific-python.org/specs/spec-0000/

Many thanks for all the good work

There are no guidelines in that spec that I can see.

Spec 0 is a voluntary set of best practices adopted my many of the most important scientific python projects. It promotes the following:

This SPEC recommends that all projects across the Scientific Python ecosystem adopt a common time-based policy for dropping dependencies. From the perspective of this SPEC, the dependencies in question are core packages as well as older Python versions.

All versions refer to feature releases (i.e., Python 3.8.0, NumPy 1.19.0; not Python 3.8.1, NumPy 1.19.2).

Specifically, we recommend that:

Support for Python versions be dropped 3 years after their initial release.
Support for core package dependencies be dropped 2 years after their initial release.

Then then answer is that we don't have a policy.

The spec is concerned with dropping support for old dependencies, while you are asking about starting support for new dependencies.

ARTIQ 9 and 10 (nac3) work with numpy 2 already.

We don't follow SPEC 0.

In general we make it work with whatever is in current branches of nixpkgs and MSYS2.

Thanks for the clarification. Great to hear that numpy 2 will be supported in Artiq 9.