python-apsw fails to build with Python 3.9.0b1: ====================================================================== FAIL: testScalarFunctions (tests.APSW) Verify scalar functions ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/apsw-3.31.1-r1/tests.py", line 1325, in testScalarFunctions self.assertEqual(c.execute("select deterministic()=deterministic()").fetchall()[0][0], 1) AssertionError: 0 != 1 ---------------------------------------------------------------------- Ran 87 tests in 121.739s FAILED (failures=1) This is possibly related to bz1839826 For the build logs, see: https://koji.fedoraproject.org/koji/taskinfo?taskID=45016933 For all our attempts to build python-apsw with Python 3.9, see: https://koji.fedoraproject.org/koji/packageinfo?packageID=14961 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/ (However, python-apsw fails to build in our copr for unrelated reason.) The real Python 3.9 rebuild is in progress in a Koji side tag. If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with: $ fedpkg build --target=f33-python The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you. You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together. If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned above. Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. A build failure prevents us from rebuilding 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.
Python 3.9 update: The f33-python side tag is currently being merged. New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with: $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3 And build the packages normally after that.
https://github.com/rogerbinns/apsw/commit/e19b2f2ac49d5daa7c6e0bde54441d0fa417ec7c.patch (already upstream) seems to fix this? Dennis: can you do a build with that, or would you like me to, or would you prefer to wait? This blocks calibre.
Roger is preparing a new release: https://github.com/rogerbinns/apsw/commit/5e4c3e5488c311b72b7b182d3455e118bf2dafa2 so it's better wait for a couple of days.
https://src.fedoraproject.org/rpms/python-apsw/c/d8c3f92aedfd361b354712074c14be9e3ca84de8?branch=master