https://bugzilla.redhat.com/show_bug.cgi?id=2488354
Bug ID: 2488354 Summary: fonttools fails to build with Python 3.15: AttributeError: module 'glob' has no attribute 'glob1'. Did you mean '.glob' instead of '.glob1'? Product: Fedora Version: rawhide Status: NEW Component: fonttools Assignee: pnemade@redhat.com Reporter: ksurma@redhat.com QA Contact: extras-qa@fedoraproject.org CC: fonts-bugs@lists.fedoraproject.org, pnemade@redhat.com, tagoh@redhat.com Blocks: 2412434 (PYTHON3.15), 2433833 (F45FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
fonttools fails to build with Python 3.15.0b2.
5 tests fail with the same traceback:
________________________ ERROR at setup of test_init_py ________________________ @pytest.fixture(scope="module") def table_modules():
return get_table_modules()
^^^^^^^^^^^^^^^^^^^ Tests/metaTools/check_table_coverage_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def get_table_modules() -> list[tuple[str, str]]: """Return sorted list of (module_name, tag_raw) for all table .py files.""" modules = []
for filename in glob.glob1(TABLES_DIR, "*.py"):
^^^^^^^^^^ E AttributeError: module 'glob' has no attribute 'glob1'. Did you mean '.glob' instead of '.glob1'? MetaTools/check_table_coverage.py:144: AttributeError
https://docs.python.org/3.15/whatsnew/3.15.html
For our attempts to build fonttools with Python 3.15, see: https://koji.fedoraproject.org/koji/search?terms=fonttools&type=package&...
Let us know here if you have any questions.
Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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=2412434 [Bug 2412434] Python 3.15 https://bugzilla.redhat.com/show_bug.cgi?id=2433833 [Bug 2433833] Fedora 45 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2488354
Ben Beasley code@musicinmybrain.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |code@musicinmybrain.net
--- Comment #1 from Ben Beasley code@musicinmybrain.net --- https://src.fedoraproject.org/rpms/fonttools/pull-request/23
https://bugzilla.redhat.com/show_bug.cgi?id=2488354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2026-cc87822209 (fonttools-4.63.0-6.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-cc87822209
https://bugzilla.redhat.com/show_bug.cgi?id=2488354
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Fixed In Version| |fonttools-4.63.0-6.fc45 Resolution|--- |ERRATA Last Closed| |2026-07-16 13:46:53
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- FEDORA-2026-cc87822209 (fonttools-4.63.0-6.fc45) has been pushed to the Fedora 45 stable repository. If problem still persists, please make note of it in this bug report.
fonts-bugs@lists.fedoraproject.org