Skip to content

Commit b7491f0

Browse files
xingyousongcopybara-github
authored andcommitted
Upgrade to Py3.12 and fix tests
PiperOrigin-RevId: 721981221
1 parent 615bb2a commit b7491f0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
python-version: ["3.11"] # 3.x disabled b/c of 3.12 test failures w/ GRPC.
18+
python-version: ["3.12"] # 3.x disabled b/c of 3.12 test failures w/ GRPC.
1919
suffix: ["core", "benchmarks", "algorithms", "clients", "pyglove", "raytune"]
2020
include:
2121
- suffix: "clients"

.github/workflows/pypi-publish-dev.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v4
1919
with:
20-
python-version: '3.11'
20+
python-version: '3.12'
2121
- name: Install dependencies
2222
# NOTE: grpcio-tools needs to be periodically updated to support later Python versions.
2323
run: |

.github/workflows/pypi-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: '3.11'
18+
python-version: '3.12'
1919
- name: Install dependencies
2020
# NOTE: grpcio-tools needs to be periodically updated to support later Python versions.
2121
run: |

vizier/_src/service/performance_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def fn(client_id: int):
6161

6262
client = vizier_client.create_or_load_study(
6363
owner_id='my_username',
64-
study_id=self.id(), # Use the testcase name.
64+
study_id='my_study',
6565
study_config=study_config,
6666
client_id=str(client_id),
6767
)

0 commit comments

Comments
 (0)