Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11214
| From | Ole Streicher <olebole@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Numpy migration? |
| Date | 2019-01-07 09:30 +0100 |
| Message-ID | <xdysh-5s1-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <xcWdj-78E-1@gated-at.bofh.it> <xd07g-14F-17@gated-at.bofh.it> <xd4DT-3V8-1@gated-at.bofh.it> <xdjtf-4Df-3@gated-at.bofh.it> <xdkSl-5ny-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Mattia Rizzolo <mattia@debian.org> writes: > On Sun, Jan 06, 2019 at 05:07:41PM +0100, Ole Streicher wrote: >> Now it turns out that there is a new migration problem, which is aplpy: >> Current aplpy (2.0~rc2-2) CI test works well > > You probably mean aplpy 1.1.1-4. No, I meant the one above (although the unstable test was not done on ci.d.n when I wrote my last mail). >> - with numpy-1.15.4-2 (testing) and matplotlib-2.2.2-4 (testing), >> - with numpy-1.16.0~rc2-1 (unstable) and matplotlib-3.0.2-2 (unstable). >> >> However it does not work well when combining numpy-1.16.0~rc2 (unstable) >> and matplotlib-2.2.2-4 (testing), which is the combination that is >> tested for migration of numpy. Needless to say that matplotlib migrates >> only after numpy. What should one do here? Declaring another >> "Breaks: matplotlib (<< 3.0)" in numpy? > > Well, to me it seems it's python3-astropy that is missing a dependency > on python3-skimage there, to be honest: > |> from skimage.measure import block_reduce > |E ModuleNotFoundError: No module named 'skimage' > | > |/usr/lib/python3/dist-packages/astropy/nddata/utils.py:370: ModuleNotFoundError > > However I wouldn't be able to tell you why it would pass with numpy and > matplotlib from unstable, given that neither pulls in skimage… astropy needs askimage only in some cases, so it is (should be) a suggestion and not a recommendation. aplpy is however one of these cases -- but this is not the problem here, since aplpy 2.0~rc2-2 has skimage in its test dependency. The problem is that aplpy uses matplotlib, and the old matplotlib uses the deprecated numpy function np.asscalar(), which leads to a DeprecationWarning, which is (on purpose, by upstream) thrown as error. https://ci.debian.net/data/autopkgtest/testing/amd64/a/aplpy/1658948/log.gz This does only happen in the combination "new numpy + old matplotlib", but this is the one that is tested for the CI test. best Ole
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-05 15:20 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-05 15:40 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-05 16:20 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-05 16:40 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-05 20:50 +0100
Re: Numpy migration? Scott Kitterman <debian@kitterman.com> - 2019-01-05 21:00 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-06 01:40 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-06 17:30 +0100
Re: Numpy migration? Steffen Möller <steffen_moeller@gmx.de> - 2019-01-06 18:20 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-06 18:50 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-06 19:00 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-07 09:30 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-07 17:30 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-07 18:10 +0100
Re: Numpy migration? Paul Gevers <elbrus@debian.org> - 2019-01-07 21:10 +0100
Re: Numpy migration? Ole Streicher <olebole@debian.org> - 2019-01-05 16:40 +0100
Re: Numpy migration? Mattia Rizzolo <mattia@debian.org> - 2019-01-05 16:50 +0100
csiph-web