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

API: Make numpy.h compatible with both NumPy 1.x and 2.x #5050

Merged
merged 25 commits into from
Mar 26, 2024

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    3c45949 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9116d69 View commit details
    Browse the repository at this point in the history
  3. API: Add numpy2.h instead and make numpy.h safe

    This means that users of `numpy.h` cannot be broken, but need to
    update to `numpy2.h` if they want to compile for NumPy 2.
    
    Using Macros simply and didn't bother to try to remove unnecessary
    code paths.
    seberg committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    ea9ba5f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4555280 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Configuration menu
    Copy the full SHA
    0d585db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a87436 View commit details
    Browse the repository at this point in the history
  3. Fixup. Does upgrading scipy help? (it shouldn't?)

    (Some other small fixup)
    seberg committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    25df74c View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    f0457a5 View commit details
    Browse the repository at this point in the history
  2. BUG: Fix numpy.bool check

    seberg committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    247d5c3 View commit details
    Browse the repository at this point in the history
  3. TST: Fix complexwarning

    seberg committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    5368842 View commit details
    Browse the repository at this point in the history
  4. BUG: Fix the fact that only the 50 slot is filled with the copy alias

    (There were 3 functions all doing the same, only this slot survived 2.x)
    seberg committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    96157d6 View commit details
    Browse the repository at this point in the history
  5. TST: One more test tweak

    seberg committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    6daf11a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5cf73bc View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a6414ff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    79393f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    2514af5 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. PYBIND11_INTERNAL_NUMPY_1_ONLY_DETECTED

    Ralf W. Grosse-Kunstleve committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    242300d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Configuration menu
    Copy the full SHA
    a6b2e11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    99b785a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    525310f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d718ff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e2e923d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c4bd0e0 View commit details
    Browse the repository at this point in the history
  7. silence name shadowing warning

    seberg committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    38f8ead View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. chore: minor optimization

    Signed-off-by: Henry Schreiner <[email protected]>
    henryiii committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    f3af194 View commit details
    Browse the repository at this point in the history