Bug 2424567 - python-mirrors-countme fails to build with Python 3.15: TypeError: NamedTuple() got an unexpected keyword argument 'INTEGER_NOT_NULL' [NEEDINFO]
Summary: python-mirrors-countme fails to build with Python 3.15: TypeError: NamedTuple...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mirrors-countme
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact:
URL:
Whiteboard:
: 2485904 (view as bug list)
Depends On:
Blocks: PYTHON3.15 F45FTBFS, RAWHIDEFTBFS F45FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2025-12-23 11:14 UTC by Karolina Surma
Modified: 2026-06-14 07:12 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:
fti-bugs: needinfo? (nphilipp)
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-2852 0 None None None 2025-12-23 11:14:50 UTC

Description Karolina Surma 2025-12-23 11:14:07 UTC
python-mirrors-countme fails to build with Python 3.15.0a3.

________________________ TestSQLiteWriter.test__sqltype ________________________
[gw3] linux -- Python 3.15.0 /usr/bin/python3

self = <tests.test_writers.TestSQLiteWriter object at 0x7fcaea8a6850>
item_writer = <mirrors_countme.writers.SQLiteWriter object at 0x7fcae9e4d940>

    def test__sqltype(self, item_writer):
        # Have a named tuple having attributes with SQL types as their names (spaces replaced).
        fieldname_typehints = {
            sqltype.replace(" ", "_"): typehint
            for typehint, sqltype in item_writer.SQL_TYPE.items()
        }
>       AllTypesItemTuple = NamedTuple("AllTypesItemTuple", **fieldname_typehints)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: NamedTuple() got an unexpected keyword argument 'INTEGER_NOT_NULL'

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09940740-python-mirrors-countme/

For all our attempts to build python-mirrors-countme with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-mirrors-countme/

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

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.

Comment 2 Karolina Surma 2026-06-06 18:23:43 UTC
*** Bug 2485904 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Fails To Install 2026-06-14 07:12:02 UTC
Hello,

Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py
If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues

This package fails to install and maintainers are advised to take one of the following actions:

 - Fix this bug and close this bugzilla once the update makes it to the repository.
   (The same script that posted this comment will eventually close this bugzilla
   when the fixed package reaches the repository, so you don't have to worry about it.)

or

 - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet.

or

 - Orphan the package if you no longer plan to maintain it.


If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue.
This package may be orphaned in 7+ weeks.
This is the first reminder (step 3) from the policy.

Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.


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