Skip to content

Commit

Permalink
Fix master: Keep pip version constant (#1760)
Browse files Browse the repository at this point in the history
* Remove pip upgrade

* Remove pip upgrades that are not needed

* debug

* debug

* debug

* Try with github token

* Fix bug

* temp

* Update
  • Loading branch information
seanpmorgan authored Apr 30, 2020
1 parent d9edc62 commit d4ebfca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/make_wheel_macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export TF_NEED_CUDA=0
python --version
python -m pip install delocate wheel setuptools tensorflow==$TF_VERSION

bash tools/install_deps/bazel_macos.sh $BAZEL_VERSION
bash tools/testing/build_and_run_tests.sh

bazel build \
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- r*

env:
BAZEL_VERSION: 1.1.0
BAZEL_VERSION: '1.1.0'
MIN_PY_VERSION: '3.5'
MAX_PY_VERSION: '3.8'

Expand Down Expand Up @@ -54,6 +54,10 @@ jobs:
- if: github.event_name == 'push'
run: echo "::set-env name=NIGHTLY_FLAG::--nightly"
- uses: actions/checkout@v2
- uses: jwlawson/[email protected]
with:
bazel-version: ${{ env.BAZEL_VERSION}}
github-api-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.py-version }}
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/build_wheel.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN mv /usr/bin/lsb_release2 /usr/bin/lsb_release
ARG PY_VERSION
RUN ln -sf $(which python$PY_VERSION) /usr/bin/python

RUN python -m pip install --upgrade pip setuptools auditwheel==2.0.0
RUN python -m pip install auditwheel==2.0.0

ARG TF_VERSION
RUN python -m pip install tensorflow==$TF_VERSION
Expand Down
4 changes: 0 additions & 4 deletions tools/install_deps/bazel_macos.sh

This file was deleted.

0 comments on commit d4ebfca

Please sign in to comment.