Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #7567
| From | Brian May <brian@microcomaustralia.com.au> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python < 3.5 tests |
| Date | 2015-10-08 23:30 +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> |
| Organization | linux.* mail to news gateway |
[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 | Next — Previous in thread | Find similar
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