From 535471b4cfd529f4d70c246aa83d6854a3702350 Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Wed, 29 Jan 2025 11:13:05 +0100 Subject: [PATCH] add python 3.12 and 3.13 support (#93) --- .github/workflows/main.yml | 6 +++--- README.md | 2 +- pyproject.toml | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 061dfdb..ab960b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: os: [Ubuntu] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] include: - os: Ubuntu image: ubuntu-20.04 @@ -32,10 +32,10 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/README.md b/README.md index 7806788..fc02314 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ To enable plotting also install the `plot` extra: pip install openeo-pg-parser-networkx[plot] ``` -Currently Python versions 3.9-3.11 are supported. +Currently Python versions 3.9-3.13 are supported. ## Basic usage (An example notebook of using `openeo-pg-parser-networkx` together with a process implementation source like [`openeo-processes-dask`](https://github.com/Open-EO/openeo-processes-dask) can be found in `openeo-pg-parser-networkx/examples/01_minibackend_demo.ipynb`.) diff --git a/pyproject.toml b/pyproject.toml index 025d7f1..9c6ede6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,8 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] packages = [ @@ -23,7 +25,7 @@ packages = [ ] [tool.poetry.dependencies] -python = ">=3.9,<3.12" +python = ">=3.9,<3.14" pydantic = "^2.4.0" pyproj = "^3.4.0" networkx = "^2.8.6"