Skip to content

Commit 8ac0a9e

Browse files
Install built wheel directly in build-binaries (#1245)
* Update to python 3.14 during build-binaries. Remove direct dependencies from test wheel step and instead install the build wheel directly allowing dependencies to resolve from pypi * remove temporary branch target for build-binaries * Prefer binary when installing the wheel for added safety
1 parent b0adaae commit 8ac0a9e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-binaries.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- main
66
- "releases/*"
7+
- build-binaries-install-whl
78

89
permissions:
910
contents: read
@@ -35,7 +36,7 @@ jobs:
3536
submodules: recursive
3637
- uses: actions/setup-python@v5
3738
with:
38-
python-version: "3.13"
39+
python-version: "3.14"
3940

4041
# Install Rust locally for non-Linux (Linux uses an internal docker
4142
# command to build with cibuildwheel which uses rustup install defined
@@ -68,8 +69,8 @@ jobs:
6869
if [ "$RUNNER_OS" = "Windows" ]; then
6970
bindir=Scripts
7071
fi
71-
./.venv/$bindir/pip install 'protobuf>=3.20,<6' 'types-protobuf>=3.20,<6' 'typing-extensions>=4.2.0,<5' pytest pytest_asyncio grpcio 'nexus-rpc>=1.1.0' pydantic opentelemetry-api opentelemetry-sdk python-dateutil 'openai-agents>=0.2.3,<=0.2.9' 'googleapis-common-protos==1.70.0'
72-
./.venv/$bindir/pip install --no-index --find-links=../dist temporalio
72+
./.venv/$bindir/pip install pytest pytest_asyncio grpcio pydantic opentelemetry-api opentelemetry-sdk python-dateutil 'openai-agents>=0.2.3,<=0.2.9' 'googleapis-common-protos==1.70.0'
73+
./.venv/$bindir/pip install --prefer-binary ../dist/*.whl
7374
./.venv/$bindir/python -m pytest -s -k test_workflow_hello
7475
7576
# Upload dist

0 commit comments

Comments
 (0)