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

Python 3.11 support #1406

Merged
merged 8 commits into from
Nov 21, 2022
Merged

Python 3.11 support #1406

merged 8 commits into from
Nov 21, 2022

Commits on Nov 15, 2022

  1. Replace usage of internal '_PyNamespace_New' function

    This function was removed from Python.h in Python 3.11. See
    python/cpython#28970
    speth committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    5cd5cb4 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2022

  1. Drop support for Python 3.7

    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    4aad88d View commit details
    Browse the repository at this point in the history
  2. [CI] Test with Python 3.11

    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    9c5eea0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3f2a70 View commit details
    Browse the repository at this point in the history
  4. Resolve rename of Sundials bandGBTRF/S

    The functions 'bandGBTRF' and 'bandGBTRS' were renamed in Sundials 6.0,
    with the old names deprecated and slated for removal in Sundials 7.0. The
    new names are 'SUNDlsMat_bandGBTRF' and 'SUNDlsMat_bandGBTRS'.
    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    873be6a View commit details
    Browse the repository at this point in the history
  5. [CI] Test with Sundials 6.4.1

    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    256a26b View commit details
    Browse the repository at this point in the history
  6. [CI] Use correct Python version on macOS

    Linking to libpython with GitHub's Python 3.8 and 3.10 requires linking
    to libintl, but no compatible version of this library is present in
    the GitHub actions images (the Homebrew one has the wrong "macOS deployment
    target"). This problem is fixed in GitHub's build of Python 3.11.
    
    Scons 4.4.0 (and maybe other versions) can't be pip installed for the
    Homebrew Python, since it tries to write man pages into an incorrect,
    read-only directory.
    
    The Homebrew-installed Python was never actually being used. All macOS
    builds are done using Python cached in the GitHub actions image.
    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    8c7b2d4 View commit details
    Browse the repository at this point in the history
  7. [CI] Make h5py optional for some builds

    PyPI packages are not always available for the most recent Python version
    on all platforms.
    speth committed Nov 20, 2022
    Configuration menu
    Copy the full SHA
    4577ecf View commit details
    Browse the repository at this point in the history