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 poetry to 1.7.1 #249

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
@@ -1,6 +1,6 @@
ARG CUDA_VERSION=11.2.2-cudnn8-runtime-ubuntu20.04
ARG PYTHON_VERSION=3.8
ARG POETRY_VERSION=1.2.2
ARG POETRY_VERSION=1.7.1
FROM nvidia/cuda:$CUDA_VERSION
ARG PYTHON_VERSION
ARG POETRY_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG CUDA_VERSION=11.2.2-cudnn8-runtime-ubuntu20.04
ARG PYTHON_VERSION=3.8
ARG POETRY_VERSION=1.2.2
ARG POETRY_VERSION=1.7.1

FROM python:$PYTHON_VERSION-slim as builder
ARG POETRY_VERSION
Expand Down
4,904 changes: 2,343 additions & 2,561 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,4 @@ eflomal = ["eflomal"]
[[tool.poetry.source]]
name = "torch"
url = "https://download.pytorch.org/whl/cu111"
default = false
secondary = true
priority = "explicit"
2 changes: 1 addition & 1 deletion scripts/clear_clearml_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"apt install -y python3-venv",
"python3 -m pip install --user pipx",
"PATH=$PATH:/root/.local/bin",
"pipx install poetry==1.2.2",
"pipx install poetry==1.7.1",
"rm -rf /root/.cache/pip/{*,.*}",
"rm -rf /root/.cache/pypoetry/{*,.*}",
"rm -rf /root/.clearml/pip-download-cache/{*,.*}",
Expand Down
2 changes: 1 addition & 1 deletion silnlp/nmt/clearml_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __post_init__(self) -> None:
"apt install -y python3-venv",
"python3 -m pip install --user pipx",
"PATH=$PATH:/root/.local/bin",
"pipx install poetry==1.2.2",
"pipx install poetry==1.7.1",
],
)
if self.queue_name.lower() not in ("local", "locally"):
Expand Down