https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Bug ID: 2280581 Summary: python-jedi fails to build with Python 3.13: ValueError: not enough values to unpack (expected 1, got 0) (script = jedi.Interpreter('foo', [locals()])) Product: Fedora Version: rawhide Status: NEW Component: python-jedi Assignee: lbalhar@redhat.com Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: carl@redhat.com, epel-packagers-sig@lists.fedoraproject.org, ksurma@redhat.com, lbalhar@redhat.com, mhroncok@redhat.com, phracek@redhat.com, python-packagers-sig@lists.fedoraproject.org Blocks: 2244836 (PYTHON3.13) Target Milestone: --- Classification: Fedora
python-jedi fails to build with Python 3.13.0b1.
=================================== FAILURES =================================== ______________________ test_completion_param_annotations _______________________
def test_completion_param_annotations(): # Need to define this function not directly in Python. Otherwise Jedi is too # clever and uses the Python code instead of the signature object. code = 'def foo(a: 1, b: str, c: int = 1.0) -> bytes: pass' exec(code, locals()) script = jedi.Interpreter('foo', [locals()])
c, = script.complete()
E ValueError: not enough values to unpack (expected 1, got 0)
test/test_api/test_interpreter.py:315: ValueError =========================== short test summary info ============================ FAILED test/test_api/test_interpreter.py::test_completion_param_annotations
https://docs.python.org/3.13/whatsnew/3.13.html
For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-ra...
For all our attempts to build python-jedi with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-j...
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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836 [Bug 2244836] Python 3.13
https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Karolina Surma ksurma@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2260875 | |(F41FTBFS,RAWHIDEFTBFS)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2260875 [Bug 2260875] Fedora 41 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Carl George 🤠 carl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Github | |davidhalter/jedi/issues/200 | |2
https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Carl George 🤠 carl@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |POST
--- Comment #1 from Carl George 🤠 carl@redhat.com --- https://src.fedoraproject.org/rpms/python-jedi/pull-request/14
https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|POST |MODIFIED
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-45812c43d6 (python-jedi-0.19.1-8.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-45812c43d6
https://bugzilla.redhat.com/show_bug.cgi?id=2280581
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Fixed In Version| |python-jedi-0.19.1-8.fc41 Status|MODIFIED |CLOSED Last Closed| |2024-07-08 06:32:29
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2024-45812c43d6 (python-jedi-0.19.1-8.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
epel-packagers-sig@lists.fedoraproject.org