1 |
On Tuesday, 29 December 2020 22:55:03 GMT Neil Bothwick wrote: |
2 |
> On Tue, 29 Dec 2020 23:16:11 +0100, n952162 wrote: |
3 |
> > > So, I tried to do an emerge on @system. I got another slot conflict! |
4 |
> > > This time for mako, which I'd seen go by sometimes as a "package of |
5 |
> > > interest". It's only transgression: PYTHON_TARGET containing |
6 |
> > > python3_7. |
7 |
> > |
8 |
> > Note that both the "scheduled for merge" depender and the "installed" |
9 |
> > depender both required the same version of mako, 1.1.1-r1. The only |
10 |
> > difference is the fact that one requirements specification has |
11 |
> > python3-7, the other python3-8. The same pkg, the same binaries. |
12 |
> > Something is wrong here. Why is it not good enough to specify python3? |
13 |
> |
14 |
> PYTHON_TARGET determines for which version(s) of Python a package |
15 |
> installs its modules. The modules may be identical, but 3.7 and 3.8 have |
16 |
> different search paths, e.g. /usr/lib/python3.7/site-packages vs. |
17 |
> /usr/lib/python3.8/site-packages. |
18 |
> |
19 |
> It is possible you have some old python_targets settings in package.use, |
20 |
> that's where I would check first. |
21 |
|
22 |
As discussed recently, removing any manually configured python targets and |
23 |
letting portage work its magic, rather than fighting against it, is usually a |
24 |
sound way to get out of such a muddle. |
25 |
|
26 |
I sync'ed portage a few hours ago today. Neither mako, nor setuptools require |
27 |
anything other than python3_8 on this system: |
28 |
|
29 |
$ eix -l setuptools |
30 |
[I] dev-python/setuptools |
31 |
Available versions: |
32 |
46.4.0-r3 ^t [test PYTHON_TARGETS="pypy3 python2_7 |
33 |
python3_6 python3_7 python3_8 python3_9"] ["|| ( python_targets_pypy3 |
34 |
python_targets_python2_7 python_targets_python3_6 python_targets_python3_7 |
35 |
python_targets_python3_8 python_targets_python3_9 )"] |
36 |
50.3.0 ^t [test PYTHON_TARGETS="pypy3 python3_6 |
37 |
python3_7 python3_8 python3_9"] ["|| ( python_targets_pypy3 |
38 |
python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 |
39 |
python_targets_python3_9 )"] |
40 |
~ 51.0.0 ^t [test PYTHON_TARGETS="pypy3 python3_6 |
41 |
python3_7 python3_8 python3_9"] ["|| ( python_targets_pypy3 |
42 |
python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 |
43 |
python_targets_python3_9 )"] |
44 |
~ 51.1.0 ^t [test PYTHON_TARGETS="pypy3 python3_6 |
45 |
python3_7 python3_8 python3_9"] ["|| ( python_targets_pypy3 |
46 |
python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 |
47 |
python_targets_python3_9 )"] |
48 |
Installed versions: 50.3.0^t(12:47:38 05/12/20)(-test |
49 |
PYTHON_TARGETS="python3_8 -pypy3 -python3_6 -python3_7 -python3_9") |
50 |
Homepage: https://github.com/pypa/setuptools https://pypi.org/ |
51 |
project/setuptools/ |
52 |
Description: Collection of extensions to Distutils |
53 |
|
54 |
|
55 |
$ eix -l mako |
56 |
[I] dev-python/mako |
57 |
Available versions: |
58 |
1.1.3-r1 ^t [doc test PYTHON_TARGETS="pypy3 python3_6 |
59 |
python3_7 python3_8 python3_9"] ["|| ( python_targets_pypy3 |
60 |
python_targets_python3_6 python_targets_python3_7 python_targets_python3_8 |
61 |
python_targets_python3_9 )"] |
62 |
Installed versions: 1.1.3-r1^t(13:09:34 05/12/20)(-doc -test |
63 |
PYTHON_TARGETS="python3_8 -pypy3 -python3_6 -python3_7 -python3_9") |
64 |
Homepage: https://www.makotemplates.org/ https://pypi.org/ |
65 |
project/Mako/ |
66 |
Description: A Python templating language |
67 |
|
68 |
I expect in a few weeks the tree will settle on python3_9, so all this rinse |
69 |
and repeat exercise with all the python updates should hopefully go quiet. :-) |