Skip to content

Commit

Permalink
Merge pull request #249 from sillsdev/#238_upgrade_poetry
Browse files Browse the repository at this point in the history
upgrade poetry to 1.7.1 (#249)
  • Loading branch information
johnml1135 authored Dec 1, 2023
2 parents bcba32d + caa5c03 commit a6c0a03
Show file tree
Hide file tree
Showing 6 changed files with 2,348 additions and 2,567 deletions.
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

0 comments on commit a6c0a03

Please sign in to comment.