Fedora Account System
Red Hat Associate
Red Hat Customer
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&match=exact 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.