Bug 2453827
| Summary: | python-scikit-build-core fails to build with setuptools_scm 10+ | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-scikit-build-core | Assignee: | Cristian Le <fedora> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fedora, python-packagers-sig, thrnciar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-scikit-build-core-0.12.1-2.fc45 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-04-07 12:02:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2451398 | ||
|
Description
Miro Hrončok
2026-04-01 12:28:40 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
Reported upstream https://github.com/scikit-build/scikit-build-core/issues/1258 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 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. |