From 5efa1b1334102bb8b271c951abe54dcef6d183cc Mon Sep 17 00:00:00 2001 From: Stijn Kas <78410144+StijnKas@users.noreply.github.com> Date: Wed, 3 Jan 2024 14:10:40 +0100 Subject: [PATCH] Python 3.12 support, bump version (#144) * Python 3.12 support * Bump version to V3.3 * Tie max polars version because of a categorical bug blocking us --- .github/workflows/Python tests.yml | 4 ++-- python/pdstools/__init__.py | 2 +- python/requirements.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Python tests.yml b/.github/workflows/Python tests.yml index 5a8cf76e..81eac327 100644 --- a/.github/workflows/Python tests.yml +++ b/.github/workflows/Python tests.yml @@ -21,7 +21,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - python-version: [3.8.x, 3.9.x, 3.11.x] + python-version: [3.8.x, 3.9.x, 3.11.x, 3.12.x] exclude: - os: windows-latest python-version: 3.8.x @@ -78,4 +78,4 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: - fail_ci_if_error: true \ No newline at end of file + fail_ci_if_error: true diff --git a/python/pdstools/__init__.py b/python/pdstools/__init__.py index 1408ef35..6a4f62d3 100644 --- a/python/pdstools/__init__.py +++ b/python/pdstools/__init__.py @@ -1,6 +1,6 @@ """Python pdstools""" -__version__ = "3.2.7" +__version__ = "3.3.0" from polars import enable_string_cache diff --git a/python/requirements.txt b/python/requirements.txt index 701d74f0..b66d9250 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -3,7 +3,7 @@ plotly>=5.5.0 requests pydot tqdm -polars>=0.20.0, <0.21.0 +polars>=0.20.0,<=0.20.2 pyarrow pyyaml aioboto3>=11.0