Skip to content

Commit

Permalink
Drop python3.9 support
Browse files Browse the repository at this point in the history
NEP 29:

> On Apr 05, 2024 drop support for Python 3.9

*Wait until after the next release.*
  • Loading branch information
dweindl committed Apr 3, 2024
1 parent b28b83b commit e48c89a
Show file tree
Hide file tree
Showing 19 changed files with 35 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_protected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

environment:
name: pypi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_benchmark_collection_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]
extract_subexpressions: ["true", "false"]
env:
AMICI_EXTRACT_CSE: ${{ matrix.extract_subexpressions }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_petab_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
python-version: [3.9]
python-version: ["3.11"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]
os: [ubuntu-22.04, macos-latest]

runs-on: ${{ matrix.os }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test_python_cplusplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]

steps:
- name: Cache
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.10" ]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.11"

- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.11"

- uses: actions/checkout@v4
- run: git fetch --prune --unshallow
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_python_ver_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
experimental: [false]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_sbml_semantic_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
matrix:
cases: ["1-250", "251-500", "501-750", "751-1000",
"1000-1250", "1251-"]
python-version: [ "3.9" ]
python-version: [ "3.11" ]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]

env:
ENABLE_AMICI_DEBUGGING: "TRUE"
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]

env:
ENABLE_AMICI_DEBUGGING: "TRUE"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
python-version: [ "3.9" ]
python-version: [ "3.11" ]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
Binary file modified documentation/gfx/amici_workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions documentation/gfx/amici_workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion documentation/python_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Short guide

Installation of the AMICI Python package has the following prerequisites:

* Python>=3.9
* Python>=3.10
* :term:`SWIG`>=3.0
* CBLAS compatible BLAS library
(e.g., OpenBLAS, CBLAS, Atlas, Accelerate, Intel MKL)
Expand Down
2 changes: 1 addition & 1 deletion python/sdist/amici/setup.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_extension() -> CMakeExtension:
packages=find_namespace_packages(),
install_requires=["amici==TPL_AMICI_VERSION"],
extras_require={"wurlitzer": ["wurlitzer"]},
python_requires=">=3.9",
python_requires=">=3.10",
package_data={},
zip_safe=False,
classifiers=CLASSIFIERS,
Expand Down
6 changes: 3 additions & 3 deletions python/sdist/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ classifiers =
packages = find_namespace:
package_dir =
amici = amici
python_requires = >=3.9
python_requires = >=3.10
install_requires =
cmake-build-extension==0.5.1
sympy>=1.9
numpy>=1.19.3; python_version=='3.9'
numpy>=1.21.4; python_version>='3.10'
numpy>=1.23.2; python_version=='3.11'
numpy; python_version>='3.12'
numpy>=1.26.2; python_version=='3.12'
numpy; python_version>='3.13'
python-libsbml
pandas>=2.0.2
pyarrow
Expand Down

0 comments on commit e48c89a

Please sign in to comment.