python-quantities fails to build with Python 3.8.0b3. ====================================================================== ERROR: test_clip (quantities.tests.test_methods.TestQuantityMethods) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/quantities-0.12.2/quantities/quantity.py", line 247, in __array_prepare__ res._dimensionality = p_dict[uf](*objs) KeyError: <ufunc 'clip'> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/quantities-0.12.2/quantities/tests/test_methods.py", line 198, in test_clip self.methodWithOut( File "/builddir/build/BUILD/quantities-0.12.2/quantities/tests/test_methods.py", line 125, in methodWithOut ret = getattr(q.copy(), name)(*args, out=out, **kw) File "/builddir/build/BUILD/quantities-0.12.2/quantities/quantity.py", line 579, in clip clipped = self.magnitude.clip( File "/usr/lib64/python3.8/site-packages/numpy/core/_methods.py", line 131, in _clip return _clip_dep_invoke_with_casting( File "/usr/lib64/python3.8/site-packages/numpy/core/_methods.py", line 85, in _clip_dep_invoke_with_casting return ufunc(*args, out=out, **kwargs) File "/builddir/build/BUILD/quantities-0.12.2/quantities/quantity.py", line 249, in __array_prepare__ raise ValueError( ValueError: ufunc <ufunc 'clip'> not supported by quantities please file a bug report at https://github.com/python-quantities ---------------------------------------------------------------------- Ran 161 tests in 1.156s FAILED (errors=1, expected failures=3, unexpected successes=1) For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00994656-python-quantities/ For all our attempts to build python-quantities with Python 3.8, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-quantities/ 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.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Let us know here if you have any questions.
Also fails with 0.12.3 on plain rawhide now. Issue filed upstream. https://github.com/python-quantities/python-quantities/issues/158
Might be due to new numpy version?
Yeh, I think it's related to a change in the clip ufunc: https://github.com/numpy/numpy/blob/master/doc/release/1.17.0-notes.rst#clip-now-uses-a-ufunc-under-the-hood Upstream's CI only tests till 1.16.1: https://github.com/python-quantities/python-quantities/blob/master/.travis.yml#L73 Waiting for them to take a look.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag. If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead: on branch master: $ fedpkg build --target=f32-python To wait for a build to show up in the side tag, do: $ koji wait-repo f32-python --build=<nvr> Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32. An updated mock config is posted at: http://copr.fedorainfracloud.org/coprs/g/python/python3.8/ Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away. Thanks. Let us know if you need up to date info, or if you have any questions. PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual: on branch f31: $ fedpkg build
The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged: $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32 If your built already started in f32-python, after it is finished, please tag it to rawhide with: $ koji tag-build f32-pending <nvr> For example: $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32 Thanks! (This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)
(Python 3.8 has landed in the rawhide buildroot.)
FEDORA-2019-5f49bd0241 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5f49bd0241
FEDORA-2019-29e843582e has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-29e843582e
FEDORA-2019-adf1f27fb3 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-adf1f27fb3
python-pylatex-1.3.1-1.fc31, python-quantities-0.12.3-2.fc31 has been pushed to the Fedora 31 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-2019-adf1f27fb3
python-pylatex-1.3.1-1.fc30, python-quantities-0.12.3-2.fc30 has been pushed to the Fedora 30 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-2019-29e843582e
python-pylatex-1.3.1-1.fc30, python-quantities-0.12.3-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
python-pylatex-1.3.1-1.fc31, python-quantities-0.12.3-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.