Skip to content

Commit eae2b9a

Browse files
kevinjqliuCopilot
andcommitted
Drop Python 3.10 from release builds and restore google.api_core warning filter
The cibuildwheel requires-python override and setup-python list still included 3.10, so releases would build cp310 wheels. google.api_core also warns on 3.11, so its FutureWarning filter is still needed. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 23217ac commit eae2b9a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/pypi-build-artifacts.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4848
with:
4949
python-version: |
50-
3.10
5150
3.11
5251
3.12
5352
3.13
@@ -76,7 +75,7 @@ jobs:
7675
env:
7776
# Ignore 32 bit architectures
7877
CIBW_ARCHS: "auto64"
79-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.15"
78+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.11,<3.15"
8079
# Keep these in sync with Python CI job `cibw-dev-env-smoke-test`
8180
# in .github/workflows/python-ci.yml to catch import-time regressions early.
8281
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"

‎.github/workflows/svn-build-artifacts.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ jobs:
4747
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4848
with:
4949
python-version: |
50-
3.10
5150
3.11
5251
3.12
5352
3.13
@@ -70,7 +69,7 @@ jobs:
7069
env:
7170
# Ignore 32 bit architectures
7271
CIBW_ARCHS: "auto64"
73-
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10,<3.15"
72+
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.11,<3.15"
7473
CIBW_BEFORE_TEST: "uv sync --directory {project} --only-group dev --no-install-project"
7574
CIBW_TEST_COMMAND: "uv run --directory {project} pytest tests/avro/test_decoder.py"
7675
# Skip free-threaded (PEP 703) builds until we evaluate decoder_fast support

‎pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ markers = [
248248
# Turns a warning into an error
249249
filterwarnings = [
250250
"error",
251+
# Ignore Python version deprecation, end-of-life and unsupported warnings from google.api_core while we still support 3.11
252+
"ignore:You are using a (non-supported )?Python version:FutureWarning:google.api_core",
251253
# Python 3.13 sqlite3 module ResourceWarnings for unclosed database connections
252254
"ignore:unclosed database in <sqlite3.Connection object*:ResourceWarning",
253255
# Ignore Ray subprocess cleanup warnings

0 commit comments

Comments
 (0)