From 56005326cb60513f320a90f669ae663d5e5e37f6 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 16 Jan 2023 14:11:16 +0000 Subject: [PATCH 1/2] Use poetry 1.2.2 AFAICS from https://github.com/python-poetry/poetry/releases this is backwards-compatible with 1.2.x. Crucially, it's also forwards-compatible with 1.3.x's new lockfile format (see https://github.com/python-poetry/poetry/pull/6608) Fixes #12. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1ad4f74..43632d4 100644 --- a/action.yml +++ b/action.yml @@ -8,7 +8,7 @@ inputs: poetry-version: description: Poetry version to install via pip. required: false - default: "1.2.0" + default: "1.2.2" extras: description: > If present, a space separated list of extras to pass to From baa7f4b70db8dd11180148bd705ed6cfc33e7284 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 16 Jan 2023 14:13:17 +0000 Subject: [PATCH 2/2] Drive-by: fix ref. to old setup-python version Fixes #13. Missed in #11. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 43632d4..f9d85f2 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: Setup Python and Poetry description: Setup Python and Poetry. Cribbed from snok/install-poetry. inputs: python-version: - description: Python version to pass to actions/setup-python@v2. + description: Python version to pass to actions/setup-python@v4. required: false default: "3.x" poetry-version: