python-apsw fails to build with Python 3.9.0a3. See https://docs.python.org/3.9/whatsnew/3.9.html#changes-in-the-python-api "open(), io.open(), codecs.open() and fileinput.FileInput no longer accept 'U' (“universal newline”) in the file mode. This flag was deprecated since Python 3.3. In Python 3, the “universal newline” is used by default when a file is open in text mode. The newline parameter of open() controls how universal newlines works." For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01248165-python-apsw/ For all our attempts to build python-apsw with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-apsw/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. 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.
Excuse me, the above logs are outdated, for correct info, see these logs: https://download.copr.fedorainfracloud.org/results/@python/python3.9/fedora-rawhide-x86_64/01248282-python-apsw/ ERROR: testShell (tests.APSW) Check Shell functionality ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/apsw-3.30.1-r1/tests.py", line 6108, in testShell shellclass(args=[TESTFILEPREFIX + "testdb", ".read %stest-shell-1" % (TESTFILEPREFIX, )], **kwargs) File "<string>", line 132, in __init__ File "<string>", line 264, in process_args File "<string>", line 2372, in process_complete_line File "<string>", line 840, in process_command File "<string>", line 1951, in command_read File "/usr/lib64/python3.9/codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) ValueError: invalid mode: 'rUb' ----------------------------------------------------------------------
FEDORA-2020-60fb7f56fe has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-60fb7f56fe
python-apsw-3.31.1.r1-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-60fb7f56fe
python-apsw-3.31.1.r1-1.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.