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

Upgrade to Poetry 1.3.2 #1549

Merged
merged 7 commits into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 install -y curl wget gnupg python3 python-is-python3 python3-pip git \
RUN python -m pip install \
pip==22.3.1 \
setuptools==65.6.3 \
poetry==1.2.2
poetry==1.3.1

USER $USERNAME
ENV PATH="/home/$USERNAME/.local/bin:${PATH}"
2 changes: 1 addition & 1 deletion .github/workflows/baselines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sudo apt install pandoc
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
Expand All @@ -48,7 +48,7 @@ jobs:
sudo apt install pandoc
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
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/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install poetry==1.2.2
python -m pip install poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install poetry==1.2.2
python -m pip install poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install poetry==1.2.2
python -m pip install poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flower.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
sudo apt-get install clang-format
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies (mandatory only)
run: python -m poetry install --extras "simulation"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flower_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
- name: Release nightly
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flower_tool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
python -m pip install -U pip==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1
poetry config virtualenvs.create false
- name: Install dependencies (mandatory + optional)
run: |
Expand Down
2 changes: 1 addition & 1 deletion 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==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1

# 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.2.2",
"poetry==1.3.1",
]
build-backend = "poetry.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion 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==22.3.1
python -m pip install -U setuptools==65.6.3
python -m pip install -U poetry==1.2.2
python -m pip install -U poetry==1.3.1

# Use `poetry` to install project dependencies
python -m poetry install \
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
build-backend = "poetry.core.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.2.2",
"poetry==1.3.1",
]
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.2.2",
"poetry==1.3.1",
]
build-backend = "poetry.core.masonry.api"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["poetry_core>=1.0.0"]
requires = ["poetry_core>=1.3.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
Expand Down