Skip to content

Commit d40f5d9

Browse files
authored
ci: align Python version coverage (#4475)
1 parent 37a7aa2 commit d40f5d9

5 files changed

Lines changed: 71 additions & 44 deletions

File tree

‎.github/workflows/docs.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
version: "0.11.14"
4242
enable-cache: true
4343
prune-cache: true
44+
python-version: "3.14"
4445
- name: Install dependencies
4546
if: steps.docs-only.outputs.skip != 'true'
4647
run: make sync

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
version: "0.11.14"
2929
enable-cache: true
3030
prune-cache: true
31+
python-version: "3.14"
3132
- name: Install dependencies
3233
run: make sync
3334
- name: Build package

‎.github/workflows/release-tag.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Setup Python
3535
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
3636
with:
37-
python-version: "3.11"
37+
python-version: "3.14"
3838
- name: Configure git
3939
run: |
4040
git config user.name "github-actions[bot]"

‎.github/workflows/tests.yml‎

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
version: "0.11.14"
3131
enable-cache: true
3232
prune-cache: true
33+
python-version: "3.14"
3334
- name: Install dependencies
3435
if: steps.changes.outputs.run == 'true'
3536
run: make sync
@@ -59,6 +60,7 @@ jobs:
5960
version: "0.11.14"
6061
enable-cache: true
6162
prune-cache: true
63+
python-version: "3.14"
6264
- name: Restore mypy cache
6365
if: steps.changes.outputs.run == 'true'
6466
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
@@ -109,10 +111,10 @@ jobs:
109111
if: steps.changes.outputs.run == 'true'
110112
run: make sync
111113
- name: Run tests with coverage
112-
if: steps.changes.outputs.run == 'true' && matrix.python-version == '3.12'
114+
if: steps.changes.outputs.run == 'true' && matrix.python-version == '3.14'
113115
run: make coverage
114116
- name: Run tests
115-
if: steps.changes.outputs.run == 'true' && matrix.python-version != '3.12'
117+
if: steps.changes.outputs.run == 'true' && matrix.python-version != '3.14'
116118
run: make tests
117119
- name: Run async teardown stability tests
118120
if: steps.changes.outputs.run == 'true' && (matrix.python-version == '3.10' || matrix.python-version == '3.14')
@@ -139,7 +141,7 @@ jobs:
139141
version: "0.11.14"
140142
enable-cache: true
141143
prune-cache: true
142-
python-version: "3.12"
144+
python-version: "3.14"
143145
- name: Run packaged MCP v1 compatibility tests
144146
if: steps.changes.outputs.run == 'true'
145147
run: make integration-tests-mcp-v1
@@ -193,7 +195,7 @@ jobs:
193195
runs-on: windows-latest
194196
timeout-minutes: 15
195197
env:
196-
OPENAI_AGENTS_INTEGRATION_PYTHON: "3.13"
198+
OPENAI_AGENTS_INTEGRATION_PYTHON: "3.14"
197199
OPENAI_API_KEY: fake-for-tests
198200
steps:
199201
- name: Checkout repository
@@ -209,7 +211,7 @@ jobs:
209211
version: "0.11.14"
210212
enable-cache: true
211213
prune-cache: true
212-
python-version: "3.13"
214+
python-version: "3.14"
213215
- name: Download prospective release contract
214216
if: steps.changes.outputs.run == 'true'
215217
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
@@ -229,7 +231,6 @@ jobs:
229231
runs-on: ubuntu-latest
230232
timeout-minutes: 10
231233
env:
232-
OPENAI_AGENTS_INTEGRATION_PYTHON: "3.12"
233234
OPENAI_API_KEY: fake-for-tests
234235
steps:
235236
- name: Checkout repository
@@ -244,7 +245,7 @@ jobs:
244245
version: "0.11.14"
245246
enable-cache: true
246247
prune-cache: true
247-
python-version: "3.12"
248+
python-version: "3.14"
248249
- name: Install all optional dependencies
249250
if: steps.changes.outputs.run == 'true'
250251
run: make sync
@@ -267,6 +268,13 @@ jobs:
267268
tests-windows:
268269
runs-on: windows-latest
269270
timeout-minutes: 10
271+
strategy:
272+
fail-fast: false
273+
matrix:
274+
# Keep Python 3.13 here because Daytona's locked obstore dependency has no Windows Python 3.14 wheel, so 3.14 builds it from source and exceeds this job's timeout.
275+
python-version:
276+
- "3.10"
277+
- "3.13"
270278
env:
271279
OPENAI_API_KEY: fake-for-tests
272280
steps:
@@ -283,7 +291,7 @@ jobs:
283291
version: "0.11.14"
284292
enable-cache: true
285293
prune-cache: true
286-
python-version: "3.13"
294+
python-version: ${{ matrix.python-version }}
287295
- name: Install dependencies
288296
if: steps.changes.outputs.run == 'true'
289297
run: uv sync --all-extras --all-packages --group dev
@@ -312,6 +320,7 @@ jobs:
312320
version: "0.11.14"
313321
enable-cache: true
314322
prune-cache: true
323+
python-version: "3.14"
315324
- name: Install dependencies
316325
if: steps.changes.outputs.run == 'true'
317326
run: make sync

0 commit comments

Comments
 (0)