Skip to content

Commit 6f569e4

Browse files
committed
chore: use Python 3.14 for local development
1 parent 9548ae3 commit 6f569e4

5 files changed

Lines changed: 12 additions & 17 deletions

File tree

.github/workflows/adk-py-test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_call:
55
inputs:
66
python-version:
7-
required: true
7+
required: false
88
type: string
99

1010
jobs:
@@ -20,25 +20,25 @@ jobs:
2020
with:
2121
cache: true
2222
experimental: true
23-
install_args: python@${{ inputs.python-version }} uv
23+
install_args: uv
2424

2525
- name: Install deprecated package compatibility dependencies
2626
working-directory: integrations/adk-py
2727
run: |
28-
mise exec python@${{ inputs.python-version }} -- uv sync
28+
mise exec -- uv sync
2929
3030
- name: Lint deprecated compatibility package
3131
working-directory: integrations/adk-py
3232
run: |
33-
mise exec python@${{ inputs.python-version }} -- uv run ruff check $(git ls-files '*.py' | grep -v 'examples/')
33+
mise exec -- uv run ruff check $(git ls-files '*.py' | grep -v 'examples/')
3434
3535
- name: Run deprecated compatibility tests
3636
working-directory: integrations/adk-py
3737
run: |
38-
mise exec python@${{ inputs.python-version }} -- uv run pytest src/tests/test_reexports.py
38+
mise exec -- uv run pytest src/tests/test_reexports.py
3939
4040
- name: Test deprecated package import
4141
working-directory: integrations/adk-py
4242
run: |
43-
mise exec python@${{ inputs.python-version }} -- uv run python -c "import braintrust_adk; print('braintrust_adk imported successfully')"
44-
mise exec python@${{ inputs.python-version }} -- uv run python -c "from braintrust_adk import setup_braintrust; print('setup_braintrust imported successfully')"
43+
mise exec -- uv run python -c "import braintrust_adk; print('braintrust_adk imported successfully')"
44+
mise exec -- uv run python -c "from braintrust_adk import setup_braintrust; print('setup_braintrust imported successfully')"

.github/workflows/publish-py-sdk.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ jobs:
5151
with:
5252
cache: true
5353
experimental: true
54-
install_args: python@3.13
5554
- name: Build and verify
5655
run: |
57-
mise exec python@3.13 -- make -C py install-dev verify-build
56+
mise exec -- make -C py install-dev verify-build
5857
- name: Upload build artifacts
5958
uses: actions/upload-artifact@v4
6059
with:

.github/workflows/py.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ jobs:
5050
5151
adk-py:
5252
uses: ./.github/workflows/adk-py-test.yaml
53-
with:
54-
python-version: "3.13"
5553

5654
langchain-py:
5755
uses: ./.github/workflows/langchain-py-test.yaml
@@ -75,10 +73,9 @@ jobs:
7573
with:
7674
cache: true
7775
experimental: true
78-
install_args: python@3.13
7976
- name: Install build dependencies and build wheel
8077
run: |
81-
mise exec python@3.13 -- make -C py install-build-deps build
78+
mise exec -- make -C py install-build-deps build
8279
- name: Upload wheel as artifact
8380
uses: actions/upload-artifact@v4
8481
with:

.github/workflows/test-publish-py-sdk.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@ jobs:
3838
with:
3939
cache: true
4040
experimental: true
41-
install_args: python@3.13
4241
- name: Install build dependencies
4342
run: |
44-
mise exec python@3.13 -- make -C py install-dev
43+
mise exec -- make -C py install-dev
4544
- name: Build and verify
4645
run: |
47-
mise exec python@3.13 -- make -C py verify-build
46+
mise exec -- make -C py verify-build
4847
- name: Get version from built wheel
4948
id: get_version
5049
run: |

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
python 3.13.3
1+
python 3.14.3
22
pre-commit 4.2.0
33
uv 0.7.8

0 commit comments

Comments
 (0)