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


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

Re: on keep providing python 2 packages

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: on keep providing python 2 packages
Date Sat, 20 Aug 2016 18:50:02 +0200
Message-ID <s8hD4-5qC-25@gated-at.bofh.it> (permalink)
References <s7MpB-2B9-71@gated-at.bofh.it> <s7Px7-4vo-13@gated-at.bofh.it> <s7PGN-4yC-13@gated-at.bofh.it> <s7VMd-8wb-27@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Sat Aug 20 16:43:09 2016
Old-Return-Path <sandro.tosi@gmail.com>
X-Amavis-Spam-Status No, score=-7.677 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, 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=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-transfer-encoding; bh=aEk8QJkeJtSzNgkMCcHjeedczSozhu9MzvhtkhNMdtI=; b=QeYfQkSdSuTid63/7MQSHHemgLZZJYrExn8KfowOKem0vgq12WcBT9IHgxzsYd2g+n OQ1lmOwduT/+MGAG4opKcNKqfNa4r4I0+HTkYdK6Uy2Kgv6hF/KAnP2lUN+L171zy1Y+ LC1t8YIOJifWqzFh/ekSfuFCkOlzAqJSw2tTPFUQnSuvfAXkEj3jlpMSbeLzf8gOdhfL /GPrWZtP9u0gp6WKsC2XvKdKfNn9K1tin62KNsQZcB+TjK3Myh2kDprtTwAw+kmkZAuW MY+EZ3W4ZBNtXQ7Rv5v/LJ2dhVsO8qY74r4czLOhZfnR6/h1Z4Bg1+GbMoCHyHNPL9Du lQcw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-transfer-encoding; bh=aEk8QJkeJtSzNgkMCcHjeedczSozhu9MzvhtkhNMdtI=; b=edR8ID9xNXUt5ibTrYCmdZXOGZ9k5PEQaRLau8x7QZzrF3T6Og7ZYuGKsU68/2XcmC HVWDkaqX4Afrynz3+enEPRNWFXUOZgZJrTq+sUQvjZEbH3Wo9vcfybFew/HUNf2ugLF9 5iXqTjXP4ZvtsuLnpb/ad6RJtNMwgJpbE23lpEodYmG598h9y1rlBjo2wVI9K1dsm6Tr eoNuoHOWqOcGF7V2IL8cnqOhWtDPxZgSp+tyF9PwQJ+jIjuP8GklmguFI+ZYpHLhbugf 4ksWeclTlRn3PfDzK8kzvxrcposMpo5auxIQvzwJn6lJZvyHdBdeIsyVOc9u0wN/8Whv xrcw==
X-Gm-Message-State AEkoouvyQqTfEy/tXKoZl2hBNzlE3PZ9Zb64zP1qlCvVuyrayRoyedNIPU2pPXvQgpj6zPClgtjwSsqCloyk5A==
X-Received by 10.25.166.196 with SMTP id p187mr3595595lfe.48.1471711374979; Sat, 20 Aug 2016 09:42:54 -0700 (PDT)
MIME-Version 1.0
Sender robomod@news.nic.it
X-Google-Sender-Auth YxZkiSLhwbfEulSgVY1IHDaTEbI
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/14143
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAB4XWXyGKveWoNV7LcQApBwHxBcenSrG7O7fHc8RR5QcfyZQLA@mail.gmail.com
Approved robomod@news.nic.it
Lines 48
Organization linux.* mail to news gateway
X-Original-Date Sat, 20 Aug 2016 17:42:24 +0100
X-Original-Message-ID <CAB4XWXyGKveWoNV7LcQApBwHxBcenSrG7O7fHc8RR5QcfyZQLA@mail.gmail.com>
X-Original-References <CAB4XWXz5oDCwHKVzR3EcETUwA3383Bamnj4u98DEQ97VaBz1-w@mail.gmail.com> <20160819104252.iongmlrtnsxiwlcu@mitya57.me> <CAB4XWXxuyRATGpxHKHxy0iDcPuBOS8AKOM8arr=Ph=LyLi54gA@mail.gmail.com> <20160819172654.jqrm6ntegcqyalmu@mitya57.me>
X-Original-Sender sandro.tosi@gmail.com
Xref csiph.com linux.debian.maint.python:8802

Show key headers only | View raw


On Fri, Aug 19, 2016 at 6:26 PM, Dmitry Shachnev <mitya57@debian.org> wrote:
> Hi Sandro,
>
> On Fri, Aug 19, 2016 at 11:49:25AM +0100, Sandro Tosi 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).
>>
>> then this should be an internal module, installed in /usr/share/<pkg>
>> and not importable via python -c "import <module>"
>
> It was initially private, but then was split out into a separate module
> because it can be potentially useful for others.
>
> Since that, some third party projects are using it, but they are all
> Python 3 AFAIK (module in question is pymarkups).

but you are not aware of all the potential users of the py2 version,
they are none now because there is not such version available for them
(as Elena mentioned out in her reply)

>
>> i think we have to support python2 and python3 at the best we can, as
>> we mandate to have py3k packages
>> (https://www.debian.org/doc/packaging-manuals/python-policy/ch-python3.html)
>> i think we should extend the same level of support to python2, until
>> it will be decided to drop that stack completely
>
> How about at least replacing “must” with “should” in the proposed wording?

that text was not meant to be a patch to the policy (yet), but the
idea is to be mandatory to support every version upstream supports, so
the should is just too weak: you can if you want, but you are not
forced to. the must expresses that's mandatory

anyway, why wouldnt you want to provide a python2 package  if the code
supports it? if you got a py3k package working, it's usually
straightforward to have a py pkg. Doing that i've found several issues
with upsteam projects that were fixed, thus increasing the general
quality of their code and our distribution

-- 
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 — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

on keep providing python 2 packages Sandro Tosi <morph@debian.org> - 2016-08-19 09:30 +0200
  Re: on keep providing python 2 packages Olivier Sallou <olivier.sallou@irisa.fr> - 2016-08-19 09:50 +0200
  Re: on keep providing python 2 packages Ondrej Novy <novy@ondrej.org> - 2016-08-19 10:10 +0200
  Re: on keep providing python 2 packages Julien Cristau <jcristau@debian.org> - 2016-08-19 11:50 +0200
  Re: on keep providing python 2 packages "W. Martin Borgert" <debacle@debian.org> - 2016-08-19 12:20 +0200
  Re: on keep providing python 2 packages Dmitry Shachnev <mitya57@debian.org> - 2016-08-19 12:50 +0200
    Re: on keep providing python 2 packages Sandro Tosi <morph@debian.org> - 2016-08-19 13:00 +0200
      Re: on keep providing python 2 packages Dmitry Shachnev <mitya57@debian.org> - 2016-08-19 19:30 +0200
        Re: on keep providing python 2 packages Sandro Tosi <morph@debian.org> - 2016-08-20 18:50 +0200
          Re: on keep providing python 2 packages Mattia Rizzolo <mattia@debian.org> - 2016-08-20 21:10 +0200
            Re: on keep providing python 2 packages Sandro Tosi <morph@debian.org> - 2016-08-20 22:30 +0200
              Re: on keep providing python 2 packages Rick Thomas <rbthomas@pobox.com> - 2016-08-21 00:40 +0200
              Re: on keep providing python 2 packages Piotr Ożarowski <piotr@debian.org> - 2016-08-21 00:40 +0200
                Re: on keep providing python 2 packages Mattia Rizzolo <mattia@debian.org> - 2016-08-21 09:50 +0200
                Re: on keep providing python 2 packages Barry Warsaw <barry@debian.org> - 2016-08-21 22:20 +0200
    Re: on keep providing python 2 packages "Elena ``of Valhalla''" <elena.valhalla@gmail.com> - 2016-08-20 13:40 +0200
  Re: on keep providing python 2 packages Barry Warsaw <barry@debian.org> - 2016-08-19 15:30 +0200

csiph-web