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


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

Re: Python < 3.5 tests

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Brian May <brian@microcomaustralia.com.au>
Newsgroups linux.debian.maint.python
Subject Re: Python < 3.5 tests
Date Thu, 08 Oct 2015 23:30:02 +0200
Message-ID <qhqVb-74t-3@gated-at.bofh.it> (permalink)
References <qh4hX-8jR-3@gated-at.bofh.it> <qhhRV-2oG-51@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Oct 8 21:20:22 2015
Old-Return-Path <brian@microcomaustralia.com.au>
X-Amavis-Spam-Status No, score=-5.8 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .microcomaustralia. - helo: .mail-io0-x232.google. - helo-domain: .google.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=microcomaustralia.com.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=hsRRtRI7O+pi4IaSy/c2qGiOwCsgFAiCLHTv0gxNZLU=; b=e5nJygjr8u8/3FJGnNguaU1weK0p5PTsjfc68j8pUxpM7tI+d3kASFxYMin/10SdwN yJ+PulCVQXANOZv6WkEAoKqp696RYe7PdOoWgnDeRDdUVQREIF2FBsSuzUbHVhcSrrXw vrHaR4rA0LHxP8BzEp1DBw/dtFhTqdiTo/aW8=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=hsRRtRI7O+pi4IaSy/c2qGiOwCsgFAiCLHTv0gxNZLU=; b=LZxo3p/U8MAzx3QR5bRjeI+SbCPNfulrpe2Fpca057nYuII8bVZ2fdXA1dRlqBDILg IEhv0J4o8azxHfV6K5BuEAbwhj8gMkrVDTbkfVnasDSlQGEQgAhUR8ml69/jhNFw8mCs 1NgUpZElPSVHL1dyJkDBCPLmT+7Qj/2lq5U8MId8JPdndyWB+f87N+Rx3+W+fcHljyN0 /1LzeFnPjaI4m1fW99wb2I/lphL5jKNC6uBnyerdrRxcMgujG61brMo+HiYqUF1mcQRx kGw/LYpS8xAO5TaOyRRzkJl0pDJf230xsVma/jfuvy4m+EW9pH5EnhyfmrbMSqJnsjHL hSIg==
X-Gm-Message-State ALoCoQnsrLl1DXWSw7CnCKMdHd74Nl6GJVNLF9TshbjZkKPRGEM23oSNM/JJUyXMVeOLpaFActmI
X-Received by 10.107.47.219 with SMTP id v88mr11147277iov.134.1444339206354; Thu, 08 Oct 2015 14:20:06 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/alternative; boundary=001a11c14e92548bf705219e6d50
X-Mailing-List <debian-python@lists.debian.org> archive/latest/12877
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAA0ZO6BSfASm_gsWJjBzzeiCHMLiw4-NTf4xD8PvHG63QTx2mw@mail.gmail.com
Approved robomod@news.nic.it
Lines 59
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 08 Oct 2015 21:19:56 +0000
X-Original-Message-ID <CAA0ZO6BSfASm_gsWJjBzzeiCHMLiw4-NTf4xD8PvHG63QTx2mw@mail.gmail.com>
X-Original-References <20151007211222.GA16055@prune.in.vpac.org> <20151008114344.2592.41864@mitya57.me>
Xref csiph.com linux.debian.maint.python:7567

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu, 8 Oct 2015 at 22:44 Dmitry Shachnev <mitya57@debian.org> wrote:

> Python 3.4 is still the default version in Debian. We can't do the switch
> at once, so the transition is split into three steps:
>
> 1) Add Python 3.5;
> 2) Make 3.5 the default;
> 3) Remove Python 3.4.
>
> We are currently in the end of first step, AFAIK. And Python 3.4 will
> be removed only when all three steps are finished.
>

Ok, so I guess this means some packages (at the moment) will run tests
against Python 3.5, but some won't.

What is the best way of calling unittest2 from debian/rules? Is the
following - which I suspect won't use Python 3.5 until it becomes the
default - OK, or should I try to do something that iterates over all Python
versions?

 override_dh_auto_test:
    python -m unittest2 discover -v
    python3 -m unittest2 discover -v

(also somebody said "python -m unittest2.discover" however I found that
didn't work)

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-07 23:20 +0200
  Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 08:00 +0200
    Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 08:20 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 13:20 +0200
        Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-08 15:30 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 08:30 +0200
        Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 08:50 +0200
  Re: Python < 3.5 tests Dmitry Shachnev <mitya57@debian.org> - 2015-10-08 13:50 +0200
    Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 22:40 +0200
    Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 23:20 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:50 +0200
        Re: Python < 3.5 tests Robert Collins <robertc@robertcollins.net> - 2015-10-08 23:50 +0200
          Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-09 00:00 +0200
      Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:50 +0200
    Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-08 23:30 +0200
      Re: Python < 3.5 tests Barry Warsaw <barry@debian.org> - 2015-10-09 00:00 +0200
      Re: Python < 3.5 tests Piotr Ożarowski <piotr@debian.org> - 2015-10-09 00:00 +0200
    Re: Python < 3.5 tests Brian May <brian@microcomaustralia.com.au> - 2015-10-08 23:30 +0200

csiph-web