Bug 2453827 - python-scikit-build-core fails to build with setuptools_scm 10+
Summary: python-scikit-build-core fails to build with setuptools_scm 10+
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scikit-build-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cristian Le
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2451398
TreeView+ depends on / blocked
 
Reported: 2026-04-01 12:28 UTC by Miro Hrončok
Modified: 2026-04-07 12:02 UTC (History)
3 users (show)

Fixed In Version: python-scikit-build-core-0.12.1-2.fc45
Clone Of:
Environment:
Last Closed: 2026-04-07 12:02:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-scikit-build-core pull-request 86 0 None None None 2026-04-07 11:00:50 UTC
Github scikit-build scikit-build-core issues 1258 0 None open Test failures with setuptools_scm 10 2026-04-01 17:01:41 UTC

Description Miro Hrončok 2026-04-01 12:28:40 UTC
We are trying to python-setuptools_scm to version 10.x

https://src.fedoraproject.org/rpms/python-setuptools_scm/pull-request/39

This package fails the tests with:

    UserWarning: No GlobalOverrides context is active.

https://copr.fedorainfracloud.org/coprs/churchyard/vcs-versioning/package/python-scikit-build-core/

https://github.com/pypa/setuptools-scm/commit/1295d41e7bde2e2eb92b68a46ff13a247e505cfe seesm to ahve introduced this warnign

Comment 1 Miro Hrončok 2026-04-01 16:47:16 UTC
Also, a bit different failure:

_________________________ test_all_modules_filter_all __________________________

    def test_all_modules_filter_all():
        all_modules = on_all_modules("scikit_build_core", pkg=False)
        all_modules = (n for n in all_modules if not n.split(".")[-1].startswith("__"))
        for name in all_modules:
            try:
                module = importlib.import_module(name)
            except ModuleNotFoundError:
                continue
    
            try:
                dir_module = set(dir(module))
            except Exception:
                print(f"dir() failed on {name}")
                raise
            items = ["annotations", "os", "sys"]
            for item in items:
>               assert item not in dir_module, f"{module.__file__} has {item!r}"
E               AssertionError: /builddir/build/BUILD/python-scikit-build-core-0.12.1-build/BUILDROOT/usr/lib/python3.14/site-packages/scikit_build_core/_version.py has 'annotations'
E               assert 'annotations' not in {'__all__', '__annotations__', '__builtins__', '__cached__', '__commit_id__', '__conditional_annotations__', ...}

tests/test_module_dir.py:46: AssertionError

Comment 2 Miro Hrončok 2026-04-01 17:01:42 UTC
Reported upstream https://github.com/scikit-build/scikit-build-core/issues/1258

Comment 4 Fedora Update System 2026-04-07 11:59:57 UTC
FEDORA-2026-e239011732 (python-scikit-build-core-0.12.1-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e239011732

Comment 5 Fedora Update System 2026-04-07 12:02:57 UTC
FEDORA-2026-e239011732 (python-scikit-build-core-0.12.1-2.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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