Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] travis.yml: drop python 2.7 (bug 731114)
Date: Mon, 06 Jul 2020 19:05:51
Message-Id: 20200706120534.30a7b095@storm
In Reply to: [gentoo-portage-dev] [PATCH] travis.yml: drop python 2.7 (bug 731114) by Zac Medico
1 On Mon, 6 Jul 2020 11:42:06 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > It should be pretty safe to drop support for python2.7 at this point.
5 >
6 > Bug: https://bugs.gentoo.org/731114
7 > Signed-off-by: Zac Medico <zmedico@g.o>
8 > ---
9 > .travis.yml | 1 -
10 > tox.ini | 6 ++----
11 > 2 files changed, 2 insertions(+), 5 deletions(-)
12 >
13 > diff --git a/.travis.yml b/.travis.yml
14 > index 2132c8c87..d2935fdab 100644
15 > --- a/.travis.yml
16 > +++ b/.travis.yml
17 > @@ -1,7 +1,6 @@
18 > dist: bionic
19 > language: python
20 > python:
21 > - - 2.7
22 > - 3.6
23 > - 3.7
24 > - 3.8
25 > diff --git a/tox.ini b/tox.ini
26 > index 79b5b45cb..050a2c455 100644
27 > --- a/tox.ini
28 > +++ b/tox.ini
29 > @@ -1,14 +1,12 @@
30 > [tox]
31 > -envlist = py27,py36,py37,py38,py39,pypy3
32 > +envlist = py36,py37,py38,py39,pypy3
33 > skipsdist = True
34 >
35 > [testenv]
36 > deps =
37 > pygost
38 > pyyaml
39 > - py27,py36,py37,py38,py39,pypy3: lxml!=4.2.0
40 > - py27: pyblake2
41 > - py27: pysha3
42 > + py36,py37,py38,py39,pypy3: lxml!=4.2.0
43 > setenv =
44 > PYTHONPATH={toxinidir}/lib
45 > commands =
46
47 Go for it!