Skip to content

Commit 0cef3d7

Browse files
committed
Do not install setuptools >=71 (pypa/setuptools#4478)
1 parent de3dbad commit 0cef3d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ynh_exec_as $app virtualenv --python=python3 --system-site-packages "${install_d
7272
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$install_dir"/.rustup CARGO_HOME="$install_dir"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y --default-toolchain=stable --profile=minimal'
7373
export PATH="$install_dir/.cargo/bin:$PATH"
7474
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
75-
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
75+
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade 'setuptools<71'
7676
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install woob simplejson BeautifulSoup4 PyExecJS typing-extensions pdfminer.six Pillow chompjs --ignore-installed
7777
ynh_secure_remove --file="$install_dir/.cargo"
7878
ynh_secure_remove --file="$install_dir/.rustup"

scripts/upgrade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ynh_exec_as $app virtualenv --python=python3 --system-site-packages "${install_d
100100
ynh_exec_warn_less ynh_exec_as $app RUSTUP_HOME="$install_dir"/.rustup CARGO_HOME="$install_dir"/.cargo bash -c 'curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -q -y --default-toolchain=stable --profile=minimal'
101101
export PATH="$install_dir/.cargo/bin:$PATH"
102102
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade pip
103-
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade setuptools
103+
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install --upgrade 'setuptools<71'
104104
ynh_exec_warn_less ynh_exec_as $app env PATH=$PATH pip install woob simplejson BeautifulSoup4 PyExecJS typing-extensions pdfminer.six Pillow chompjs --ignore-installed
105105
ynh_secure_remove --file="$install_dir/.cargo"
106106
ynh_secure_remove --file="$install_dir/.rustup"

0 commit comments

Comments
 (0)