diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8238ee38..161b7aaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,7 +130,7 @@ jobs: - name: Install Python dependencies run: | - pip install --upgrade pip setuptools py + pip install --upgrade pip 'setuptools<71' py pip install -e .[all] - name: Run Sphinx documentation with doctests @@ -152,7 +152,7 @@ jobs: - name: Install Python dependencies run: | - pip install --upgrade pip setuptools py + pip install --upgrade pip 'setuptools<71' py pip install twine wheel pip install -e .[all] diff --git a/reana/reana_dev/utils.py b/reana/reana_dev/utils.py index 1ce74119..a72c1167 100644 --- a/reana/reana_dev/utils.py +++ b/reana/reana_dev/utils.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of REANA. -# Copyright (C) 2020, 2021, 2022, 2023 CERN. +# Copyright (C) 2020, 2021, 2022, 2023, 2024 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -605,7 +605,7 @@ def upgrade_requirements(component: str) -> bool: docker_cmd = ( f"docker run --rm -it -v {get_srcdir(component)}:/code:z {PYTHON_DOCKER_IMAGE} " - f"bash -c 'cd /code && pip install --upgrade pip-tools setuptools pip && {pip_compile_cmd}'" + f"bash -c 'cd /code && pip install --upgrade pip-tools 'setuptools<71' pip && {pip_compile_cmd}'" ) run_command(docker_cmd, component) return True