Skip to content

Commit

Permalink
Upgrade pip and setuptools (#2560)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljanes authored Nov 6, 2023
1 parent 1915eba commit 3476cb8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ RUN apt install -y curl wget gnupg python3 python-is-python3 python3-pip git \
build-essential tmux vim

RUN python -m pip install \
pip==23.1.2 \
setuptools==68.0.0 \
pip==23.3.1 \
setuptools==68.2.2 \
poetry==1.5.1

USER $USERNAME
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ inputs:
default: 3.8
pip-version:
description: "Version of pip to be installed using pip"
default: 23.1.2
default: 23.3.1
setuptools-version:
description: "Version of setuptools to be installed using pip"
default: 68.0.0
default: 68.2.2
poetry-version:
description: "Version of poetry to be installed using pip"
default: 1.5.1
Expand Down
4 changes: 2 additions & 2 deletions baselines/flwr_baselines/dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ 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==23.1.2
python -m pip install -U setuptools==68.0.0
python -m pip install -U pip==23.3.1
python -m pip install -U setuptools==68.2.2
python -m pip install -U poetry==1.5.1

# Use `poetry` to install project dependencies
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==23.1.2 setuptools==68.0.0
python3.7 -m pip install -U pip==23.3.1 setuptools==68.2.2
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==23.1.2 setuptools==68.0.0
python3.7 -m pip install -U pip==23.3.1 setuptools==68.2.2
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
4 changes: 2 additions & 2 deletions dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ 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==23.1.2
python -m pip install -U setuptools==68.0.0
python -m pip install -U pip==23.3.1
python -m pip install -U setuptools==68.2.2
python -m pip install -U poetry==1.5.1

# Use `poetry` to install project dependencies
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ rest = ["requests", "starlette", "uvicorn"]
types-dataclasses = "==0.6.6"
types-protobuf = "==3.19.18"
types-requests = "==2.31.0.2"
types-setuptools = "==68.0.0.3"
types-setuptools = "==68.2.0.0"
clang-format = "==16.0.6"
isort = "==5.11.5"
black = { version = "==23.3.0", extras = ["jupyter"] }
Expand Down

0 comments on commit 3476cb8

Please sign in to comment.