Bug 2196739 - python-fastbencode fails to build with Python 3.12: AssertionError: RuntimeError not raised by bdecode
Summary: python-fastbencode fails to build with Python 3.12: AssertionError: RuntimeEr...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: python-fastbencode
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondřej Pohořelský
QA Contact:
URL:
Whiteboard:
: 2220219 (view as bug list)
Depends On:
Blocks: F39FTBFS F39FailsToInstall PYTHON3.12 2219952 2219955 2219990 2220016 2220200
TreeView+ depends on / blocked
 
Reported: 2023-05-10 06:11 UTC by Tomáš Hrnčiar
Modified: 2023-07-11 11:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-11 11:29:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github breezy-team fastbencode issues 23 0 None open Compatibility with Python 3.12: AssertionError: RuntimeError not raised by bdecode 2023-07-11 07:24:23 UTC

Description Tomáš Hrnčiar 2023-05-10 06:11:34 UTC
python-fastbencode fails to build with Python 3.12.0a7.

======================================================================
FAIL: test_list_deepnested (fastbencode.tests.test_bencode.TestBencodeDecode.test_list_deepnested)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 297, in test_list_deepnested
    self._run_check_error(RuntimeError, (b"l" * 100) + (b"e" * 100))
  File "/builddir/build/BUILD/fastbencode-0.0.9/fastbencode/tests/test_bencode.py", line 238, in _run_check_error
    self.assertRaises(exc, self.module.bdecode, bad)
AssertionError: RuntimeError not raised by bdecode

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05901695-python-fastbencode/

For all our attempts to build python-fastbencode with Python 3.12, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/python-fastbencode/

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.12:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/

Let us know here if you have any questions.

Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12.
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 2023-07-06 08:03:44 UTC
*** Bug 2220219 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Fails To Install 2023-07-11 11:29:32 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 39.

Thanks for taking care of it!


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