Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update poetry version to latest #2954

Merged
merged 15 commits into from
Feb 15, 2024
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN apt-get install -y curl wget gnupg python3 python-is-python3 python3-pip git
RUN python -m pip install \
pip==23.3.1 \
setuptools==68.2.2 \
poetry==1.5.1
poetry==1.7.1

USER $USERNAME
ENV PATH="/home/$USERNAME/.local/bin:${PATH}"
2 changes: 1 addition & 1 deletion .github/actions/bootstrap/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inputs:
default: 68.2.2
poetry-version:
description: "Version of poetry to be installed using pip"
default: 1.5.1
default: 1.7.1
outputs:
python-version:
description: "Version range or exact version of Python or PyPy"
Expand Down
2 changes: 1 addition & 1 deletion baselines/baseline_template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hydra-core = "1.3.2" # don't change this
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/dasha/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ torchvision = [{ url = "https://download.pytorch.org/whl/cu118/torchvision-0.15.
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/depthfl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu116/torchvision-0.14.1
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedavgm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ matplotlib = "^3.7.2"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedbn/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tqdm = "^4.66.1"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedmeta/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pillow = "9.5.0" # needed <10.0.0 for LEAF repo scripts
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedmlb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ psutil = "5.9.5" # this is just to log some info about memory usage
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fednova/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pandas = "1.3.5"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedpara/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu117/torchvision-0.15.2
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
4 changes: 2 additions & 2 deletions baselines/fedper/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu117/torchvision-0.15.2
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down Expand Up @@ -140,4 +140,4 @@ exclude = [
]

[tool.ruff.pydocstyle]
convention = "numpy"
convention = "numpy"
2 changes: 1 addition & 1 deletion baselines/fedprox/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu117/torchvision-0.15.2
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedvssl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mmcv-full = { url = "https://download.openmmlab.com/mmcv/dist/cu117/torch1.13.0/
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fedwav2vec2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ transformers = "4.33.2"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/fjord/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu117/torchvision-0.15.2
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/flwr_baselines/dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
# Upgrade/install spcific versions of `pip`, `setuptools`, and `poetry`
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
python -m pip install -U poetry==1.7.1

# Use `poetry` to install project dependencies
python -m poetry install
2 changes: 1 addition & 1 deletion baselines/flwr_baselines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pyhamcrest = "^2.0.4"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==0.961"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/flwr_baselines/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ virtualenv >= 20.24.6
##### dev-dependencies
isort == 5.11.5
black == 23.1.0
docformatter == 1.5.1
docformatter == 1.7.1
mypy == 0.961
pylint == 2.8.2
flake8 == 3.9.2
Expand Down
2 changes: 1 addition & 1 deletion baselines/heterofl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tqdm = "4.66.1"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/hfedxgboost/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ wandb = "0.15.12"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/moon/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ torchvision = { url = "https://download.pytorch.org/whl/cu116/torchvision-0.13.0
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/niid_bench/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tqdm = "4.66.1"
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion baselines/tamuna/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ torchaudio = { url = "https://download.pytorch.org/whl/cu118/torchaudio-2.0.2%2B
[tool.poetry.dev-dependencies]
isort = "==5.11.5"
black = "==23.1.0"
docformatter = "==1.5.1"
docformatter = "==1.7.1"
mypy = "==1.4.1"
pylint = "==2.8.2"
flake8 = "==3.9.2"
Expand Down
2 changes: 1 addition & 1 deletion dev/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/../
# Upgrade/install spcific versions of `pip`, `setuptools`, and `poetry`
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
python -m pip install -U poetry==1.7.1

# Use `poetry` to install project dependencies
python -m poetry install --all-extras
Loading