diff --git a/tasks/pybuild/task.yaml b/tasks/pybuild/task.yaml index ad93983..e5660aa 100644 --- a/tasks/pybuild/task.yaml +++ b/tasks/pybuild/task.yaml @@ -41,7 +41,7 @@ spec: echo "[INFO] Poetry project detected" pip install poetry --root-user-action=ignore - poetry lock --no-update || echo "[WARN] poetry lock skipped" + poetry lock || echo "[WARN] poetry lock skipped" poetry install --no-root || echo "[WARN] poetry install skipped" echo "📦 Building with Poetry..." diff --git a/tasks/pylint/task.yaml b/tasks/pylint/task.yaml index b3e04d6..d3f810f 100644 --- a/tasks/pylint/task.yaml +++ b/tasks/pylint/task.yaml @@ -51,7 +51,7 @@ spec: if [ -f pyproject.toml ]; then echo "[INFO] Poetry project detected" pip install poetry --root-user-action=ignore - poetry lock --no-update + poetry lock poetry install --with dev elif [ -f requirements.txt ]; then echo "[INFO] Pip project detected" diff --git a/tasks/pytest/task.yaml b/tasks/pytest/task.yaml index 6fc3031..29c27ab 100644 --- a/tasks/pytest/task.yaml +++ b/tasks/pytest/task.yaml @@ -40,7 +40,7 @@ spec: pip install poetry --root-user-action=ignore echo "[INFO] Using pre-configured poetry settings from $HOME/.config/pypoetry/" - poetry lock --no-cache --no-update + poetry lock --no-cache poetry install elif [ -f requirements.txt ]; then echo "[INFO] Using pip to install dependencies"