On 17. 04. 24 23:10, Markus Falb wrote:
Hi,
I noticed that creating virtualenvs did not work anymore with the latest python
3.10 package on Fedora 38
Hello Markus,
Thanks for the report, this is indeed happening.
[root@fe60c84b08f3 /]# python3.10 -m venv venv
Error: Command '['/venv/bin/python3.10', '-m', 'ensurepip', '--upgrade',
'--default-pip']' returned non-zero exit status 1.
snap...
And the error is (when I run the failed command):
ImportError:
/usr/lib64/python3.10/lib-dynload/pyexpat.cpython-310-x86_64-linux-gnu.so:
undefined symbol: XML_SetReparseDeferralEnabled
Unfortunately this also happens with all python3.8 ... python3.13.
3.11 and 3.12 were still in updates testing, so I have blocked the autopush for
now:
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d615822702
https://bodhi.fedoraproject.org/updates/FEDORA-2024-98a723cb68
I am afraid this also impacts newer Fedoras once shipped with older expat.
https://www.python.org/downloads/release/python-31014/ tells us
... bundled libexpat was updated to 2.6.0 to address CVE-2023-52425...
And we unbundle it, yet we depend on the new symbol :(
using the fedora container for CI runs without doing global dnf update to save
resources I had to update expat from
expat-2.5.0-2.fc38.x86_64
to
expat-2.6.0-1.fc38.x86_64
Fortunately, fedora:39 from registry.fedoraproject.org already has
expat-2.6.2-1.fc39.
I wonder if there is a way to reflect that in the spec file
something like:
...snip
Requires: expat >= 2.6.0
snap...
Yes, we need to do that. I'm on it.
---
I wonder how to prevent this in the future. There is
https://github.com/rpm-software-management/rpm/pull/2372 but that will take a
while.
Perhaps we need to always Require expat >= version of expat used when building.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue