Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1706201
Summary: | python-joblib FTBFS with Python 3.8 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> | ||||
Component: | python-joblib | Assignee: | Sergio Pascual <sergio.pasra> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | besser82, igor.raits, mhroncok, mtasaka, sergio.pasra, zbyszek | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | python-joblib-0.13.2-5.fc32 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-09-10 07:09:25 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1686977 | ||||||
Attachments: |
|
Description
Charalampos Stratakis
2019-05-03 19:09:16 UTC
Please respond. I can update to the latest joblib, but is python 3 only. scikit-learn depends on it and it still has the pyhton2 subpackage. Can I drop the python2 subpackage of scikit-learn? scikit-learn has no Python 2 subpackage in rawhide, neither does joblib. (In reply to Miro Hrončok from comment #3) > scikit-learn has no Python 2 subpackage in rawhide, neither does joblib. Great! I have updated to 0.13.2 https://koji.fedoraproject.org/koji/taskinfo?taskID=36182499 Could you check if you still get the same problem? + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Traceback (most recent call last): File "setup.py", line 6, in <module> import joblib File "/builddir/build/BUILD/joblib-0.13.2/joblib/__init__.py", line 119, in <module> from .parallel import Parallel File "/builddir/build/BUILD/joblib-0.13.2/joblib/parallel.py", line 28, in <module> from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend, File "/builddir/build/BUILD/joblib-0.13.2/joblib/_parallel_backends.py", line 22, in <module> from .executor import get_memmapping_executor File "/builddir/build/BUILD/joblib-0.13.2/joblib/executor.py", line 14, in <module> from .externals.loky.reusable_executor import get_reusable_executor File "/builddir/build/BUILD/joblib-0.13.2/joblib/externals/loky/__init__.py", line 12, in <module> from .backend.reduction import set_loky_pickler File "/builddir/build/BUILD/joblib-0.13.2/joblib/externals/loky/backend/reduction.py", line 125, in <module> from joblib.externals import cloudpickle # noqa: F401 File "/builddir/build/BUILD/joblib-0.13.2/joblib/externals/cloudpickle/__init__.py", line 3, in <module> from .cloudpickle import * File "/builddir/build/BUILD/joblib-0.13.2/joblib/externals/cloudpickle/cloudpickle.py", line 152, in <module> _cell_set_template_code = _make_cell_set_template_code() File "/builddir/build/BUILD/joblib-0.13.2/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code return types.CodeType( TypeError: an integer is required (got type bytes) CodeType has a new signature in 3.8. See https://docs.python.org/3.8/whatsnew/3.8.html - search for CodeType. In fact, cloudpickle is a bundled package (0.8.0). Even the upstream version of cloudpickle has exactly the same problem https://github.com/cloudpipe/cloudpickle/blob/master/cloudpickle/cloudpickle.py#L367 The linked code is not used on 3.8. Please, just unbundle cloudpickle and you should be good. I have unbundled cloudpickle in the last joblib https://koji.fedoraproject.org/koji/buildinfo?buildID=1311731 Thanks. The recent failure is: https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00967852-python-joblib/builder-live.log You can try to build the package in mock: http://copr.fedorainfracloud.org/coprs/g/python/python3.8/ 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.) |