From 627fb09ec5e24ce9c080a19644f40aac6cacec48 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 7 Oct 2024 23:41:22 +0200 Subject: [PATCH 1/3] Dependencies: Clean up testing dependencies not needed in crate-python After the SQLAlchemy dialect has been separated into sqlalchemy-cratedb, they are no longer needed here. --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index 695b152f..c8ea9e1c 100644 --- a/setup.py +++ b/setup.py @@ -65,11 +65,8 @@ def read(path): 'backports.zoneinfo<1; python_version<"3.9"', 'certifi', 'createcoverage>=1,<2', - 'dask[dataframe]', 'stopit>=1.1.2,<2', 'flake8>=4,<8', - 'pandas<2.3', - 'pueblo>=0.0.7', 'pytz', ], doc=['sphinx>=3.5,<9', From 312bb08488642b52c313bcd8beb33ac6757832ce Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 7 Oct 2024 23:31:55 +0200 Subject: [PATCH 2/3] Python: Verify support on Python 3.13 --- .github/workflows/tests.yml | 4 ++-- setup.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1d4985cb..a9c261db 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,10 +18,10 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'macos-latest'] - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] cratedb-version: ['5.8.3'] - # To save resources, only use the most recent Python versions on macOS. + # To save resources, only verify the most recent Python versions on macOS. exclude: - os: 'macos-latest' python-version: '3.7' diff --git a/setup.py b/setup.py index c8ea9e1c..ab6d001b 100644 --- a/setup.py +++ b/setup.py @@ -88,6 +88,7 @@ def read(path): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Database' From 544fc855e3710efd575c6a9fbb616e18eb48d03d Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 15 Oct 2024 20:54:04 +0200 Subject: [PATCH 3/3] CI: Use `ubuntu-22.04` to support Python 3.7 --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9c261db..83c7e0ff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ['ubuntu-latest', 'macos-latest'] + os: ['ubuntu-22.04', 'macos-latest'] python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] cratedb-version: ['5.8.3']