1 |
On Mon, Jan 13, 2020 at 12:17:36AM +0100, David Seifert wrote: |
2 |
> On Sun, 2020-01-12 at 17:55 -0500, Joshua Kinard wrote: |
3 |
> > On 1/12/2020 17:46, David Seifert wrote: |
4 |
> > > On Sun, 2020-01-12 at 17:43 -0500, Joshua Kinard wrote: |
5 |
> > > > On 1/12/2020 17:32, Andreas Sturmlechner wrote: |
6 |
> > > > > On Sonntag, 12. Januar 2020 23:07:24 CET Joshua Kinard wrote: |
7 |
> > > > > > It might be worthwhile to treat the removal of Python-2.7 |
8 |
> > > > > > from |
9 |
> > > > > > the tree in |
10 |
> > > > > > the same manner as an EAPI deprecation and removal, given how |
11 |
> > > > > > ingrained it |
12 |
> > > > > > is due to its longevity. That will minimize the whiplash- |
13 |
> > > > > > effect |
14 |
> > > > > > of emerge |
15 |
> > > > > > complaining about slot conflicts and dependency |
16 |
> > > > > > conflicts. Like |
17 |
> > > > > > I just ran |
18 |
> > > > > > into w/ setuptools-45.0.0.0's release. |
19 |
> > > > > |
20 |
> > > > > So, no packaging of >=setuptools-45.0.0 until the end of 2020? |
21 |
> > > > > Do |
22 |
> > > > > you want to |
23 |
> > > > > freeze all python libs that upstreams are dropping py27 support |
24 |
> > > > > from? |
25 |
> > > > > |
26 |
> > > > |
27 |
> > > > Not saying not to package it. Right now, the issue seems to be |
28 |
> > > > it |
29 |
> > > > causes |
30 |
> > > > dependency conflicts in emerge's depgraph parsing when |
31 |
> > > > PYTHON_TARGETS |
32 |
> > > > includes python2_7 support. Remove that and stick with python3_* |
33 |
> > > > only, then |
34 |
> > > > other packages that need python2_7 will whine. |
35 |
> > > > |
36 |
> > > > Did setuptools-45.0.0 remove all python2 support? I looked at |
37 |
> > > > the |
38 |
> > > > commit |
39 |
> > > > log, and it's only the title that any meaningful hint that it may |
40 |
> > > > have, |
41 |
> > > > "dev-python/setuptools: Bump to 45.0.0 (py3 only)". If it did, |
42 |
> > > > then |
43 |
> > > > that |
44 |
> > > > change is the right change, but anyone with a userland that has a |
45 |
> > > > mix |
46 |
> > > > of |
47 |
> > > > python2 and python3 is going to have difficulty getting that |
48 |
> > > > update |
49 |
> > > > to merge |
50 |
> > > > in, so I really can't go higher than setuptools-44.0.0 for the |
51 |
> > > > time |
52 |
> > > > being. |
53 |
> > > > |
54 |
> > > |
55 |
> > > https://setuptools.readthedocs.io/en/latest/history.html#v45-0-0 |
56 |
> > |
57 |
> > At least you didn't squirrel that behind a lmgtfy link </smirk> |
58 |
> > |
59 |
> > In any event, it's clear the tree does not seem set up real well to |
60 |
> > handle |
61 |
> > the random removal or deprecation of python2 support. And |
62 |
> > considering |
63 |
> > python2.7 isn't dead //yet//, I have to question the wisdom of |
64 |
> > removing |
65 |
> > packages that still support 2.7, and also wonder if there's a way to |
66 |
> > be more |
67 |
> > graceful in handling updates to packages whose upstream decides to |
68 |
> > remove |
69 |
> > python2 support. |
70 |
> > |
71 |
> > Or we can just continue down the current Mad Max methodology and |
72 |
> > leave it to |
73 |
> > every developer for themselves. |
74 |
> > |
75 |
> |
76 |
> Or - you know - you could help? Talk is cheap, gracefully removing py2 |
77 |
> from the tree is the hard part. A quick grep tells me we have 4388 |
78 |
> ebuilds in the tree with python_targets_python2_7 in IUSE. Have fun |
79 |
> devising a plan (and then doing the actual work). Pro-tip: "Don't |
80 |
> remove py2" is not an actual plan when many important core dependencies |
81 |
> have started removing py2 already. |
82 |
|
83 |
Joshua and all, I am not on the python team either, but I want to drop |
84 |
this link here for reference in case you haven't seen it. |
85 |
|
86 |
https://python3statement.org |
87 |
|
88 |
tl;dr: python 2.7 was actually deprecated in 2015 with support extended |
89 |
to 2020-01-01 so folks would have time to transition off of it. All of |
90 |
the upstreams on that list will be dropping support for python 2.7 this |
91 |
year if they haven't already done so. |
92 |
|
93 |
Given that, I think it is going to be extremely difficult to keep py 2.7 |
94 |
in the main tree. |
95 |
|
96 |
William |