From 95b547ce71b01b4cad6e717c871c66517787b49f Mon Sep 17 00:00:00 2001 From: daywalker90 <8257956+daywalker90@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:48:09 +0100 Subject: [PATCH 1/2] CI: explicitly install poetry-plugin-export --- .ci/test.py | 1 + .github/workflows/main.yml | 1 + .github/workflows/nightly.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.ci/test.py b/.ci/test.py index 773624a14..cca58020e 100644 --- a/.ci/test.py +++ b/.ci/test.py @@ -16,6 +16,7 @@ "pytest", "pytest-xdist", "pytest-timeout", + "poetry-plugin-export", ] pip_opts = ["-qq"] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5d059ede5..6be9ce46a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -169,6 +169,7 @@ jobs: pip3 install --user -U \ pip \ poetry \ + poetry-plugin-export \ wheel \ blinker \ pytest-custom-exit-code==0.3.0 \ diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c31304a2a..ce9f945b6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -67,6 +67,7 @@ jobs: pip3 install --user -U \ pip \ poetry \ + poetry-plugin-export \ wheel \ blinker \ pytest-custom-exit-code==0.3.0 \ From d08ddb1a4845e8ad4922f49daef88c7b16434c40 Mon Sep 17 00:00:00 2001 From: daywalker90 <8257956+daywalker90@users.noreply.github.com> Date: Mon, 6 Jan 2025 22:55:08 +0100 Subject: [PATCH 2/2] CI: poetry install without root --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6be9ce46a..566eb2008 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -175,7 +175,7 @@ jobs: pytest-custom-exit-code==0.3.0 \ pytest-json-report - poetry install + poetry install --no-root poetry update poetry export --without-hashes -f requirements.txt --output requirements.txt pip install --user -U -r requirements.txt