Bug 2325182 - python-pexpect fails to build with Python 3.14: multiple pickling errors
Summary: python-pexpect fails to build with Python 3.14: multiple pickling errors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pexpect
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2024-11-11 13:45 UTC by Karolina Surma
Modified: 2024-11-24 21:23 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-11-24 21:23:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-pexpect pull-request 12 0 None None None 2024-11-22 19:23:41 UTC
Github pexpect pexpect issues 807 0 None open Python 3.14: multiple pickling errors in the test suite (`_pickle.PicklingError: Can't pickle local object`, `TypeError:... 2024-11-13 15:28:07 UTC
Github pexpect pexpect pull 808 0 None open Tests: Avoid the multiprocessing forkserver method 2024-11-22 15:49:41 UTC
Github python cpython issues 125714 0 None open `_pickle.PicklingError` on 3.14.0a1+ where it didn't before due to the start method change from fork to forkserver 2024-11-20 13:19:27 UTC

Description Karolina Surma 2024-11-11 13:45:13 UTC
python-pexpect fails to build with Python 3.14.0a1.
25 tests failed on multiple pickling errors.

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08199855-python-pexpect/

For all our attempts to build python-pexpect with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-pexpect/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2024-11-22 15:49:41 UTC
Upstream PR: https://github.com/pexpect/pexpect/pull/808

I've built this in the Python 3.14 Copr. Will await some feedback and propose a downstream backport later.

Comment 2 Miro Hrončok 2024-11-22 19:23:41 UTC
Upstream merged my PR, here's the Fedora PR: https://src.fedoraproject.org/rpms/python-pexpect/pull-request/12


Note You need to log in before you can comment on or make changes to this bug.