Skip to content

Commit 9b28c5c

Browse files
ci: add monthly Python 3.15 dependency canary (#59)
Run a scheduled, non-blocking Ubuntu probe against Python 3.15 and current core dependencies. Keep the supported Python 3.12-3.14 release gates unchanged.\n\nCloses #58
1 parent 76ecdf7 commit 9b28c5c

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Python 3.15 dependency canary
2+
3+
on:
4+
schedule:
5+
- cron: "17 9 1 * *"
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
concurrency:
12+
group: python315-dependency-canary
13+
cancel-in-progress: true
14+
15+
jobs:
16+
core-dependencies:
17+
name: Core dependency probe on Python 3.15
18+
runs-on: ubuntu-latest
19+
continue-on-error: true
20+
timeout-minutes: 15
21+
22+
steps:
23+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24+
with:
25+
persist-credentials: false
26+
27+
- name: Install Python 3.15
28+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
29+
with:
30+
python-version: "3.15"
31+
allow-prereleases: true
32+
33+
- name: Install uv
34+
uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0
35+
with:
36+
version: "0.10.9"
37+
enable-cache: true
38+
39+
- name: Extract current core dependency requirements
40+
run: >-
41+
python -c 'import tomllib; from pathlib import Path;
42+
data = tomllib.loads(Path("pyproject.toml").read_text());
43+
Path("python315-core.txt").write_text("\n".join(data["project"]["dependencies"]) + "\n")'
44+
45+
- name: Run the focused source canary
46+
env:
47+
PYTHONPATH: src
48+
run: >-
49+
uv run --isolated --no-project --python 3.15
50+
--with-requirements python315-core.txt
51+
--with pytest --with pytest-asyncio --with pytest-timeout
52+
pytest tests/test_core_abstractions.py tests/test_storage_paths.py
53+
tests/test_aqr_provider.py -q

0 commit comments

Comments
 (0)