Skip to content

Commit c593d9b

Browse files
committedSep 3, 2024
build(docker): pin setuptools 70 (#465)
Pin `setuptools` to the maximum version of 70 to allow working on Ubuntu 20.04 LTS based environments. (New versions of `setuptools` are not compatible.) Note that this fix is necessary only for the `maint-0.9` branches and the REANA 0.9 release series. In `master` we have switched to Ubuntu 24.04 LTS based environments and Python 3.12 and no pinning is necessary there.
1 parent 132868f commit c593d9b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
135135
- name: Install Python dependencies
136136
run: |
137-
pip install --upgrade pip setuptools py
137+
pip install --upgrade pip 'setuptools<71' py
138138
pip install -r requirements.txt
139139
pip install -e .[all]
140140
@@ -159,7 +159,7 @@ jobs:
159159

160160
- name: Install Python dependencies
161161
run: |
162-
pip install --upgrade pip setuptools py
162+
pip install --upgrade pip 'setuptools<71' py
163163
pip install twine wheel
164164
pip install -r requirements.txt
165165
pip install -e .[all]

‎Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This file is part of REANA.
2-
# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023 CERN.
2+
# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024 CERN.
33
#
44
# REANA is free software; you can redistribute it and/or modify it
55
# under the terms of the MIT License; see LICENSE file for more details.
@@ -36,7 +36,7 @@ RUN apt-get update -y && \
3636
python3.8 \
3737
python3.8-dev \
3838
vim-tiny && \
39-
pip install --no-cache-dir --upgrade pip setuptools && \
39+
pip install --no-cache-dir --upgrade pip 'setuptools<71' && \
4040
pip install --no-cache-dir -r /code/requirements.txt && \
4141
apt-get remove -y \
4242
gcc && \

0 commit comments

Comments
 (0)