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

Fixes for Python 3.12, NumPy 2.0, and SciPy 1.14 #1050

Merged
merged 26 commits into from
Jun 25, 2024

Commits on Jun 18, 2024

  1. Monkeypatch versioneer.py

    - Python 3.12 doesn't like SafeConfigParser
    - Python 2.7 doesn't like versioneer > 0.18
    guyer committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    72b3885 View commit details
    Browse the repository at this point in the history
  2. Replace obj2sctype

    guyer committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    2c7136d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2eed418 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62bd0ff View commit details
    Browse the repository at this point in the history
  5. Replace itemset() with indexing

    guyer committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    4e7923a View commit details
    Browse the repository at this point in the history
  6. Fix obsolete name for infinity

    guyer committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9921bf8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    55f78f3 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    0b14ced View commit details
    Browse the repository at this point in the history
  2. Remove future.standard_library

    This library no longer exists in Python 3.12
    
    It looks like it isn't even needed in Python 2.7 to use pickle
    and redirecting_html.py should go away (but fixed it anyway).
    guyer committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    08124c2 View commit details
    Browse the repository at this point in the history
  3. Update locks

    guyer committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    d91ccdc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29047ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69a4e24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    908825d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e6c68e View commit details
    Browse the repository at this point in the history
  8. Fix polarity of floating CellVariable check

    Broken in 2eed418
    guyer committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    729e2c5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    130983f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    afd1697 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    43c143a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3a1e316 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    0ce2a46 View commit details
    Browse the repository at this point in the history
  2. Lock out petsc 3.21

    petsc(4py) 3.21.2 crashes when running tests in parallel:
    
    ```
    mesh2D (examples.cahnHilliard)
    Doctest: examples.cahnHilliard.mesh2D ...  Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
     Internal error 2 in DMUMPS_LOAD_RECV_MSGS  1275068685          52
     Internal error 1 in DMUMPS_LOAD_PROCESS_MESSAGE
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 1 (rank 1 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 1
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
    Abort(-99) on node 0 (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, -99) - process 0
     Internal error 1 in DMUMPS_LOAD_PROCESS_MESSAGE
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
     Internal error 2 in DMUMPS_LOAD_RECV_MSGS  1275068685          52
     Internal error 1 in DMUMPS_LOAD_PROCESS_MESSAGE
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
     Internal error 1 in DMUMPS_LOAD_PROCESS_MESSAGE
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
     Internal error 2 in DMUMPS_LOAD_RECV_MSGS  1275068685          52
     Internal error 1 in DMUMPS_LOAD_PROCESS_MESSAGE
     Internal error 1 in DMUMPS_LOAD_RECV_MSGS           1
    ```
    guyer committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    f7c0ada View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9f75b8 View commit details
    Browse the repository at this point in the history
  4. Fix case of tarball

    guyer committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    4e30696 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e411d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. build(nix): update to python 3.12 and nixos 24.05

    Update Nix build to use Python 3.12, NixOS 24.05. Also, include
    aarch4-darwin as a possible build.
    
    Currently, there is a single test failure in
    fipy.matrices.scipyMatrix._ScipyMatrix.
    wd15 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    21bc31e View commit details
    Browse the repository at this point in the history
  2. ci(actions): generate egg_info

    Generate the egg_info before executing the tests otherwise setup.py
    doesn't register the correct version of the test suite, but possibly
    the older version already available in nixpkgs.
    wd15 committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    e25c210 View commit details
    Browse the repository at this point in the history