Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: "Elena ``of Valhalla''" Newsgroups: linux.debian.maint.python Subject: Re: on keep providing python 2 packages Date: Sat, 20 Aug 2016 13:40:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Sat Aug 20 11:39:34 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.799 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=lxSO2z9OuNCj7/u+/ZhEUa/OQ5dWolSQbEJnizz8zZA=; b=n9QAxdZWB4QqXw4pxVcQ/ET+Go8BcA1ZMXQTfQNspxwLSNsv1zzlOIddEifdW1KwO8 TngSADMOdklYAAysrxzr+WShdO4nLgmkK1Ey9tpT5QDzNFQnNERa+CVM3L1+Pa7fEaJ6 iR0AyFrBULtXDmS7yU4SgL1+MVdPqW6UVcL6jIwZj9iP+Fzrssutwa04QOMrw2Ex4yMf x+D6SW+pYVgbzDEDNkbz6XW1W/IVRBKH5oS3Pof8Xzl10n+8sB2S49/T0HWhpte9NRKK pTe0f84H5Shsj3d/aqpYQpDHV0nEQLmmMHfHGdmxM1sm43Ykrj88dvGRq0MWbKfaqk3/ eJGQ== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=lxSO2z9OuNCj7/u+/ZhEUa/OQ5dWolSQbEJnizz8zZA=; b=QlCwCisk3ZQNv1eg4/a3XxZKa/GLCHIgDzOZTca8w2cAmcztlEmg97R3xQeCUWhm5M wDhCvvrBzUZ5+Uk9rcZeUXxtjC1JhtlX5PqUc7ry9RveQtzlifYZJEDwl4LVRmv0PSql wftSl9KX8ZYebUJW0btAOo/i+5o4GHnua30vBhUAxOWqTMqTESrPY8VzOrXa1PYBnoPm Brh7bBYo6FpCdw5rgHuuqVBzvwgujbm8i14MO0LMv49fCy4pK0fkvUfCKlD7M/s8XuUQ b2Q2DqZ1uB+k5PcFC67Fi6eDrRYRxbEYYhXzHoLKSmKVhrzHk+T3CoAIV0+Mg97EwN4n gc5A== X-Gm-Message-State: AEkoouu8XU7XRd+7DnW9RINlZr01obmQQ2EfuH2J71TVIRQ6UWksTKWY1q9LHK51ySYdBQ== X-Received: by 10.28.214.130 with SMTP id n124mr7317439wmg.37.1471693157276; Sat, 20 Aug 2016 04:39:17 -0700 (PDT) X-Google-Original-From: Elena ``of Valhalla'' Mail-Followup-To: debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.6.2-neo (2016-07-23) X-Mailing-List: archive/latest/14141 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160820113903.5slg42r6shbvqm77@manillaroad.local.home.trueelena.org Approved: robomod@news.nic.it Lines: 34 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 20 Aug 2016 13:39:12 +0200 X-Original-Message-ID: <20160820113903.5slg42r6shbvqm77@manillaroad.local.home.trueelena.org> X-Original-References: <20160819104252.iongmlrtnsxiwlcu@mitya57.me> Xref: csiph.com linux.debian.maint.python:8800 On 2016-08-19 at 13:42:52 +0300, Dmitry Shachnev wrote: > For example, I have a module (which supports both Python 2 and 3), but > the only user of this module is an app (which is Python 3 only). > > What’s the point of shipping the Python 2 version of that module then? Speaking with the assumption that (as mentioned elsewhere in the thread) the module is written in a way as to be potentially useful for other users than the app. As somebody who writes (and keeps running, see debops_) python code for internal use targetting debian stable, I find that packaged modules are extremely useful even if they aren't used as a dependency for some app inside debian, and using them a much saner alternative than getting dependencies with pip inside a virtualenv. .. _debops: http://www.enricozini.org/blog/2014/debian/debops/ In this case, there is no real way to know whether people are using python2 or python3 (except for hints from popcon, that aren't available however is the python2 version doesn't exist in debian). > In my opinion, we should neither encourage nor discourage shipping the > Python 2 version, and let the maintainer make the decision. I can imagine that there may be cases where adding a py2 version could mean significant more work for the maintainer, and I can understand people not being happy having to do that work for a legacy language that will be removed in a few releases, but I don't thing it's reason enough not to encourage shipping py2 versions in the vast majority of cases where the effort required is low. -- Elena ``of Valhalla''