1 |
On Mon, 2020-03-23 at 14:26 -0500, William Hubbs wrote: |
2 |
> On Mon, Mar 23, 2020 at 08:19:20PM +0100, Michał Górny wrote: |
3 |
> > On Mon, 2020-03-23 at 13:23 -0500, William Hubbs wrote: |
4 |
> > > Hey all, |
5 |
> > > |
6 |
> > > it has been brought to my attention that there have been several |
7 |
> > > backward-incompatible changes made to the python eclasses lately. |
8 |
> > |
9 |
> > Does 'several' in this case mean more than one? Please correct me if |
10 |
> > I'm mistaken but the only change I can think of were the changes |
11 |
> > in python-single-r1. |
12 |
> > |
13 |
> > > It is true that everything in ::gentoo has been fixed along with the |
14 |
> > > changes to the eclasses; however, when a change like this goes into a |
15 |
> > > widely used eclass it breaks overlays with little to no notice; |
16 |
> > > especially since we do not require developers to be subscribed to this |
17 |
> > > mailing list. |
18 |
> > > |
19 |
> > > I do agree that overlay authors are on their own to fix things, but we need to |
20 |
> > > find a way to notify them when a breaking change is going into a widely |
21 |
> > > used eclass and give them time to adjust their ebuilds. |
22 |
> > > |
23 |
> > > If the old way of doing things cannot be supported |
24 |
> > > along side the new way the correct path forward is a new version of the |
25 |
> > > eclass then a lastrites on the old version. That would give overlay |
26 |
> > > authors time to switch to the new eclass. |
27 |
> > > |
28 |
> > > If the old and new way can be supported in the same code base, a |
29 |
> > > reasonable way forward is to allow both ways to exist while ::gentoo is |
30 |
> > > migrated to the new code path then do the equivalent of a lastrites for |
31 |
> > > the old code path so overlay authors can adjust their ebuilds. |
32 |
> > > |
33 |
> > |
34 |
> > The lesson was learned. If a similar change would be necessary |
35 |
> > in the future, I will bump the eclass instead. I don't understand why |
36 |
> > you bring that today. |
37 |
> |
38 |
> The change that blew us up today was |
39 |
> |
40 |
> https://archives.gentoo.org/gentoo-dev/message/aa45f4f86f9b865eb0fe7344d83a7258 |
41 |
|
42 |
I'm not sure if you're referring to that specific patch or the whole |
43 |
thread. Because I don't see how that patch could break anything. It's |
44 |
switching between two methods of getting scriptdir that were added |
45 |
simultaneously. |
46 |
|
47 |
> and this is the reason I brought it to the ml. |
48 |
> |
49 |
> The previous change that blew us up was |
50 |
> |
51 |
> https://archives.gentoo.org/gentoo-dev/message/4bf9f0250115c57779f93817356df871 |
52 |
|
53 |
I don't understand how that could break anything either. Before |
54 |
the change, '${PYTHON_USEDEP}' wasn't valid (anymore) in dep strings, |
55 |
so I don't see how anything could be more broken after the change. |
56 |
In any case, there could be a little chance it could *fix* some old |
57 |
ebuilds that just happened to use the right combination. |
58 |
|
59 |
-- |
60 |
Best regards, |
61 |
Michał Górny |