View previous topic :: View next topic |
Author |
Message |
vovan47 n00b
Joined: 21 Nov 2018 Posts: 41
|
Posted: Wed Jan 20, 2021 5:32 am Post subject: [SOLVED] app-eselect/eselect-python to be unmerged? |
|
|
Somehow depclean tries to remove eselect-python:
Code: | >>> These are the packages that would be unmerged:
app-eselect/eselect-python
selected: 20200719
protected: none
omitted: none
|
even though I still have multiple pythons installed on my system
Code: | # equery list python
* Searching for python ...
[IP-] [ ] dev-lang/python-2.7.18-r5:2.7
[IP-] [ ] dev-lang/python-3.8.7-r1:3.8
[IP-] [ ] dev-lang/python-3.9.0-r1:3.9
|
could somebody explain that?
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Last edited by vovan47 on Wed Jan 20, 2021 6:19 am; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Wed Jan 20, 2021 6:00 am Post subject: |
|
|
Same behaviour here, probably related to this commit
Code: | commit 23a273f32c5d22319c4e19250d46e8036aeefd0e
Author: Michał Górny <mgorny@gentoo.org>
Date: Tue Jan 19 12:34:42 2021 +0100
dev-lang/python: Remove eselect-python bits
Now that python-exec.conf is generated from PYTHON_TARGETS, there should
be no real reason to call 'eselect python' to update the config.
Signed-off-by: Michał Górny <mgorny@gentoo.org> |
So if you need to select python for your script add package in world file _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2884
|
Posted: Wed Jan 20, 2021 6:26 am Post subject: |
|
|
Yeah formerly it'd use eselect to setup configuration but now it can be done without it, so it's no longer a dependency. Keep if you want but if you generally don't care then you don't need to bother with this.
python-exec configuration will be part of normal updates now (through python-exec-conf currently only in ~testing), like if a python target is removed/added it'll ask you to run dispatch-conf/etc-update like anything else.
This will prevent things like "missing impl" from happening without eselect python cleanup (after config update), or a python that's not in TARGETS being automatically be made default (while not an issue for portage-installed things, it can be annoying for anything else). |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Wed Jan 20, 2021 6:53 pm Post subject: |
|
|
Why no news item, no related elog message? I'm going to keep it for now. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2884
|
Posted: Wed Jan 20, 2021 7:07 pm Post subject: |
|
|
figueroa wrote: | Why no news item, no related elog message? I'm going to keep it for now. | Because it's an insignificant wrapper to edit a single ordinary text file that most people didn't need to use in the first place.
But you can keep it if you want and it still works like before (I am not aware of any plans to remove it either), the only difference is that ebuilds don't use it anymore so they don't depend on it. If you have no particular preference regarding python then it's further useless (not that you can't edit the text file yourself). |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20521
|
Posted: Thu Jan 21, 2021 2:29 am Post subject: |
|
|
Ionen wrote: | figueroa wrote: | Why no news item, no related elog message? I'm going to keep it for now. | Because it's an insignificant wrapper to edit a single ordinary text file that most people didn't need to use in the first place.
But you can keep it if you want and it still works like before (I am not aware of any plans to remove it either), the only difference is that ebuilds don't use it anymore so they don't depend on it. If you have no particular preference regarding python then it's further useless (not that you can't edit the text file yourself). | And that would have been nice to read in a news item, rather than causing people unnecessary concern about something that seemed important suddenly disappearing. Which is amplified because it involves python, which is a critical system component. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Allan Wegan n00b
Joined: 06 Apr 2012 Posts: 23
|
Posted: Thu Jan 21, 2021 5:03 am Post subject: |
|
|
I too assumed a bug until i found this thread.
+1 for creating news items for changes looking like bugs. |
|
Back to top |
|
|
vovan47 n00b
Joined: 21 Nov 2018 Posts: 41
|
Posted: Thu Jan 21, 2021 6:17 am Post subject: |
|
|
Ionen wrote: | insignificant wrapper |
How dare you? I loved it like my child. Every time I was messing with python versions/use flags in the past I had to use it. For 2 or 3 damn years, as long as I'm using Gentoo.
And that "eselect python cleanup" command which did some good stuff?
And now some merciless code warrior aka "Michał Górny" got it removed with a single commit, just like a single dagger swing could end somebody's life.
And some other people call it "insignificant".
However, I'm not going to add it to my world file, because I don't want to pollute it |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Thu Jan 21, 2021 6:27 am Post subject: |
|
|
pjp wrote: | And that would have been nice to read in a news item, rather than causing people unnecessary concern about something that seemed important suddenly disappearing. Which is amplified because it involves python, which is a critical system component. |
I can also understand not wanting to announce every change leading to exploding news list and another possibility would be to open a thread on the News & Announcements forum, but since most developers snub the forums... _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22856
|
Posted: Thu Jan 21, 2021 4:28 pm Post subject: |
|
|
News&Announcements is a restricted forum. It could have been helpful to have someone post a well-titled warning thread in P&P, then Report it with a reason of "Please sticky this for N days, because we expect users will need it." |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Thu Jan 21, 2021 5:33 pm Post subject: |
|
|
I know but if the developers sent an email to someone in the forum you could also put them there.
In my opinion it would be more visible in News&Announcements _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22856
|
Posted: Thu Jan 21, 2021 5:51 pm Post subject: |
|
|
True. Also, moderators can move threads anywhere, including into forums where the original poster could not have opened a thread initially. A developer could post the announcement in an open forum, and Report it to have it moved to N&A. I think this would also enable the developer to edit the post after it was moved to N&A, since it would still be owned to the developer's forum account, rather than being owned by whichever moderator handled the e-mail. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31349 Location: here
|
Posted: Thu Jan 21, 2021 6:11 pm Post subject: |
|
|
Do you think it should be posted as a proposal in some mailing list? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20521
|
Posted: Thu Jan 21, 2021 6:50 pm Post subject: |
|
|
fedeliallalinea wrote: | I can also understand not wanting to announce every change leading to exploding news list and another possibility would be to open a thread on the News & Announcements forum, but since most developers snub the forums... | I see 15 items: 1 @ 2016, 2 @ 2017, 5 @ 2018, 2 @ 2019, 4 @ 2020, 1 @ 2021. I don't know how many were removed, but I only recall a small number of issues on the forums that ought to have been on the list. I guess one solution would be to create a test environment. I'd suggest a VM, but I've never been able to get decent performance out of KVM / QEMU. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2884
|
Posted: Thu Jan 21, 2021 7:10 pm Post subject: |
|
|
Worry not, it's (temporarily) coming back(!) not that it's actually doing anything given the ebuilds still don't use it (that code wasn't restored), but well it's the thought that counts.
I imagine it'll wait until python-exec-conf is stable. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Fri Jan 22, 2021 3:36 am Post subject: |
|
|
I don't think a post in N&A would be compatible with how it is used. Ideally, an elog regarding the change AND a post (like this one) in P&P would inform users who bothered to looked. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Fri Jan 22, 2021 10:06 pm Post subject: |
|
|
The dead live longer!
Code: | [ebuild N ] app-eselect/eselect-python-20200719::gentoo 0 KiB |
|
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Sat Jan 23, 2021 4:49 am Post subject: |
|
|
Removed eselect-python from world. No issues. Confirmed that it won't depclean. "equery -d eselect-python" shows that it is required package again. _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
dmpogo Advocate
Joined: 02 Sep 2004 Posts: 3458 Location: Canada
|
Posted: Sat Jan 23, 2021 6:10 am Post subject: |
|
|
figueroa wrote: | Removed eselect-python from world. No issues. Confirmed that it won't depclean. "equery -d eselect-python" shows that it is required package again. |
Yep, it came back from the dead as dependency |
|
Back to top |
|
|
solamour l33t
Joined: 21 Dec 2004 Posts: 726 Location: San Diego, CA
|
Posted: Sat Dec 03, 2022 4:51 am Post subject: |
|
|
If I do a fresh install now, would "eselect-python" be installed by default? I'm debating whether I want it or not when I want to keep my system as barest bone as it can be.
__
sol |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Sat Dec 03, 2022 5:24 am Post subject: |
|
|
eselect-python as a dependency is old news. It isn't:
Code: | $ emerge -cpv eselect-python
Calculating dependencies... done!
>>> Calculating removal order...
>>> These are the packages that would be unmerged:
app-eselect/eselect-python
selected: 20200719
protected: none
omitted: none
All selected packages: =app-eselect/eselect-python-20200719
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Packages installed: 1291
Packages in world: 245
Packages in system: 43
Required packages: 1290
Number to remove: 1
|
I have it in /var/lib/portage/world because I want it. It's informative to run:
Code: | $ eselect python list
Available Python interpreters, in order of preference:
[1] python3.10
[2] python3.11 (fallback) |
And, it's tiny. It's footprint is 12K.
Code: | $ du -h /usr/share/eselect/modules/python.eselect
12K /usr/share/eselect/modules/python.eselect |
_________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
|