|
21 | 21 | fail-fast: false |
22 | 22 | matrix: |
23 | 23 | python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"] |
24 | | - # 3.15 is pre-release until 2026-10-01 (#259): surface breakage |
25 | | - # without blocking the branch; flip to blocking when it goes final. |
26 | | - continue-on-error: ${{ matrix.python-version == '3.15' }} |
27 | 24 | env: |
28 | 25 | # Without this, uv sync honors .python-version (3.11) over the |
29 | 26 | # matrix interpreter and every job silently tests 3.11. |
|
45 | 42 | uses: actions/setup-python@v7 |
46 | 43 | with: |
47 | 44 | python-version: ${{ matrix.python-version }} |
48 | | - allow-prereleases: true |
49 | 45 | - name: Install uv |
50 | 46 | uses: astral-sh/setup-uv@v7 |
51 | 47 | with: |
@@ -84,18 +80,25 @@ jobs: |
84 | 80 | # without it). |
85 | 81 | ja-extra: |
86 | 82 | runs-on: ubuntu-latest |
87 | | - # 3.14, not the matrix's newest: namedivider-python pulls lightgbm, |
88 | | - # which pulls scipy/numpy, and those have no 3.15 wheels yet (the |
89 | | - # sdist build fails). 3.15 is pre-release and this matrix is ahead |
90 | | - # of the ecosystem; revisit when it goes final. |
| 83 | + # The floor and the newest Python whose wheels the lock pins: uv.lock |
| 84 | + # splits numpy and scipy at 3.12, so the floor is the only row that |
| 85 | + # installs the older branch. namedivider-python's compiled |
| 86 | + # dependencies (numpy, scipy, pandas, regex; lightgbm is py3-none) |
| 87 | + # had no cp315 wheels at the versions uv.lock pinned before #259, |
| 88 | + # and numpy's and scipy's sdist builds fail, so moving the top row to |
| 89 | + # a new Python can need a lock bump first. |
| 90 | + strategy: |
| 91 | + fail-fast: false |
| 92 | + matrix: |
| 93 | + python-version: ["3.11", "3.15"] |
91 | 94 | env: |
92 | | - UV_PYTHON: "3.14" |
| 95 | + UV_PYTHON: ${{ matrix.python-version }} |
93 | 96 | steps: |
94 | 97 | - uses: actions/checkout@v7 |
95 | | - - name: Set up Python 3.14 |
| 98 | + - name: Set up Python ${{ matrix.python-version }} |
96 | 99 | uses: actions/setup-python@v7 |
97 | 100 | with: |
98 | | - python-version: "3.14" |
| 101 | + python-version: ${{ matrix.python-version }} |
99 | 102 | - name: Install uv |
100 | 103 | uses: astral-sh/setup-uv@v7 |
101 | 104 | with: |
|
0 commit comments