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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected],
                    [email protected], [email protected]
            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&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.



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
-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2488354

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202488354%23c0

-- 
_______________________________________________
fonts-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to