Skip to content

Commit

Permalink
Update build tool versions (adap#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanertopal committed Jul 26, 2022
1 parent 36c8894 commit ee8770a
Show file tree
Hide file tree
Showing 28 changed files with 55 additions and 55 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ RUN apt install -y curl wget gnupg python3 python-is-python3 python3-pip git \
build-essential clang-format tmux vim

RUN python -m pip install \
pip==22.0.4 \
setuptools==60.9.3 \
poetry==1.1.13
pip==22.2 \
setuptools==63.2.0 \
poetry==1.1.14

USER $USERNAME
ENV PATH="/home/$USERNAME/.local/bin:${PATH}"
6 changes: 3 additions & 3 deletions .github/workflows/baselines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
python-version: 3.8.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
Expand All @@ -44,9 +44,9 @@ jobs:
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
python-version: 3.7.12
- name: Install
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down Expand Up @@ -76,9 +76,9 @@ jobs:
python-version: 3.7.12
- name: Install
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down Expand Up @@ -132,9 +132,9 @@ jobs:
python-version: 3.7.12
- name: Install
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flower.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
- name: Install build tools
run: |
sudo apt-get install clang-format
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flower_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
- name: Release nightly
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/flower_tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
python-version: 3.7.12
- name: Install build tools
run: |
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14
poetry config virtualenvs.create false
- name: Install dependencies (mandatory + optional)
run: |
Expand Down
6 changes: 3 additions & 3 deletions baselines/dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
rm -f poetry.lock

# Upgrade/install spcific versions of `pip`, `setuptools`, and `poetry`
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14

# Use `poetry` to install project dependencies
python -m poetry install
2 changes: 1 addition & 1 deletion baselines/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion dev/aws-ami-bootstrap-tf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev li
sudo apt install -y python3.7 python3-pip

# Install project dependencies
python3.7 -m pip install -U pip==22.0.4 setuptools==60.9.3
python3.7 -m pip install -U pip==22.2 setuptools==63.2.0
python3.7 -m pip install -U numpy==1.18.1 grpcio==1.27.2 google==2.0.3 protobuf==3.12.1 \
boto3==1.12.36 boto3_type_annotations==0.3.1 paramiko==2.7.1 docker==4.2.0 matplotlib==3.2.1 \
tensorflow-cpu==2.6.2
Expand Down
2 changes: 1 addition & 1 deletion dev/aws-ami-bootstrap-torch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev li
sudo apt install -y python3.7 python3-pip

# Install project dependencies
python3.7 -m pip install -U pip==22.0.4 setuptools==60.9.3
python3.7 -m pip install -U pip==22.2 setuptools==63.2.0
python3.7 -m pip install -U numpy==1.18.1 grpcio==1.27.2 google==2.0.3 protobuf==3.12.1 \
boto3==1.12.36 boto3_type_annotations==0.3.1 paramiko==2.7.1 docker==4.2.0 matplotlib==3.2.1 \
tqdm==4.48.2 torch==1.6.0 torchvision==0.7.0
Expand Down
6 changes: 3 additions & 3 deletions dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
./dev/rm-caches.sh

# Upgrade/install spcific versions of `pip`, `setuptools`, and `poetry`
python -m pip install -U pip==22.0.4
python -m pip install -U setuptools==60.9.3
python -m pip install -U poetry==1.1.13
python -m pip install -U pip==22.2
python -m pip install -U setuptools==63.2.0
python -m pip install -U poetry==1.1.14

# Use `poetry` to install project dependencies
python -m poetry install \
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_pytorch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_tensorflow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/android/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/dp-sgd-mnist/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.core.masonry.api"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.core.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/opacus/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.core.masonry.api"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_huggingface/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_mlcube/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_mxnet/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.core.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_pytorch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_pytorch_lightning/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart_tensorflow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/simulation_pytorch/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/simulation_tensorflow/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion examples/sklearn-logreg-mnist/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"poetry==1.1.13",
"poetry==1.1.14",
]
build-backend = "poetry.core.masonry.api"

Expand Down

0 comments on commit ee8770a

Please sign in to comment.