Skip to content

Commit

Permalink
Support Python 3.13 (#132)
Browse files Browse the repository at this point in the history
* Add support for Python 3.13
* Adapt badge on readme page
* Adapt test for 3.12 and 3.13
* Bump various dependencies to support 3.13 in lock file
  • Loading branch information
glatterf42 authored Nov 22, 2024
1 parent 60d7e29 commit 65ce305
Show file tree
Hide file tree
Showing 4 changed files with 385 additions and 556 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
python-version:
- "3.10" # Earliest version supported by ixmp4
- "3.11"
- "3.12" # Latest version supported by ixmp4
- "3.12"
- "3.13" # Latest version supported by ixmp4
with-pyarrow:
- false
postgres-version:
Expand All @@ -27,18 +28,23 @@ jobs:
- "sqlite,rest-sqlite,postgres,rest-postgres"
include:
# with pyarrow
- python-version: "3.12"
- python-version: "3.13"
with-pyarrow: true
postgres-version: "16"
pandas-version: false
backend: "sqlite,rest-sqlite"
# pgsql 15
- python-version: "3.12"
- python-version: "3.13"
with-pyarrow: false
postgres-version: "15"
pandas-version: false
backend: "postgres,rest-postgres"

# with pyarrow
- python-version: "3.12"
with-pyarrow: true
postgres-version: "16"
pandas-version: false
backend: "sqlite,rest-sqlite"
# pandas 2.1.3
- python-version: "3.11"
with-pyarrow: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Copyright (c) 2023-2024 IIASA - Energy, Climate, and Environment Program (ECE)

[![license: MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/iiasa/ixmp4/blob/main/LICENSE)
[![python](https://img.shields.io/badge/python-3.10_|_3.11_|_3.12-blue?logo=python&logoColor=white)](https://github.com/iiasa/ixmp4)
[![python](https://img.shields.io/badge/python-3.10_|_3.11_|_3.12_|_3.13-blue?logo=python&logoColor=white)](https://github.com/iiasa/ixmp4)
[![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)

## Overview
Expand Down
Loading

0 comments on commit 65ce305

Please sign in to comment.