Gentoo Archives: gentoo-dev

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

Replies