Skip to content

Commit b339ba2

Browse files
committed
adding tempfix for patator setuptools
1 parent 332a773 commit b339ba2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

sources/install/package_web.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,13 @@ function install_patator() {
279279
cd /opt/tools/patator || exit
280280
python3.13 -m venv --system-site-packages ./venv
281281
source ./venv/bin/activate
282-
pip3 install -r requirements.txt
282+
# Temporary fix for 'setuptools' having removed the 'pkg_resources' library, see https://github.com/pypa/setuptools/issues/5174
283+
local temp_fix_limit="2026-08-10"
284+
if check_temp_fix_expiry "$temp_fix_limit"; then
285+
echo 'setuptools<82' > build-constraints.txt
286+
pip3 install --build-constraint build-constraints.txt -r requirements.txt
287+
fi
288+
#pip3 install -r requirements.txt
283289
deactivate
284290
add-aliases patator
285291
add-history patator

0 commit comments

Comments
 (0)