From fd02a9bb613b298573c0e0434f9811717ae0fcb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 8 Jul 2024 13:04:24 +0200 Subject: [PATCH] Fix package check --- .github/workflows/main.yaml | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 090eae1b5..d06a3f9ed 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -50,7 +50,7 @@ jobs: - run: cd c2cciutils; npm install - run: python3 -m pip install --user --requirement=requirements.txt - run: poetry build - - run: python3 -m pip install --user --force-reinstall dist/*.whl 'ruamel.yaml<0.18.0' + - run: python3 -m pip install --user --force-reinstall dist/*.whl 'ruamel.yaml<0.18.0' 'importlib-metadata<8.0.0' - run: rm -rf dist build - name: Checks diff --git a/requirements.txt b/requirements.txt index b09fb7db7..fd1589227 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,7 @@ poetry==1.4.2 poetry-plugin-export==1.3.1 poetry-dynamic-versioning[plugin]==0.20.0 poetry-plugin-tweak-dependencies-version==1.3.0 +importlib-metadata<8.0.0>=7.0.0 requests>=2.31.0 # not directly required, pinned by Snyk to avoid a vulnerability certifi>=2022.12.7 # not directly required, pinned by Snyk to avoid a vulnerability urllib3>=1.26.17 # not directly required, pinned by Snyk to avoid a vulnerability