From 15a33b42574745892161d34286f0e6e39938ca58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Mon, 4 Nov 2024 09:02:59 +0100 Subject: [PATCH] Fix the workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- devel/run-liccheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devel/run-liccheck.sh b/devel/run-liccheck.sh index f950e110e..e11af2471 100755 --- a/devel/run-liccheck.sh +++ b/devel/run-liccheck.sh @@ -18,7 +18,7 @@ LOCK_TMPDIR=$(mktemp -d -t poetry-lock-XXXXXX) mkdir -p $LOCK_TMPDIR # Workaround https://github.com/python-poetry/poetry-plugin-export/issues/183 -sed -e '/^urllib3 = {version = "<2"/d' poetry.lock > $LOCK_TMPDIR/poetry.lock +sed -e '/^\s\+{version = "<2"/d' poetry.lock > $LOCK_TMPDIR/poetry.lock cp -p pyproject.toml $LOCK_TMPDIR/ curl -o $STRATEGY_TMPFILE $STRATEGY_URL