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


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

Python 2 removal and r-deps -- a tool

Started bySandro Tosi <morph@debian.org>
First post2019-08-22 05:20 +0200
Last post2019-08-22 05:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.debian.maint.python


Contents

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

#11641 — Python 2 removal and r-deps -- a tool

FromSandro Tosi <morph@debian.org>
Date2019-08-22 05:20 +0200
SubjectPython 2 removal and r-deps -- a tool
Message-ID<yxLNM-vp-23@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web