What | Removed | Added |
---|---|---|
Status | CONFIRMED | RESOLVED |
CC | code@bnavigator.de | |
Resolution | --- | WONTFIX |
The title is misleading. There is no unversioned path. Everything is in some form of python3.Y/site-packages/. > importlib.metadata.PackageNotFoundError: No package metadata was found for > borgbackup > > > that means we should have a macro like %python_version_shebang which updates > all references from python3 to python3.x. In this particular case, the interpreter line of the entry-point is generated by setuptools because the specfiles use `python3 setup.py install`. If you don't even use the macros there, why would you want a %python_version_shebang? You can use `python%{python3_bin_suffix} setup.py install` if you think a package should still work after the /usr/bin/python3 symlink has changed but your package has not been successfully rebuilt. And for the record, https://build.opensuse.org/request/show/983551 is exactly the fix that was needed. Because the rebuilt package HAS the metadata in the Python 3.10 platlib. Contrary to the old non-updated borgbackup package for Python 3.8. Fix your builds and all is fine. > server:mail/getmail6 had the same problem. This is not even in Factory. Also, it does successfully build. How does it have the same problem?