Skip to content

Commit fbdabd7

Browse files
committed
Raise minimum Python version from 3.10 to 3.11
pandas 3.x requires Python >=3.11. Drop 3.10 from CI matrices, classifiers, requires-python, and tool target versions.
1 parent 721d459 commit fbdabd7

5 files changed

Lines changed: 12 additions & 15 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest, macos-latest, windows-latest]
25-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
25+
python-version: ['3.11', '3.12', '3.13', '3.14']
2626
name: Build on ${{ matrix.os }} with Python ${{ matrix.python-version }}
2727
steps:
2828
- uses: actions/checkout@v6

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
23+
python-version: ['3.11', '3.12', '3.13', '3.14']
2424
name: Lint with ruff (Python ${{ matrix.python-version }})
2525
steps:
2626
- uses: actions/checkout@v6
@@ -44,7 +44,7 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
47+
python-version: ['3.11', '3.12', '3.13', '3.14']
4848
name: Lint with pylint (Python ${{ matrix.python-version }})
4949
steps:
5050
- uses: actions/checkout@v6
@@ -68,7 +68,7 @@ jobs:
6868
strategy:
6969
fail-fast: false
7070
matrix:
71-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
71+
python-version: ['3.11', '3.12', '3.13', '3.14']
7272
name: Type check with mypy (Python ${{ matrix.python-version }})
7373
steps:
7474
- uses: actions/checkout@v6

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
25+
python-version: ['3.11', '3.12', '3.13', '3.14']
2626
name: Test pip install (Python ${{ matrix.python-version }})
2727
steps:
2828
- uses: actions/checkout@v6
@@ -41,7 +41,7 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
os: [ubuntu-latest, macos-latest, windows-latest]
44-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
44+
python-version: ['3.11', '3.12', '3.13', '3.14']
4545
name: Unit tests on ${{ matrix.os }} (Python ${{ matrix.python-version }})
4646
steps:
4747
- uses: actions/checkout@v6
@@ -63,7 +63,7 @@ jobs:
6363
fail-fast: false
6464
matrix:
6565
os: [ubuntu-latest, macos-latest, windows-latest]
66-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
66+
python-version: ['3.11', '3.12', '3.13', '3.14']
6767
name: Integration tests on ${{ matrix.os }} (Python ${{ matrix.python-version }})
6868
steps:
6969
- uses: actions/checkout@v6
@@ -188,7 +188,7 @@ jobs:
188188
strategy:
189189
fail-fast: false
190190
matrix:
191-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
191+
python-version: ['3.11', '3.12', '3.13', '3.14']
192192
name: Test coverage (Python ${{ matrix.python-version }})
193193
steps:
194194
- uses: actions/checkout@v6

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Spice.ai client library for Python"
99
readme = "README.md"
1010
license = {text = "Apache-2.0"}
11-
requires-python = ">=3.10"
11+
requires-python = ">=3.11"
1212
dependencies = [
1313
"pyarrow>=23.0.1",
1414
"pandas>=3.0.2",
@@ -22,7 +22,6 @@ classifiers = [
2222
"Development Status :: 4 - Beta",
2323
"Intended Audience :: Developers",
2424
"License :: OSI Approved :: Apache Software License",
25-
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",
2827
"Programming Language :: Python :: 3.13",
@@ -65,7 +64,7 @@ params = [
6564
# ============== Tool Configuration ==============
6665

6766
[tool.mypy]
68-
python_version = "3.10"
67+
python_version = "3.11"
6968
warn_return_any = true
7069
warn_unused_configs = true
7170
warn_redundant_casts = true
@@ -99,7 +98,7 @@ module = [
9998
ignore_missing_imports = true
10099

101100
[tool.ruff]
102-
target-version = "py39"
101+
target-version = "py311"
103102
line-length = 120
104103
exclude = [
105104
".git",

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def setup_package():
3939
"Development Status :: 4 - Beta",
4040
"Intended Audience :: Developers",
4141
"License :: OSI Approved :: Apache Software License",
42-
"Programming Language :: Python :: 3.9",
43-
"Programming Language :: Python :: 3.10",
4442
"Programming Language :: Python :: 3.11",
4543
"Programming Language :: Python :: 3.12",
4644
"Topic :: Software Development :: Libraries",
@@ -57,7 +55,7 @@ def setup_package():
5755
"adbc-driver-manager>=1.11.0",
5856
],
5957
},
60-
python_requires=">=3.9",
58+
python_requires=">=3.11",
6159
platforms=["Any"],
6260
)
6361

0 commit comments

Comments
 (0)