diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59988c5327..2ab271872d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,12 @@ jobs: # Do not abort other tests if only a single one fails fail-fast: false matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12", "3.13"] steps: - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 - # Store the current date to use it as cache key for the environment name: Get current date @@ -35,7 +35,7 @@ jobs: run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}" - name: Create Environment with Mamba - uses: mamba-org/setup-micromamba@v1 + uses: mamba-org/setup-micromamba@v3 with: environment-name: climada_env_${{ matrix.python-version }} environment-file: requirements/env_climada.yml @@ -63,7 +63,7 @@ jobs: - name: Upload Coverage Reports if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage-report-core-unittests-py${{ matrix.python-version }} path: coverage/ diff --git a/doc/getting-started/install.rst b/doc/getting-started/install.rst index 4cf361ec65..9ef638b156 100644 --- a/doc/getting-started/install.rst +++ b/doc/getting-started/install.rst @@ -59,7 +59,7 @@ Windows * - **Supported Version** - ``3.11`` * - Allowed Versions - - ``3.10``, ``3.11``, ``3.12`` + - ``3.11``, ``3.12``, ``3.13`` .. _install-choice: diff --git a/pyproject.toml b/pyproject.toml index 3663d15f7c..541715a104 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "climada" version = "6.1.1-dev" description = "Framework for climate risk assessment and adaptation option appraisal" readme = "README.md" -requires-python = ">=3.10,<3.13" +requires-python = ">=3.10,<3.14" license = { text = "GNU General Public License v3 (GPLv3)" } authors = [ { name = "ETH", email = "climada-info@sympa.ethz.ch" } diff --git a/requirements/env_climada.yml b/requirements/env_climada.yml index 6e42d55b3a..a8b2cf464a 100644 --- a/requirements/env_climada.yml +++ b/requirements/env_climada.yml @@ -23,7 +23,9 @@ dependencies: - numexpr>=2.13 - openpyxl>=3.1 - osm-flex>=1.1 # this is only required for running the tutorials, not for the CLIMADA package itself - - pandas>=2.3,<3.0 # petals does not run with 3.0 (... and issue #1215) + # petals requires pandas < 3.0 for python >=3.11 + # petals requires pandas < 2.3 for python >=3.12 (https://github.com/IndEcol/pymrio/issues/177) + - pandas>=2.2,<2.3 - pathos>=0.3 - peewee>=3.18 - pint>=0.24