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


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

Re: Investigating the reverse dependencies of python-monotonic.

Path csiph.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Simon Josefsson <simon@josefsson.org>
Newsgroups linux.debian.maint.python
Subject Re: Investigating the reverse dependencies of python-monotonic.
Date Tue, 13 Aug 2019 22:40:02 +0200
Message-ID <yuLKi-6H0-3@gated-at.bofh.it> (permalink)
References <yuCxk-Hs-9@gated-at.bofh.it> <yuLKi-6H0-5@gated-at.bofh.it>
X-Original-To Thomas Goirand <zigo@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Aug 13 20:30:12 2019
Old-Return-Path <simon@josefsson.org>
X-Amavis-Spam-Status No, score=-7.2 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, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Greylist delayed 845 seconds by postgrey-1.36 at bendel; Tue, 13 Aug 2019 20:13:29 UTC
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=josefsson.org; s=default; t=1565726343; bh=BZbSbdusKCT5yr2Un2/tG0AjE80vRbDAy990hlfC+Bo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=OxDIgjEGFqwzPzdHDiZA/JoUR484glcigvSIgLI84AJ5k+d02jGJsdsK2hzyICnuk 8oT85RYuTdBQNNoB4mxZ6g+2OomqPYuQQg8PvMHfUM7gmjbpLX5FBJPr136Wrpk6Oq zwiRbJ4mW7vAVy9PKrFxG3XG7z0gijMPVxXlrCTTOwD/ts6+8vnrO/DYTZnYS5wfnX 82PplxSS0DiNud8Wq00R9WvdC7hHA9TNzMAFXYHsiJMEEOdT1XNCO1LrLMSthGvjaa GKShCcdT9ipgDd0Nn23TBHFExkXBl07LSG5jxnuCsdIKdNXQlDoUMYEY8FI4J3e2MG uyqlhXHRmN6QA==
Content-Type text/plain; charset=us-ascii
MIME-Version 1.0 (1.0)
X-Mailer iPhone Mail (16G77)
Content-Transfer-Encoding quoted-printable
X-Virus-Status Clean
X-Mailing-List <debian-python@lists.debian.org> archive/latest/17127
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/12067B73-B1AB-4778-95E4-2CAC9DB38F3B@josefsson.org
Approved robomod@news.nic.it
Lines 112
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org, duplicity@packages.debian.org, oz@packages.debian.org, team+openstack@tracker.debian.org
X-Original-Date Tue, 13 Aug 2019 21:58:57 +0200
X-Original-Message-ID <12067B73-B1AB-4778-95E4-2CAC9DB38F3B@josefsson.org>
X-Original-References <33e1e89f-7c02-789b-37da-18722cba4652@p10link.net> <fc12e6b6-0746-ff2b-4765-21e2ed13ac0b@debian.org>
Xref csiph.com linux.debian.maint.python:11619

Show key headers only | View raw


Once python3-m2crypto is in Debian, I will port oz to python3.

/Simon

> 13 aug. 2019 kl. 21:46 skrev Thomas Goirand <zigo@debian.org>:
> 
>> On 8/13/19 12:38 PM, peter green wrote:
>> Hi
>> 
>> I've been looking at various python 2 cruft packages (packages no longer
>> built by the corresponding source packages) and why they can't be
>> cleaned up, I have been looking in a derivative but many of my results
>> are also relevant to debian proper. Where relevant I have been filing
>> bugs against the reverse-dependencies of these cruft packages, so they
>> can be fixed or ultimately removed.
>> 
>> Most such packages have been part of upstream projects that have dropped
>> python 2 support, notablly django and openstack. In such cases it is
>> pretty clear that the only reasonable way forward is for the reverse
>> dependencies to be either removed or migrated to python 3.
>> 
>> One package that stood out from the rest was python-monotonic.
>> python-monotonic is maintained by the Debian openstack team, but it
>> doesn't seem to be in any way openstack specific, nor does upstream seem
>> to have dropped python2 support. It seemed to have a fair few reverse
>> dependencies.
>> 
>> python-humanfriendly (has rdeps)
>> oz (rc bug filed https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933509 )
>> python-fasteners (has rdeps)
>> python-futurist (has rdeps, cruft)
>> python-octaviaclient (assumed to be openstack related)
>> python-oslo.log (assumed to be openstack related)
>> python-oslo.messaging (assumed to be openstack related)
>> python-oslo.service (assumed to be openstack related)
>> python-oslo.utils (assumed to be openstack related)
>> python-tenacity (has rdeps, cruft)
>> 
>> There are also indirect reverse dependencies, (i'm not investigating
>> reverse dependencies of packages that are clearly openstack specific here)
>> 
>> python-coloredlogs (via python-humanfriendly, no reverse dependencies)
>> python-datalad (via python-fasteners, no reverse dependencies)
>> duplicity (via python-fasteners)
>> python-oauth2client (via python-fasteners)
>> python-oslo.concurrency (via python-fastners, openstack related)
>> python-taskflow (via python-fasteners, cruft)
>> python-tooz (via python-fasteners, openstack related, cruft)
>> python-googleapi (via python-oauth2client)
>> python-pypowervm (via python-taskflow, openstack related, cruft)
>> python-googleapi-samples (via python-googleapi)
>> python-etcd3gw (no rdeps)
>> python-gnocchiclient (openstack related, cruft)
>> 
>> If we ignore openstack stuff, python modules and an examples package the
>> two main packages left seem to be oz and duplicity, oz seems to have
>> very low popcon, but duplicity seems to have a popcon of around 3000 and
>> growing.
>> 
>> So the main question seems to be can duplicity be reasonably migrated to
>> python 3 and if not is it worth reinstating the python-monotonic binary
>> package to save duplicity?
> 
> What happened is that I simply uploaded the latest version of OpenStack
> from Experimental to Sid. This includes monotonic. It's been a long time
> I maintain monotonic because it's used in OpenStack, then other packages
> started using it. You may have noticed that it was in Experimental with
> Python 2 removed for at least 6 months, just like for Django, giving the
> sign that Py2 would soon go away. However, maybe bugs should have been
> filled, sorry that I didn't do it in time.
> 
> Let's take a look at the situation.
> 
> As per Andrey's reply, we can fix duplicity.
> 
> From your report above, if I remove all the OpenStack stuff (which at
> this time, should all be only Python 3), the only affected packages
> would be:
> 
>> python-humanfriendly (has rdeps)
>> oz (rc bug filed #933509)
>> python-coloredlogs (via python-humanfriendly, no reverse dependencies)
>> python-datalad (via python-fasteners, no reverse dependencies)
>> duplicity (via python-fasteners)
>> python-oauth2client (via python-fasteners)
>> python-googleapi-samples (via python-googleapi)
> 
> According to the setup.py of python-googleapi in the Github repo, latest
> upstream version supports Python 3, so it should be doable to upload a
> new version to fix this.
> 
> I will remove Python 2 suport from python-oauth2client and
> python-fasteners tomorrow.
> 
> So, this leaves us only: humanfriendly, oz, python-coloredlogs,
> python-datalad. I've uploaded humanfriendly and coloredlogs Py2 removal.
> BTW, I believe python-coloredlogs was there as a build-depends of
> cyvcf2, which has been fixed on the 1st of august by Andreas Tille.
> 
> By all means, let's not play the dance of re-introducting Python 2 when
> we can move forward on the right direction.
> 
> Thanks for taking the time to investigate this, this is very useful, and
> I have to admit that, even though I know how to do the work, I am a bit
> lost into knowing from were to begin. The release tracker is not very
> helpful in this regard.
> 
> Cheers,
> 
> Thomas Goirand (zigo)

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


Thread

Investigating the reverse dependencies of python-monotonic. peter green <plugwash@p10link.net> - 2019-08-13 12:50 +0200
  Re: Investigating the reverse dependencies of python-monotonic. Andrey Rahmatullin <wrar@debian.org> - 2019-08-13 13:00 +0200
    Bug#934333: Investigating the reverse dependencies of python-monotonic. peter green <plugwash@p10link.net> - 2019-08-13 15:40 +0200
  Re: Investigating the reverse dependencies of python-monotonic. Simon Josefsson <simon@josefsson.org> - 2019-08-13 22:40 +0200
    Re: Investigating the reverse dependencies of python-monotonic. Simon Josefsson <simon@josefsson.org> - 2019-08-15 15:20 +0200

csiph-web