Your message dated Mon, 19 Oct 2020 10:04:01 +0000
with message-id <e1kus1j-0003on...@fasolo.debian.org>
and subject line Bug#972469: fixed in joblib 0.17.0-0.1
has caused the Debian Bug report #972469,
regarding joblib: TerminatedWorkerError, AttributeError: '_SafeQueue' object 
has no attribute '_notempty' with Python 3.9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
972469: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972469
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-joblib
Tags: fixed-upstream
Control: affects -1 scikit-learn statsmodels
Control: block 966426 by -1
Severity: serious
Justification: causes other packages to FTBFS

Our current version of joblib is incompatible with Python 3.9, which was recently added to the supported versions list (#966426). This causes at least scikit-learn and statsmodels to fail their tests.

Upstream fix: https://github.com/joblib/loky/pull/250

Traceback (from scikit-learn test log):

_______________________ test_multi_class_n_jobs[kernel3] _______________________

kernel = 1**2 * RBF(length_scale=1)

    @pytest.mark.parametrize('kernel', kernels)
    def test_multi_class_n_jobs(kernel):
# Test that multi-class GPC produces identical results with n_jobs>1.
        gpc = GaussianProcessClassifier(kernel=kernel)
        gpc.fit(X, y_mc)

        gpc_2 = GaussianProcessClassifier(kernel=kernel, n_jobs=2)
>       gpc_2.fit(X, y_mc)

sklearn/gaussian_process/tests/test_gpc.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
sklearn/gaussian_process/_gpc.py:657: in fit
    self.base_estimator_.fit(X, y)
sklearn/multiclass.py:241: in fit
    self.estimators_ = Parallel(n_jobs=self.n_jobs)(delayed(_fit_binary)(
/usr/lib/python3/dist-packages/joblib/parallel.py:1016: in __call__
    self.retrieve()
/usr/lib/python3/dist-packages/joblib/parallel.py:908: in retrieve
    self._output.extend(job.get(timeout=self.timeout))
/usr/lib/python3/dist-packages/joblib/_parallel_backends.py:554: in wrap_future_result
    return future.result(timeout=timeout)
/usr/lib/python3.9/concurrent/futures/_base.py:440: in result
    return self.__get_result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <Future at 0x7fdd633df100 state=finished raised TerminatedWorkerError>

    def __get_result(self):
        if self._exception:
>           raise self._exception
E joblib.externals.loky.process_executor.TerminatedWorkerError: A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker. The exit codes of the workers are {EXIT(1)}

/usr/lib/python3.9/concurrent/futures/_base.py:389: TerminatedWorkerError
----------------------------- Captured stdout call -----------------------------


--------------------------------------------------------------------------------
LokyProcess-45 failed with traceback:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/joblib/externals/loky/backend/popen_loky_posix.py", line 195, in <module>
    process_obj = pickle.load(from_parent)
File "/usr/lib/python3/dist-packages/joblib/externals/loky/backend/queues.py", line 75, in __setstate__
    self._after_fork()
File "/usr/lib/python3.9/multiprocessing/queues.py", line 69, in _after_fork
    self._reset(after_fork=True)
  File "/usr/lib/python3.9/multiprocessing/queues.py", line 73, in _reset
    self._notempty._at_fork_reinit()
AttributeError: '_SafeQueue' object has no attribute '_notempty'


--------------------------------------------------------------------------------


--------------------------------------------------------------------------------
LokyProcess-46 failed with traceback:
--------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/joblib/externals/loky/backend/popen_loky_posix.py", line 195, in <module>
    process_obj = pickle.load(from_parent)
File "/usr/lib/python3/dist-packages/joblib/externals/loky/backend/queues.py", line 75, in __setstate__
    self._after_fork()
File "/usr/lib/python3.9/multiprocessing/queues.py", line 69, in _after_fork
    self._reset(after_fork=True)
  File "/usr/lib/python3.9/multiprocessing/queues.py", line 73, in _reset
    self._notempty._at_fork_reinit()
AttributeError: '_SafeQueue' object has no attribute '_notempty'


--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: joblib
Source-Version: 0.17.0-0.1
Done: Matthias Klose <d...@debian.org>

We believe that the bug you reported is fixed in the latest version of
joblib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 972...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated joblib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 19 Oct 2020 11:05:06 +0200
Source: joblib
Architecture: source
Version: 0.17.0-0.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Closes: 959639 972469
Changes:
 joblib (0.17.0-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream release, with support for Python 3.9. Closes: #972469.
     - DocTest failures are fixed. Closes: #959639.
   * Add b-d on python3-threadpoolctl for running the tests.
   * Mark the test_parallel_call_cached_function_defined_in_jupyter test
     as failing.
Checksums-Sha1:
 8f73540051b35b51c3c3d2ba9858b48aeea2c2ef 2158 joblib_0.17.0-0.1.dsc
 d95245f3d35d7e4f78ba7a372e3bfa7f6b257661 345984 joblib_0.17.0.orig.tar.gz
 7639cce2ed4c35ffe61e5ad5a8b3634d92133eb4 6700 joblib_0.17.0-0.1.debian.tar.xz
 28ae75e18affb3423cfe54267ace49a1582cc6db 7218 
joblib_0.17.0-0.1_source.buildinfo
Checksums-Sha256:
 d9c7cae8d348ddbc9e85f51e38e79183a7b8732d0fac9eeb32a55a8bc6b467b9 2158 
joblib_0.17.0-0.1.dsc
 6dd8d75808624ac60434a3c6de4623dc49e4f9f3332501b467c36b0fbfdd54c9 345984 
joblib_0.17.0.orig.tar.gz
 13e3e1dc7ca3a1e57dbb6d85271630b25083631776a6c6e2e6197bb5ca72a321 6700 
joblib_0.17.0-0.1.debian.tar.xz
 39015df110062e276cda6e664fffae75c3af4719879ca2aad763b4e3ea62177f 7218 
joblib_0.17.0-0.1_source.buildinfo
Files:
 604b23aa8efb3a5a7e0798d59903f5ed 2158 python optional joblib_0.17.0-0.1.dsc
 bbd8b933a863a57556d3ce3e160358d1 345984 python optional 
joblib_0.17.0.orig.tar.gz
 5266679ba66bfd75178056a78629fdf6 6700 python optional 
joblib_0.17.0-0.1.debian.tar.xz
 cc66ce6b532ff4f17f1e6e7e264a21e5 7218 python optional 
joblib_0.17.0-0.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAl+NYC0QHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9VZeD/46QM/wBdUTvCqC09fIOA1syLK2azXLXuEs
OxdPqtL/I0VVXdIiWxARNgkD0uhhxHlTsgvEVhV4q/riiPo1g/I9R4mPES4wALct
GbGXEf0TpuIObaFU4G8IvxEGQJkjsj6+oEBI7WTnqMKavUwGmxr+47H/VVo+crl7
9phStJZwV1g2xIi2ETJoey2JufTv812GmOmFZBLhrkraxUyWttBWqaZgH5uGxAKf
5K3AQS4cfdzDLDMcFn0bK8iTgdZ92U8blakyDuI22OmoMLYrPXLkRfnd8SX76/Hq
ldCcWLVnGE7Cvs0HGlSLzr+X74F+EUFZjCL5pdTQ+D1A4f6IJQ1pJzAFRg2PPOmv
DM/STXZXWGmjeCxtWD9BSu2Ppv+9DWfgaWdLjDn9PDNVfstd5xSzSYx5pua9kTY9
ce5NV2KKnOBj5rBPzgtkZQUZiZPI8V+9RQRM6mqlSkqnAyVEfXwuRU50w36wERTq
N7DiuDKYQ2Ez1BdVgSX+r0cDJMFsNlwSALuCqyifpj5fP5FtfjZbNWd2dHUFIVW7
LSoXtoFozlXRigRQA6y9XLhSvZI0HY1CmA+/bFYXsVdiZUK07nnCsUTQ/vb21IV4
kv0jd6aTVvUMpIaGMvNbP8H9RkmSONHOG9vdjyMWH9svLvNHMjyDPQum8wABkFrQ
5Eqd6BO6aw==
=L2pG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to