The package b43-tools has the following automatic provide: python3dist(b43-debug-tools) = 0 It appears that the actual package version was lost during the packaging process. In most cases, this is caused by using a Source that misses version information, e.g. A GitHub tarball when the project uses setuptools_scm or pbr. See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_source_files_from_pypi This bugzilla was created in a batch, so it does not have information about the exact cause for this package. If you need help figuring out why this happens in this particular package, feel free to ask.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
https://fedoraproject.org/wiki/Changes/Prevent-Providing-python3dist(pkg)=0 has landed and this package will now fail to build in Fedora 38+. Please, respond to this bugzilla, it has been open for a year.
I don't know what to do with it. Can you help please? Should I put 'SETUPTOOLS_SCM_PRETEND_VERSION=%{version}' somewhere? I am not very familiar with the package as I only picked it up to avoid retirement.
Sure thing. Let me see... ------------------------------------------------ $ fedpkg clone b43-tools $ cd b43-tools $ fedpkg prep $ cd b43-tools-019/ $ fd 'setup\.py' debug/setup.py $ cat debug/setup.py #!/usr/bin/env python # # Run this script as root to install the debugging tools # from distutils.core import setup import sys if len(sys.argv) == 1: sys.argv.append("install") # default to INSTALL setup( name="B43-debug-tools", py_modules=["libb43"], scripts=["b43-fwdump", "b43-beautifier"] ) ------------------------------------------------ This setup.py script is missing version entirely. Let's hack some version in: ------------------------------------------------ $ git diff diff --git a/b43-tools.spec b/b43-tools.spec index 948f40d..7e11a9c 100644 --- a/b43-tools.spec +++ b/b43-tools.spec ... # For py3_build/py3_install macros -install -p -m 0644 debug/install.py debug/setup.py +sed 's/py_modules=/version="%{version}", py_modules=/' debug/install.py > debug/setup.py ------------------------------------------------ $ fedpkg mockbuild ... Provides: b43-tools = 019-16.fc39 b43-tools(x86-64) = 019-16.fc39 python3.11dist(b43-debug-tools) = 19 python3dist(b43-debug-tools) = 19 ... ------------------------------------------------ That should make it build but it's not nice. You might prefer a patch or similar. Note that distutils is deprecated so this setup.py script will need upstream changes anyway if they want to support Python 3.12+.
Thank you! I had no idea where to even look. I'll go ahead and use the sed hack for now and perhaps we need to drop this entirely when Python 3.12 lands in Fedora.
FEDORA-2023-e48c084d77 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e48c084d77
FEDORA-2023-e48c084d77 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-e2059d8df7 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e2059d8df7
FEDORA-2023-e2059d8df7 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e2059d8df7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-e2059d8df7 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.