From b78cdc4dd05edf5652d83742efd6490c6070b47a Mon Sep 17 00:00:00 2001 From: Christian Henkel <6976069+ct2034@users.noreply.github.com> Date: Wed, 12 Jul 2023 21:14:59 +0200 Subject: [PATCH] Limiting the scancode toolkit version <= 31 (#18) * limiting the scancode toolkit version Signed-off-by: Christian Henkel * pycodestyle Signed-off-by: Christian Henkel * cron job to detect these things in future Signed-off-by: Christian Henkel --------- Signed-off-by: Christian Henkel --- .github/workflows/pytest.yml | 3 +++ setup.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index fd34c84..e740ac5 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -4,6 +4,9 @@ on: branches: [main] pull_request: branches: [main] + schedule: + # Runs every tuesday at 07:00 UTC + - cron: "0 7 * * 2" # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/setup.py b/setup.py index f8fa59b..20aa382 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,10 @@ def read(fname): install_requires=[ 'gitpython', 'rospkg', - 'scancode-toolkit', + # TODO v32 changes things, see + # https://github.com/nexB/scancode-toolkit/blob/develop/ + # CHANGELOG.rst#v3200---2023-05-23 + 'scancode-toolkit<=31.2.6', 'spdx-tools' ], package_dir={"": "src"},