Hide Forgot
pyp2rpm fails to build with Python 3.10.0a2. many tests error out with cryptic errors: sys.stderr.write("Failed to extract data from setup.py script.\n") sys.stderr.write("Check the log for details: {0}\n".format( ', '.join(pyp2rpm.logger.destinations))) > raise SystemExit(3) E SystemExit: 3 The failure log is (very) long, not pasting it here. I suspect this has to do with the double digit minor version number, but I might be wrong. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/01760815-pyp2rpm/ For all our attempts to build pyp2rpm with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/pyp2rpm/ 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.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. 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.
setup.py in one of the packages included in pyp2rpm test_data (coverate_pth) does seem to be generating an exception due to the double-digit python minor version. I can work on this, shortly. Is there a container image available with the python 3.10 pre-release?
> Is there a container image available with the python 3.10 pre-release? Nope, but there's a mock config: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.