Your message dated Thu, 04 Aug 2022 19:03:54 +0000
with message-id <e1ojg8q-006ugs...@fasolo.debian.org>
and subject line Bug#1013080: fixed in dask 2022.02.0+dfsg-1
has caused the Debian Bug report #1013080,
regarding dask: incompatibility with scipy 1.8
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.)


-- 
1013080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013080
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: dask
Version: 2022.01.0+dfsg-2
Severity: normal
Control: tags -1 patch

dask 2022.01 uses a deprecated scipy API and now fails tests with
scipy 1.8.1:

_____________________________ test_one[chisquare] ______________________________

kind = 'chisquare'

    @pytest.mark.parametrize(
        "kind", ["chisquare", "power_divergence", "normaltest", "skewtest", 
"kurtosistest"]
    )
    def test_one(kind):
        a = np.random.random(size=30)
        a_ = da.from_array(a, 3)
    
        dask_test = getattr(dask.array.stats, kind)
        scipy_test = getattr(scipy.stats, kind)
    
>       result = dask_test(a_)

/usr/lib/python3/dist-packages/dask/array/tests/test_stats.py:56: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/dask/array/stats.py:136: in chisquare
    return power_divergence(f_obs, f_exp=f_exp, ddof=ddof, axis=axis, 
lambda_="pearson")
/usr/lib/python3/dist-packages/dask/array/stats.py:144: in power_divergence
    if lambda_ not in scipy.stats.stats._power_div_lambda_names:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = '_power_div_lambda_names'

    def __getattr__(name):
        if name not in __all__:
>           raise AttributeError(
                "scipy.stats.stats is deprecated and has no attribute "
                f"{name}. Try looking in scipy.stats instead.")
E           AttributeError: scipy.stats.stats is deprecated and has no 
attribute _power_div_lambda_names. Try looking in scipy.stats instead.

/usr/lib/python3/dist-packages/scipy/stats/stats.py:54: AttributeError


Likewise
test_two[chisquare-kwargs4]
test_two[power_divergence-kwargs8]
test_power_divergence_invalid


The incompatibility is fixed in dask 2022.03 (lastest is 2022.6),
or apply the patch in PR#8694
https://github.com/dask/dask/pull/8694





-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: dask
Source-Version: 2022.02.0+dfsg-1
Done: Diane Trout <di...@ghic.org>

We believe that the bug you reported is fixed in the latest version of
dask, 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 1013...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Diane Trout <di...@ghic.org> (supplier of updated dask 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: SHA512

Format: 1.8
Date: Thu, 04 Aug 2022 11:15:42 -0700
Source: dask
Architecture: source
Version: 2022.02.0+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Diane Trout <di...@ghic.org>
Closes: 1013080
Changes:
 dask (2022.02.0+dfsg-1) unstable; urgency=medium
 .
   * New upstream release
   * Refresh patches
   * split tests/control Tests-Command: into a separate shell script
   * Add sphinx-remove-toctree and sphinx-tabs to build-depends
   * add 32-bit compatibility patch for pandas 1.3
     See https://github.com/dask/dask/issues/8169
   * Copy conftest.py into test directory for autopkgtests
   * Add python3-ipython as a build-dependency.
     - it provides a sphinx formatting extension.
   * Add patch pytest-futurewarning.patch for compatibility with our pytest
   * Add scipy-1.8.patch (Closes: #1013080) for Scipy 1.8 compatibility
     Thanks: Graham Inggs
   * run autopkgtest on all supported versions
   * Remove built-using on -doc package
Checksums-Sha1:
 3d3337818420750c352065d843aa0d07bb915948 3072 dask_2022.02.0+dfsg-1.dsc
 514d370bff77e1083799f005275c41c1382ad0fc 4409936 
dask_2022.02.0+dfsg.orig.tar.xz
 720bf01ff34560fbb600076692486172a43d564a 24800 
dask_2022.02.0+dfsg-1.debian.tar.xz
 bf7e8a2f75257f4e5b8c75f0e412440ecabbeab9 11094 
dask_2022.02.0+dfsg-1_amd64.buildinfo
Checksums-Sha256:
 09f6ae7ec71a27476f8d0989a3ba7295df33130192389a0c079aa9081249f3a4 3072 
dask_2022.02.0+dfsg-1.dsc
 39b522dbea018d2f8fabfb6af90b96c86595197078d74a8115d82e3cba6783f9 4409936 
dask_2022.02.0+dfsg.orig.tar.xz
 756335414ff431c5817580f712ecbdd241e2297e9720c42c467b150ce2bbf926 24800 
dask_2022.02.0+dfsg-1.debian.tar.xz
 96f910c60227d3917f08502d7503bf8ba0f659e02e808ab4622d34152a05b090 11094 
dask_2022.02.0+dfsg-1_amd64.buildinfo
Files:
 4934d959566452da957caec21d4bfc56 3072 python optional dask_2022.02.0+dfsg-1.dsc
 0d774015039bafbca571dfcbcc8714c2 4409936 python optional 
dask_2022.02.0+dfsg.orig.tar.xz
 bf90e5b471579a428b365e5bdf724c92 24800 python optional 
dask_2022.02.0+dfsg-1.debian.tar.xz
 1400020e732de71d3208eb82c3fc181b 11094 python optional 
dask_2022.02.0+dfsg-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEETQVcMeSBIEX5AQ11mQ04NnM013AFAmLsD/4ACgkQmQ04NnM0
13CG8RAAmdzqBJPk8ylW/V6PO0muEGzKmQIutwU/8jW69z1uODXMTWg/WtGytcUJ
FRzmdCi52NrjOsuKty0JLecREDyqioS4fU4EEZEVZ+CaxMFmzeKswu0vo+buPL2j
TwJnEtKdpuQa2wOh4a2IZkchfIrsPFoFQ6eVi5cMDOeUL3HifQj/8kqwgZWOLhPg
z6emjVNxN+wCdEsy42LRfnq0G3KW7MjysA4q0Bq6lE+fVZHWg3mThDu9R08Esc/f
jwlEqZWhMGXMfj3sWvvohmI1hRbVsyqRj0mJqUNoHx+0zjq/Dq1ODc6KvAuGqlc5
BnWILzetEpjT/67RQ6IBeSFSdDFMFZ6kth7Y8X5P1EBnZ9Nm6sRpvNmoIlBpCQep
IqubQJyRElhNGn2g2E/CueurAnvzCo8cRsyHOMO/1dJyd2rm0nNx21Xl5TIX8ls8
S5I2TmTr8ULLF6mEsr3RxbuZ1Fi3dGDGThUO27CWQDUW5qL/rE/mOFSqR0PorvGS
kCt+FHrPF2nA4fIzhpUmvPMn1FQUYF4Jyac+MZAktJOaN26wOGeq87zsRtU+3DA+
fvM+pLALrowUHQ7pbzR3lZgf4+eSiEoQzNHSsQDlJpXeOjvCNTQD5m5t/tR3XPU2
oGYS7zn+b7ZF9NMUUCzwZ1JCrQz3DfMsV8bWNC83+oP4zxQiV/Y=
=S//t
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to