Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11218

Re: Numpy migration?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Paul Gevers <elbrus@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Numpy migration?
Date Mon, 07 Jan 2019 21:10:02 +0100
Message-ID <xdJnI-3Sn-7@gated-at.bofh.it> (permalink)
References <xcUXT-6rf-5@gated-at.bofh.it> <xcVhg-6xW-9@gated-at.bofh.it> <xcVU0-72b-53@gated-at.bofh.it> <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> <xdysh-5s1-3@gated-at.bofh.it> <xdFWO-1Ef-37@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 7 20:04:24 2019
Old-Return-Path <elbrus@debian.org>
X-Amavis-Spam-Status No, score=-12.3 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, MEDS2=2, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
Openpgp preference=signencrypt
Autocrypt addr=elbrus@debian.org; prefer-encrypt=mutual; keydata= mQENBE2LmVYBCADS6vA01KutEM74dDGrsmT2q6Mh5C3TAyNhLigBEWNGnfbFr6AHX1EvdkC/ 7g5QcFGqiiOjTdHncRNtvUbistfbF1ynE6evD3p5tpkn6ymmVwSIjx9np7GWJgZgBo0zkpij M1iimHTs1BcZhL7WQlvVJO3Xm8jr7NpgjkRRkkPaj0Kd/HYuPGqN74pwXB7nR5Uw2ypYS0eT iCHUUTUrvgP3fqOWc2bgbCIsuoXpp/QLT5ehC+M01UKMHVUkr97cwT4wg03XqE2cL7r6szry GZMp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QENBE2LmVYBCAC6 ZRwRIuJ2l2FYLd5/URSgkTSfwANnXWBpNOVYhuGrvveA0e9KrToIpqZCRjrAiuaW4aaQq8dw YZpCMJhq3VzVW0C0BA7QARrePEQfJXkNiHyYEoJrmt21zQO8KP1md13TtX1jj/Sqt2Y4efbK KZ2VeWwngsgXOwCTVyj7tth6fwn+5bPptxp/Ux4CXD5G4XvGTGfRpEa61sfvh6NEZTbe/7gG FEOBSat7esVAj170NVc4V8HX+/NtlJrlEce6BMbCvug5vF4iGkMYNwbdzFu2+rB+w9Dmo262 lnWtUYQpX1nnmbWS8nU7ygCcKd/xc08xYCu1gt69YHp7yOqK2Nr3ABEBAAGJASUEGAEIAA8F Ak2LmVYCGwwFCQ8JnAAACgkQnFyZ6wW9dQr1FQf/ZNWPPlKJQAZ7wb0GIYVWYqbT9d0tunO8 lgDVGPg/22cn3RaG99mASwWoOB749qyN4vPO5NR5sWS3qgjhhpn8oDbYNDgMJImZ1SmWhn43 bHzwqWzUYlYJWw4Mgi+hEO+JMI6aipC/nOMKRJ2b9MlwgFDNnhjh5RYyIW7sd3swnEjx8y29 miWpkC2C7Ka2olG0LR4Vfyqf6NUh9Rui57Vx6X4wdJbDCKZnSSZBau6NP/98/+LsFcG5gGKW 1Mg2InyiPVPjEb4XOzs5YdUiZ640OiLyAhE6LU6/n0BIjRNdO2MLyB705MDDYprULGTuw4I2 zKa/TeOLsV5Skx21isd25A==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1avso6O1ECKp8mwTQFgJRfY2d42qOeonv"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16669
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/52b0308c-ae05-a627-1ca1-babc47c93a2f@debian.org
Approved robomod@news.nic.it
Lines 145
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Niels Thykier <niels@thykier.net>
X-Original-Date Mon, 7 Jan 2019 21:03:59 +0100
X-Original-Message-ID <52b0308c-ae05-a627-1ca1-babc47c93a2f@debian.org>
X-Original-References <87a7kfqk65.fsf@orrococo> <CAHKYmesvBOg=0cg3A==ei01GeJeJwEjUMfrSa4uSYiT-hk2q_g@mail.gmail.com> <8736q7qh9w.fsf@orrococo> <20190105153545.GB26988@mapreri.org> <87tvimq4vf.fsf@orrococo> <20190105221009.GA23578@mapreri.org> <87h8elpy5u.fsf@orrococo> <20190106175829.GH23578@mapreri.org> <87d0p8q4hs.fsf@orrococo> <20190107162036.GU23578@mapreri.org>
Xref csiph.com linux.debian.maint.python:11218

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Mattia, all,

On 07-01-2019 17:20, Mattia Rizzolo wrote:
> On Mon, Jan 07, 2019 at 09:03:11AM +0100, Ole Streicher wrote:
>> 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).
> 
> Right, that explains why I didn't see it.
> It seems now britney is triggering aplpy test with a big set of
> triggers (I suppose the result of the several Breaks that have been
> added in the meantime), so it's indeed trying to move everything
> together.

Indeed.

>> 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.
> 
> mhh… for this, indeed a breaks numpy -> matplotlib could be used, but it
> feels a bit too strong to me, as nothing was really broken since it's
> just deprecations.
> 
> elbrus; this is a case where I think I could use your input (tl;dr: new
> numpy causes deprecations in testing's version of matplotlib (fixed in
> unstable), which in turn causes failures in new aplpy, how to make the
> stack happy?).

The commit, with lots of comments [1], that implemented most of the
related logic is here:
https://salsa.debian.org/release-team/britney2/commit/18633e275c34973379f1426542047bf30c7829c3

With the current code your options are:
- *versioned* depends on one of the binary packages from the source you
want from unstable in any of the binary packages that is going to be
taken from unstable
- *versioned* breaks or conflicts on the binary packages from the source
you want from unstable in any of the binary packages that is going to be
taken from unstable
- *versioned* test dependency in the package that is used for
autopkgtest (only helps if the version that is tested is already taken
from unstable). The version of the test dependency will NOT be added to
the triggers (maybe, I have to think about it, that could be an britney
improvement), but if the version of the autopktest is going to be taken
from unstable already due to other considerations, with the current
settings of ci.d.n and autopkgtest the required version will be installed.

Personally I don't think it is an issue to add the breaks, but I can see
why people find it heavy in cases like this one.

As discussed in the med-fichier bug, britney may want to grow knowledge
from a X-breaks-autopkgtest-of-source header, but that doesn't exist now
and I am not extremely keen about adding it because I fear people may
too easily add it when a normal breaks is in order.

Paul

[1]
+        # Here we figure out what is required from the source suite
+        # for the test to install successfully.
+        #
+        # Loop over all binary packages from trigger and
+        # recursively look up which *versioned* dependencies are
+        # only satisfied in the source suite.
+        #
+        # For all binaries found, look up which packages they
+        # break/conflict with in the target suite, but not in the
+        # source suite. The main reason to do this is to cover test
+        # dependencies, so we will check Testsuite-Triggers as
+        # well.
+        #
+        # OI: do we need to do the first check in a smart way
+        # (i.e. only for the packages that are actully going to be
+        # installed) for the breaks/conflicts set as well, i.e. do
+        # we need to check if any of the packages that we now
+        # enforce being from the source suite, actually have new
+        # versioned depends and new breaks/conflicts.
+        #
+        # For all binaries found, add the set of unique source
+        # packages to the list of triggers.

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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