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 support for numpy v2 #179

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Add support for numpy v2 #179

wants to merge 4 commits into from

Commits on Aug 14, 2024

  1. Build against numpy>=2.0.0

    Numpy v2.0.0 contains backwards ABI compatibility machinery to work with
    numpy v1.xx at runtime (possibly as far back at v1.19)
    dihm committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    e6c48d0 View commit details
    Browse the repository at this point in the history
  2. Bumping minimum version dependency for numpy to python3.9's 1.19.3

    This version is guaranteed to work with numpy v2 ABI builds.
    dihm committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    20b1b2c View commit details
    Browse the repository at this point in the history
  3. Remove deprecated numpy.trapz calls.

    While we could use the new name numpy.trapezoid,
    it would require runtime checks on numpy version to select the correct
    name when using numpy v1 or v2.
    
    Instead replace with scipy.integrate.trapezoid since we depend on scipy
    already and is an equivalent function.
    dihm committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    0e585b8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4142007 View commit details
    Browse the repository at this point in the history