public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision
Date: Sat, 19 Dec 2020 15:54:50 +0000	[thread overview]
Message-ID: <20201219155450.00df95ff@digimed.co.uk> (raw)
In-Reply-To: <1ecc2885-173e-0cf9-3c78-becd87cf3e24@web.de>

[-- Attachment #1: Type: text/plain, Size: 2306 bytes --]

On Sat, 19 Dec 2020 15:11:34 +0100, n952162 wrote:

> >> I don't think this output or any list participant has actually
> >> identified where the problem here is.  In my original posting, the
> >> only difference causing the slot collision for jinja was that one
> >> had a PYTHON_TARGETS of 3-7 and the other of 3-8.  I asked how to
> >> force it to the correct value, but if someone explained that to me,
> >> I didn't understand it.  
> > You have specified manually a number of python versions, you
> > shouldn't have.  
> 
> 
> Are you saying that long lists like this:
> 
> *"python3_8 python3_9 (-pypy3) -python3_6 -python3_7*"
> 
> are relics from improper or obsolete invocations made be me?
> 
> If so, how can I get rid of them?

grep -ir python /etc/portage/package.use

You shouldn't really have many, if any, specific settings for
python_target. Comment out any you see and try again.

> > 2. Clean your world file from any and all dependencies, libraries and
> > packages you do not want to have explicitly installed.  
> 
> 
> Yes, I receive that advice a lot.  If I were to follow it aggressively,
> there would only be a handful of files in my world file.  Will that
> work?

Absolutely. Remove anything you don't explicitly need then run depclean.
If something shows in the list that you want to keep, add it back with
emerge -n.
 


> I update the /etc/portage/package.use files by hand, so I get a feeling
> for how it works.  Can it be that etc-update is a "smart system" that
> does more than just that?

Yes, read the docs, it merges the old and new configs. I prefer to use
conf-update but all the config managers do much the same thing.

> >> /Is there  a fundamental goals issue here, when there's so much
> >> incompatibility between python3_{6,7,8,9}?  Do  packages really need
> >> to care?  Are these versions so fundamentally different from each
> >> other, and programmers rely on those differences?  Or, is this
> >> somebody's orderliness tic?/

It's also about where python modules are installed, but the main problem
here appears to be that you are depending on obsolete and deprecated
versions of python.


-- 
Neil Bothwick

What do you do when you see an endangered animal eating an endangered
plant?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-12-19 15:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 10:24 [gentoo-user] override PYTHON_TARGETS to avoid a slot collision n952162
2020-12-16 10:34 ` Miles Malone
2020-12-16 10:59   ` Arve Barsnes
2020-12-19 10:20     ` n952162
2020-12-19 10:45       ` William Kenworthy
2020-12-19 11:15         ` n952162
2020-12-19 10:56       ` Arve Barsnes
2020-12-19 11:12         ` n952162
2020-12-19 11:35           ` Neil Bothwick
2020-12-19 14:19             ` n952162
2020-12-19 15:49               ` Neil Bothwick
2020-12-19 12:34           ` Arve Barsnes
2020-12-19 11:12       ` bobwxc
2020-12-19 11:33         ` n952162
2020-12-19 11:37           ` Neil Bothwick
2020-12-19 11:51             ` Michael
2020-12-19 12:02               ` Jude DaShiell
2020-12-19 11:35       ` Michael
2020-12-19 14:11         ` n952162
2020-12-19 15:54           ` Neil Bothwick [this message]
2020-12-19 16:13             ` Dale
2020-12-20 13:58       ` Róbert Čerňanský
2020-12-16 11:07   ` n952162
2020-12-16 11:20     ` Miles Malone
2020-12-16 11:22     ` Miles Malone
2020-12-16 12:25       ` Dale
2020-12-19  9:39   ` n952162
2020-12-16 10:56 ` bobwxc

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201219155450.00df95ff@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox