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


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

Python 2 removal and r-deps -- a tool

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.maint.python
Subject Python 2 removal and r-deps -- a tool
Date Thu, 22 Aug 2019 05:20:02 +0200
Message-ID <yxLNM-vp-23@gated-at.bofh.it> (permalink)
X-Original-To debian-python <debian-python@lists.debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Aug 22 03:16:21 2019
Old-Return-Path <sandro.tosi@gmail.com>
X-Amavis-Spam-Status No, score=-6.906 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.406] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-io1-f68.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9kts0KpNSvd8YOH37dyXV2ovmKylbttUmnlz3l68gdY=; b=Ef/uETN61qQK7qLqJTHt31WD7lQc3tACf4d+DhfLXcBs+1y6Xe/5LLZgWx39JlVZHG LVbfjjuKgJoqwe9pIpInMcf+UccxkLxJq0XD2FyPgL7IQ8we4FmJDRTeG1rpshaasAAJ ElfEqxHEp9gTV9jDbns96v01H7ZiJN/+dlx30Lwl7wNuy4C4JZKfzXcLke/r3Zn4JdvW m+i1nmCRrKstSdo7oCXEBiMLDTCunnU2I456eUO524S2DpuD7yDarPeH+jGuScHLaXUZ D4Gqso+u5KYrl+FcvrY90HGoK/nkJG5kr+4c1/Hd5fM7GZfksQSJw+cfe7yUftGF7eu5 WF0Q==
X-Gm-Message-State APjAAAXp0cZdY8XbNjAn+pm913kQGqKRC1LwZqc4Lv2A4r1/3X4Ucvt3 yDzKZwKebUIBNgXi96p1Ll2Rboqg2WTKGzaG4kPaLHkz/Mg=
X-Google-SMTP-Source APXvYqzMYsArol4d0e0xzNhDN6HsVYaX16d3tvzIUtUBgTHctNNCF8FZUcKg6vD+N0G3PeH4bGyQZ+TkOMYjtxgppd4=
X-Received by 2002:a02:a18e:: with SMTP id n14mr14314518jah.84.1566443764980; Wed, 21 Aug 2019 20:16:04 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17152
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAB4XWXy8ZH=gw21bi3fV6QKDTL-=fH4D1PzsVqEw=LaW74ULAw@mail.gmail.com
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 21 Aug 2019 23:15:38 -0400
X-Original-Message-ID <CAB4XWXy8ZH=gw21bi3fV6QKDTL-=fH4D1PzsVqEw=LaW74ULAw@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:11641

Show key headers only | View raw


Hello,
currently there are a lot of cruft packages in unstable (due to the
removal from their source packages, but still being referenced by
other binpkgs, so they are left in the archive) that running `apt
rdepends` produces a lot of false entries.

I wrote a small script to:
* parse the local Sources index files
* parse the bin packages list
* produce the list of reverse dependencies for the given package
* limit the depth of the scan to the given value (default it's 2
levels; the graph can get crazy pretty quickly if there's no limit)
* add b-d rdeps too
* produces a visual representation of the deps graph

You can look & download the script at: https://salsa.debian.org/snippets/319

hope this helps in finding the next leaf package to drop py2 support
from, or to understand the web of rdeps for your packages.

Cheers,
-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi

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


Thread

Python 2 removal and r-deps -- a tool Sandro Tosi <morph@debian.org> - 2019-08-22 05:20 +0200

csiph-web