Matej Cepl <mc...@cepl.eu> added the comment:
We (SUSE) have updated versions of the wheels as special Sources, and then this in the %prep stage of our SPEC file: # Replace bundled wheels with the updates ones rm -v Lib/ensurepip/_bundled/*.whl cp -v %{SOURCE20} %{SOURCE21} Lib/ensurepip/_bundled/ STVER=$(basename %{SOURCE20}|cut -d- -f2) PIPVER=$(basename %{SOURCE21}|cut -d- -f2) sed -E -i -e "s/^(\s*_SETUPTOOLS_VERSION\s+=\s+)\"[0-9.]+\"/\1\"${STVER}\"/" \ -e "s/^(\s*_PIP_VERSION\s+=\s+)\"[0-9.]+\"/\1\"${PIPVER}\"/" \ Lib/ensurepip/__init__.py A bit of manual work required, but it doesn't lead to so incredible convoluted constructs as I see in Fedora (nothing against it, but our build system is already convoluted enough). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42856> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com