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


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

2Removal: handling circular dependencies / dropping tests before the binary?

Path csiph.com!goblin1!goblin.stu.neva.ru!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From "Rebecca N. Palmer" <rebecca_palmer@zoho.com>
Newsgroups linux.debian.maint.python
Subject 2Removal: handling circular dependencies / dropping tests before the binary?
Date Sat, 21 Sep 2019 11:40:02 +0200
Message-ID <yIK1Y-7N9-19@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Sep 21 09:36:08 2019
Old-Return-Path <rebecca_palmer@zoho.com>
X-Amavis-Spam-Status No, score=-7.199 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .zoho. - helo: .sender4-pp-o93.zoho. - helo-domain: .zoho.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Arc-Seal i=1; a=rsa-sha256; t=1569057500; cv=none; d=zoho.com; s=zohoarc; b=crjaFWdVL4gBtkmnMUda523sr0bch5zYyXz2hwDMphbyowzTxtluyZKYbzwsdR/5kSjFQlxu8nSrcodO8ooBhNabfcwa9179X1BKPazGXl/Db+nv/TjB5HBa5jq1ieTZVvnJ5udPcX/xV6tfOwqj8imU8hELIl6JbznX4NoiMRQ=
Arc-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1569057500; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=ju0E0W6oJLyAEU58UEu0aIaE34g1g90/KAntIiHQFAk=; b=Jn6zBynH0bP77RotxrEmJXqw6xsIQRujdcPRQqmlg5n4z7R8A9Zr8NfQtXtsz41G5KOgQj6W1BxwZ0rafagvxrdIcRxnknx1Tp5lQuhbKIlG04YXAv2GcGfCebxqkRogbF+iuis4mj2epRypg+YGPJIOw7acp8WQOfDA3F+RgMs=
Arc-Authentication-Results i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=rebecca_palmer@zoho.com; dmarc=pass header.from=<rebecca_palmer@zoho.com> header.from=<rebecca_palmer@zoho.com>
Domainkey-Signature a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=to:from:subject:message-id:date:user-agent:mime-version:content-type; b=XV31oIEvwP+LBqdGbGCaryYg67JOKj154VJJ/8dDjUyGqEv08jHBOvMqLrfoy1hRNKUaTEg1a8g+ KoSC/qDLFHz0pkAyzUG9VlSN4JawW/s788Equ3kwx9fUJ3YTPQRB
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1569057500; s=zm2019; d=zoho.com; i=rebecca_palmer@zoho.com; h=To:From:Subject:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; l=1252; bh=ju0E0W6oJLyAEU58UEu0aIaE34g1g90/KAntIiHQFAk=; b=f7ETRDoPoGV5yjfU0OKm4ChOclZFwVBtQKeR0c+igQ25Z0T91UV0QYaCZ2LPsfq4 WJYPPRc5jCkqvpUXfX/UlS3naQD4y9Ilb2dyQi9SdLgbb2odff9q7HuoYUxTjQC73TY 4CD9J1hO0FybCmTQwOf1yWiHcufeSnU0Ntg0ymMg=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Language en-US
Content-Transfer-Encoding 7bit
X-Zohomailclient External
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17379
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/61022210-1547-e6e1-461c-4d5b76c04e09@zoho.com
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sat, 21 Sep 2019 10:18:16 +0100
X-Original-Message-ID <61022210-1547-e6e1-461c-4d5b76c04e09@zoho.com>
Xref csiph.com linux.debian.maint.python:11841

Show key headers only | View raw


Some Python 2 packages have circular (build-)dependencies, making it 
impossible to remove them one at a time without breaking anything.

One such cycle is seaborn, sphinx-gallery and matplotlib2 (#940873); I 
have not attempted to systematically check for them.

How should these be dealt with?

--- Cut the cycle by removing one of the dependencies.

This may mean skipping (some of) the tests, as Python build dependencies 
are often actually test dependencies.  There might be cases where it 
isn't reasonably possible at all.

(Related question: if a package with a large test suite is being 
uploaded anyway, should we consider removing the Python 2 tests just to 
save buildd/debci resources?)

--- Prepare all the required packages in salsa / experimental, then 
remove the entire cycle at once.

This is easy if the cycle is small and otherwise ready to remove, but if 
one member has a big dependency tree, the whole cycle might have to stay 
for some time.

(Related question: does it make sense to create no-Python2 salsa 
branches of one's regular modules (particularly any that need nontrivial 
changes) and mark them "please upload when the reverse dependencies have 
been cleared", even if they aren't part of a cycle?)

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


Thread

2Removal: handling circular dependencies / dropping tests before the  binary? "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2019-09-21 11:40 +0200
  Re: 2Removal: handling circular dependencies / dropping tests before  the binary? Andrey Rahmatullin <wrar@debian.org> - 2019-09-21 12:00 +0200
    Re: 2Removal: handling circular dependencies / dropping tests before  the binary? Sandro Tosi <morph@debian.org> - 2019-09-21 23:10 +0200
  Re: 2Removal: handling circular dependencies "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2019-10-24 00:40 +0200
    Re: 2Removal: handling circular dependencies Simon McVittie <smcv@debian.org> - 2019-10-24 10:00 +0200
      Re: 2Removal: handling circular dependencies Andrey Rahmatullin <wrar@debian.org> - 2019-10-24 10:10 +0200
        Re: 2Removal: handling circular dependencies "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2019-10-24 19:50 +0200
    Re: 2Removal: handling circular dependencies Sandro Tosi <morph@debian.org> - 2020-03-16 07:30 +0100
      Re: 2Removal: handling circular dependencies "Rebecca N. Palmer" <rebecca_palmer@zoho.com> - 2020-03-16 08:50 +0100

csiph-web