diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index cdb6b713c0c..4d166b6fcb0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/setup-python@v4 id: setup_python with: - python-version: '3.11' + python-version: '3.12' - uses: actions/cache@v3 with: @@ -84,7 +84,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] uses: ./.github/workflows/build-wheels-linux.yml with: python-version: ${{ matrix.python-version }} @@ -93,7 +93,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] uses: ./.github/workflows/build-wheels-macos.yml with: python-version: ${{ matrix.python-version }} @@ -104,7 +104,7 @@ jobs: fail-fast: false matrix: test-type: [ 'integration-tests', 'unit-tests', 'gui-test' ] - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] os: [ ubuntu-latest ] exclude: - os: ubuntu-latest @@ -113,6 +113,9 @@ jobs: - os: ubuntu-latest python-version: '3.10' test-type: 'gui-test' + - os: ubuntu-latest + python-version: '3.11' + test-type: 'gui-test' uses: ./.github/workflows/test_ert.yml with: os: ${{ matrix.os }} @@ -125,7 +128,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] uses: ./.github/workflows/test_ert_with_slurm.yml with: os: ${{ matrix.os }} @@ -151,7 +154,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.11'] + python-version: ['3.12'] os: [ubuntu-latest] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4a2d53cc110..7322c7d82ba 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install with dependencies run: | diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index c3d8d2728a9..0597570ba6e 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-python@v4 id: setup_python with: - python-version: '3.11' + python-version: '3.12' cache: "pip" cache-dependency-path: | setup.py diff --git a/.github/workflows/run_ert_test_data_setups.yml b/.github/workflows/run_ert_test_data_setups.yml index 4edaf02d22b..426b01219de 100644 --- a/.github/workflows/run_ert_test_data_setups.yml +++ b/.github/workflows/run_ert_test_data_setups.yml @@ -20,11 +20,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.10', '3.11'] + python-version: ['3.8', '3.10', '3.11', '3.12'] os: [ubuntu-latest, macos-latest] exclude: - python-version: '3.8' os: macos-latest + - python-version: '3.10' + os: macos-latest - python-version: '3.11' os: macos-latest diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 05ab75549c1..108ec7ca16a 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.11'] + python-version: ['3.12'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test_semeio.yml b/.github/workflows/test_semeio.yml index 01688470e87..2ee928a77bd 100644 --- a/.github/workflows/test_semeio.yml +++ b/.github/workflows/test_semeio.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: '3.12' - name: Install ert run: | diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index 9c5cf037fa0..730c5880e7d 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 15 strategy: matrix: - python-version: ['3.11'] + python-version: ['3.12'] steps: - uses: actions/checkout@v4 diff --git a/ci/github/build_linux_wheel.sh b/ci/github/build_linux_wheel.sh index 5241a7a6c5b..898352758ba 100755 --- a/ci/github/build_linux_wheel.sh +++ b/ci/github/build_linux_wheel.sh @@ -6,6 +6,7 @@ case "$1" in 3.9) pyver=cp39-cp39 ;; 3.10) pyver=cp310-cp310 ;; 3.11) pyver=cp311-cp311 ;; + 3.12) pyver=cp312-cp312 ;; *) echo "Unknown Python version $1" exit 1 diff --git a/pyproject.toml b/pyproject.toml index 58346b221d8..77f912aa020 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,6 +32,7 @@ classifiers=[ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics", ]