From 3c749656aebcd01bb5062bdb2f0da315dcecdefa Mon Sep 17 00:00:00 2001 From: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> Date: Fri, 10 Apr 2026 10:13:59 +0200 Subject: [PATCH 1/4] Upgrade actions and Python versions Python 3.11 to 3.13. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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/ From 1516c796cee1161f28278fedf368146b40080a82 Mon Sep 17 00:00:00 2001 From: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> Date: Fri, 10 Apr 2026 10:18:02 +0200 Subject: [PATCH 2/4] Upgrade Python version in pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } From 7c12d817b1e09a014f8ac81b7b6e98768d7b6c7c Mon Sep 17 00:00:00 2001 From: Lukas Riedel <34276446+peanutfun@users.noreply.github.com> Date: Fri, 10 Apr 2026 10:18:18 +0200 Subject: [PATCH 3/4] docs: Update supported versions --- doc/getting-started/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/getting-started/install.rst b/doc/getting-started/install.rst index 96588b3fdd..5c2e0b8cf0 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: From a466d3f9417dc9524825ac915c6b58df9447d85c Mon Sep 17 00:00:00 2001 From: emanuel-schmid Date: Fri, 28 Aug 2026 15:30:53 +0200 Subject: [PATCH 4/4] pin pandas --- requirements/env_climada.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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