sympy fails to build with Python 3.9.0a6. ________________________________ xpassed tests _________________________________ sympy/utilities/tests/test_wester.py: test_V12 tests finished: 1261 passed, 41 skipped, 180 expected to fail, 1 expected to fail but passed, in 541.79 seconds /usr/lib64/python3.9/site-packages/numexpr/expressions.py:199: RuntimeWarning: invalid value encountered in log return ConstantNode(func(*[x.value for x in args])) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.BpgSAw (%check) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01365644-sympy/ For all our attempts to build sympy with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/sympy/ 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.
The problem actually was not the unexpected test pass, but rather that sampling from sets is deprecated. I submitted a fix upstream (https://github.com/sympy/sympy/pull/19291) and patched the Fedora package. It has been built in Rawhide.
Thank You, Jerry.