Message385031
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). |
|
Date |
User |
Action |
Args |
2021-01-13 14:58:19 | mcepl | set | recipients:
+ mcepl, ncoghlan, vstinner, christian.heimes, dstufft, pradyunsg, hroncok |
2021-01-13 14:58:19 | mcepl | set | messageid: <1610549899.46.0.567314129324.issue42856@roundup.psfhosted.org> |
2021-01-13 14:58:19 | mcepl | link | issue42856 messages |
2021-01-13 14:58:19 | mcepl | create | |
|