Skip to content

Commit

Permalink
build(docker): pin setuptools 70 (#274)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tiborsimko committed Sep 3, 2024
1 parent 1ce8e6a commit bc505d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This file is part of REANA.
# Copyright (C) 2017, 2018, 2019, 2020, 2021, 2022, 2023 CERN.
# Copyright (C) 2017, 2018, 2019, 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.
Expand Down Expand Up @@ -37,7 +37,7 @@ RUN apt-get update -y && \
python3-pip \
unzip \
vim-tiny && \
pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir --upgrade pip 'setuptools<71' && \
pip install --no-cache-dir -r /code/requirements.txt && \
apt-get remove -y \
autoconf \
Expand Down

0 comments on commit bc505d8

Please sign in to comment.