Skip to content

Commit df853ac

Browse files
committed
CI: Verify support on Python 3.13
1 parent 31e003f commit df853ac

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
2827
os: ["ubuntu-22.04"]
28+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2929
cratedb-version: ["nightly"]
3030
fail-fast: false
3131

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ classifiers = [
4343
"Programming Language :: Python :: 3.10",
4444
"Programming Language :: Python :: 3.11",
4545
"Programming Language :: Python :: 3.12",
46+
"Programming Language :: Python :: 3.13",
4647
"Topic :: Communications",
4748
"Topic :: Database",
4849
"Topic :: Documentation",
@@ -78,7 +79,7 @@ optional-dependencies.release = [
7879
]
7980
optional-dependencies.test = [
8081
"pandas<2.3",
81-
"polars[pyarrow]<1.10",
82+
"polars[pyarrow]<1.10; python_version<'3.13'",
8283
"pytest<9",
8384
"pytest-asyncio<1",
8485
"pytest-cov<6",

tests/test_cratedb_polars_read.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# ruff: noqa: E402
12
import sys
23

3-
import polars as pl
44
import pytest
5+
6+
pl = pytest.importorskip("polars")
57
import sqlalchemy as sa
68
from polars.testing import assert_frame_equal
79

0 commit comments

Comments
 (0)