Skip to content

Commit b201023

Browse files
Set python path for bazel run sync dependencies
1 parent 9997d59 commit b201023

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ jobs:
804804
apt update -y && apt install -y python3.9 python3.9-distutils python3-pip software-properties-common
805805
python3.9 -m pip install -U cffi
806806
export SYNC_DEPENDENCIES_TOKEN=$REPO_GITHUB_TOKEN
807-
bazel run @vaticle_dependencies//tool/sync:dependencies -- --source ${CIRCLE_PROJECT_REPONAME}@$(cat VERSION)
807+
bazel run --python_path=$(which python3.9) @vaticle_dependencies//tool/sync:dependencies -- --source ${CIRCLE_PROJECT_REPONAME}@$(cat VERSION)
808808
809809
release-cleanup:
810810
executor: linux-x86_64-ubuntu-2204
@@ -978,9 +978,9 @@ workflows:
978978
- sync-dependencies:
979979
filters:
980980
branches:
981-
only: [release]
982-
requires:
983-
- deploy-github
981+
only: [release, one-off-sync-dependencies-bazel-run-python-path]
982+
# requires:
983+
# - deploy-github
984984
- release-cleanup:
985985
filters:
986986
branches:

0 commit comments

Comments
 (0)