python-lazy-object-proxy fails to build with Python 3.13.0a3. + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-lazy-object-proxy-1.10.0/pyproject-wheeldir Processing /builddir/build/BUILD/python-lazy-object-proxy-1.10.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() ~~~~^^ File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 76, in <module> File "/usr/lib/python3.13/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/core.py", line 147, in setup _setup_distribution = dist = klass(attrs) ~~~~~^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 303, in __init__ _Distribution.__init__(self, dist_attrs) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py", line 283, in __init__ self.finalize_options() ~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/dist.py", line 680, in finalize_options ep(self) ~~^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools_scm/_integration/setuptools.py", line 121, in infer_version _assign_version(dist, config) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools_scm/_integration/setuptools.py", line 56, in _assign_version _version_missing(config) ~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools_scm/_get_version_impl.py", line 112, in _version_missing raise LookupError( ...<8 lines>... ) LookupError: setuptools-scm was unable to detect version for /builddir/build/BUILD/python-lazy-object-proxy-1.10.0. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work. https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06933703-python-lazy-object-proxy/ For all our attempts to build python-lazy-object-proxy with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-lazy-object-proxy/ 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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
Works for me now.
It works in the current Rawhide, but not in the Copr with Python 3.13. Since it's not clear to me yet where the issue lies, let me reopen this bug for now.
$ mock -r fedora-rawhide-python313 --enablerepo=local -nN ./python-lazy-object-proxy-1.10.0-3.fc40.src.rpm Finish: rpmbuild python-lazy-object-proxy-1.10.0-3.fc40.src.rpm Finish: build phase for python-lazy-object-proxy-1.10.0-3.fc40.src.rpm ... Finish: run
Local mock: DEBUG setuptools_scm.config file pyproject.toml DEBUG setuptools_scm.entrypoints version_from_ep setuptools_scm.parse_scm in /builddir/build/BUILD/python-lazy-object-proxy-1.10.0 DEBUG setuptools_scm.discover looking for ep setuptools_scm.parse_scm in /builddir/build/BUILD/python-lazy-object-proxy-1.10.0 DEBUG setuptools_scm.entrypoints version_from_ep setuptools_scm.parse_scm_fallback in . DEBUG setuptools_scm.discover looking for ep setuptools_scm.parse_scm_fallback in . DEBUG setuptools_scm.discover found ep EntryPoint(name='pyproject.toml', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') in . DEBUG setuptools_scm.fallbacks FALLBACK 1.10.0 INFO setuptools_scm.version version 1.10.0 -> 1.10.0 DEBUG setuptools_scm.entrypoints EntryPoint(name='pyproject.toml', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') found <ScmVersion 1.10.0 dist=0 node=None dirty=False branch=None> Copr: DEBUG setuptools_scm.config file pyproject.toml DEBUG setuptools_scm.entrypoints version_from_ep setuptools_scm.parse_scm in /builddir/build/BUILD/python-lazy-object-proxy-1.10.0 DEBUG setuptools_scm.discover looking for ep setuptools_scm.parse_scm in /builddir/build/BUILD/python-lazy-object-proxy-1.10.0 DEBUG setuptools_scm.entrypoints version_from_ep setuptools_scm.parse_scm_fallback in . DEBUG setuptools_scm.discover looking for ep setuptools_scm.parse_scm_fallback in . DEBUG setuptools_scm.discover found ep EntryPoint(name='pyproject.toml', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') in . DEBUG setuptools_scm.entrypoints EntryPoint(name='pyproject.toml', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') found None DEBUG setuptools_scm.discover found ep EntryPoint(name='setup.py', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') in . DEBUG setuptools_scm.entrypoints EntryPoint(name='setup.py', value='setuptools_scm.fallbacks:fallback_version', group='setuptools_scm.parse_scm_fallback') found None DEBUG setuptools_scm.config check absolute root=. relative_to=pyproject.toml DEBUG setuptools_scm.config file pyproject.toml Makes no sense to me :(
Adding the upstream issue report
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
FEDORA-2025-e80e6d7f41 (python-lazy-object-proxy-1.11.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-e80e6d7f41
FEDORA-2025-3c2a34a1b8 (python-lazy-object-proxy-1.11.0-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2025-3c2a34a1b8
FEDORA-2025-c8c4e9ee14 (python-lazy-object-proxy-1.11.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-c8c4e9ee14
FEDORA-2025-e80e6d7f41 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-e80e6d7f41` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-e80e6d7f41 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-c8c4e9ee14 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c8c4e9ee14` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c8c4e9ee14 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-3c2a34a1b8 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3c2a34a1b8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3c2a34a1b8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-c8c4e9ee14 (python-lazy-object-proxy-1.11.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-3c2a34a1b8 (python-lazy-object-proxy-1.11.0-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2025-e80e6d7f41 (python-lazy-object-proxy-1.11.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.