Bug 2083970 - libtalloc fails to build with Python 3.11: ModuleNotFoundError: No module named 'talloc'
Summary: libtalloc fails to build with Python 3.11: ModuleNotFoundError: No module nam...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libtalloc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.11
TreeView+ depends on / blocked
 
Reported: 2022-05-11 06:54 UTC by Tomáš Hrnčiar
Modified: 2022-06-18 06:52 UTC (History)
12 users (show)

Fixed In Version: libtalloc-2.3.4-2.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-18 06:52:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab ita1024 waf issues 2386 0 None opened Issyue with pyext_PATTERN - libtdb fails to build with Python 3.11 2022-05-17 14:40:38 UTC
Red Hat Issue Tracker SSSD-4678 0 None None None 2022-06-18 03:06:52 UTC

Description Tomáš Hrnčiar 2022-05-11 06:54:48 UTC
libtalloc fails to build with Python 3.11.0b1.

Traceback (most recent call last):
  File "/builddir/build/BUILD/talloc-2.3.3/test_pytalloc.py", line 10, in <module>
    import talloc
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'talloc'

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/04392272-libtalloc/

For all our attempts to build libtalloc with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/libtalloc/

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

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
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 2022-05-11 09:28:16 UTC
+ install /builddir/build/BUILDROOT/libtalloc-2.3.3-3.fc37.x86_64/usr/lib64/python3.11/site-packages/talloc (from bin/default/pytalloc)

See bz2083972#c1

Comment 2 Miro Hrončok 2022-05-17 14:40:39 UTC
This is a problem in waf, see https://gitlab.com/ita1024/waf/-/issues/2386#note_949703225

Comment 3 Andre Boscatto 2022-06-18 03:12:25 UTC
Hi Andreas, same question as I did here https://bugzilla.redhat.com/show_bug.cgi?id=2083972


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