Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7
Date: Fri, 26 Jun 2020 06:43:08
Message-Id: 20200626074257.4bb72e3c@sf
In Reply to: Re: [gentoo-dev] [PATCH] profiles/package.deprecated: deprecate python:2.7 by Sergei Trofimovich
1 On Sat, 20 Jun 2020 16:29:53 +0100
2 Sergei Trofimovich <slyfox@g.o> wrote:
3
4 > On Sat, 20 Jun 2020 16:05:38 +0200
5 > Michał Górny <mgorny@g.o> wrote:
6 >
7 > > On Sat, 2020-06-20 at 14:57 +0100, Sergei Trofimovich wrote:
8 > > > Give maintainers the chance to act and flag packages that pull in python:2.7.
9 > > >
10 > > > Signed-off-by: Sergei Trofimovich <slyfox@g.o>
11 > > > ---
12 > > > profiles/package.deprecated | 4 ++++
13 > > > 1 file changed, 4 insertions(+)
14 > > >
15 > > > diff --git a/profiles/package.deprecated b/profiles/package.deprecated
16 > > > index a756e845f47..bb661571962 100644
17 > > > --- a/profiles/package.deprecated
18 > > > +++ b/profiles/package.deprecated
19 > > > @@ -17,6 +17,10 @@
20 > > >
21 > > > #--- END OF EXAMPLES ---
22 > > >
23 > > > +# Sergei Trofimovich <slyfox@g.o> (2020-06-20)
24 > > > +# Deprecated. Consider poring to python 3 and drop support for python2.
25 > > > +dev-lang/python:2.7
26 > > > +
27 > > > # Sergei Trofimovich <slyfox@g.o> (2020-02-22)
28 > > > # virtual/libstdc++ has only one sys-libs/libstdc++-v3 provider.
29 > > > # Use that instead. Or even better use none of them. It's a
30 > >
31 >
32 > > It will trigger the same for packages that support *only*
33 > > Python 2.7, as well as these that support 2.7 in addition to 3 because
34 > > they have 2.7 deps.
35 >
36 > If we expect actions by developers on both cases I don't see a problem with that.
37
38 Pushed as:
39 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d65d6641cfc0ef7b44df491c390e8c880e3049
40 with full text being:
41
42 +# Sergei Trofimovich <slyfox@g.o> (2020-06-26)
43 +# Deprecated.
44 +# - optional python:2.7 dependency should be dropped if no reverse
45 +# dependencies are using it.
46 +# - mandatory python:2.7 depepndency will require package porting
47 +# or package removal if no reverse dependencies are using it.
48 +dev-lang/python:2.7
49
50 --
51
52 Sergei

Replies