Skip to content

Commit 5550cb3

Browse files
authored
break: minimum Python 3.11 (#3295)
1 parent 4526277 commit 5550cb3

10 files changed

Lines changed: 82 additions & 306 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ jobs:
104104
105105
uv venv
106106
uv pip install "maturin[zig]"
107-
uv tool run maturin build --interpreter python3.10 --zig
108-
uv tool run maturin build --interpreter python3.10 --zig --sdist
107+
uv tool run maturin build --interpreter python3.11 --zig
108+
uv tool run maturin build --interpreter python3.11 --zig --sdist
109109
110110
file_count=$(ls -1 ../target/wheels/ | wc -l)
111111

.github/workflows/labels.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ concurrency:
55
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}
66

77
on:
8-
pull_request: { }
8+
pull_request:
9+
types: [ opened, reopened, synchronize, labeled, unlabeled ]
910

1011
jobs:
1112
check_release_label:

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
# Latest macOS doesn't allow maturin to install stuff into the global Python interpreter
7777
if: "${{ matrix.target.runs-on == 'macos-latest' }}"
7878
with:
79-
python-version: '3.10'
79+
python-version: '3.11'
8080

8181
- name: Build wheel
8282
uses: PyO3/maturin-action@v1
@@ -89,7 +89,7 @@ jobs:
8989
--release
9090
--manifest-path pyvortex/Cargo.toml
9191
--out dist
92-
--interpreter python3.10
92+
--interpreter python3.11
9393
env:
9494
MATURIN_PEP517_USE_BASE_PYTHON: "true"
9595
# Keep this constant to avoid pyo3 invalidating itself

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10
1+
3.11

docs/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"vortex-data",
1818
"libclang>=18.1.1",
1919
]
20-
requires-python = ">= 3.10"
20+
requires-python = ">= 3.11"
2121

2222
[tool.uv]
2323
managed = true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "workspace"
33
version = "0.1.0"
44
description = "Add your description here"
55
authors = [{ name = "Nicholas Gates", email = "nick@nickgates.com" }]
6-
requires-python = ">= 3.10"
6+
requires-python = ">= 3.11"
77
dependencies = ["vortex-data", "docs"]
88

99
[build-system]

pyvortex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ itertools = { workspace = true }
2929
log = { workspace = true }
3030
mimalloc = { workspace = true }
3131
object_store = { workspace = true, features = ["aws", "gcp", "azure", "http"] }
32-
pyo3 = { workspace = true }
32+
pyo3 = { workspace = true, features = ["abi3-py311"] }
3333
pyo3-log = { workspace = true }
3434
tokio = { workspace = true, features = ["fs", "rt-multi-thread"] }
3535
url = { workspace = true }

pyvortex/pyproject.toml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,29 @@ name = "vortex-data"
55
dynamic = ["version", "description", "authors"]
66
readme = "README.md"
77
dependencies = ["pyarrow>=17.0.0", "substrait>=0.23.0"]
8-
requires-python = ">= 3.10"
8+
requires-python = ">= 3.11"
9+
classifiers = [
10+
# How mature is this project? Common values are
11+
# 3 - Alpha
12+
# 4 - Beta
13+
# 5 - Production/Stable
14+
"Development Status :: 4 - Beta",
15+
# Indicate who your project is intended for
16+
"Intended Audience :: Developers",
17+
"Intended Audience :: Science/Research",
18+
# Specify the Python versions you support here.
19+
"Programming Language :: Python :: 3",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
24+
# Pick your license as you wish
25+
"License :: OSI Approved :: Apache Software License",
26+
# Topics
27+
"Topic :: Database",
28+
"Topic :: File Formats",
29+
"Topic :: Scientific/Engineering",
30+
]
931

1032
[project.optional-dependencies]
1133
polars = ["polars>=1.27.0"]
@@ -37,7 +59,6 @@ include = [
3759
{ path = "python/vortex/py.typed", format = "sdist" },
3860
]
3961

40-
4162
[dependency-groups]
4263
dev = [
4364
"mypy>=1.14.1",

scripts/compare-benchmark-jsons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.10"
2+
# requires-python = ">=3.11"
33
# dependencies = [
44
# "pandas",
55
# "tabulate",

uv.lock

Lines changed: 48 additions & 294 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)