Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"I've seen it. It's rubbish." -- Marvin the Paranoid Android


devel / comp.lang.python / pip/pip3 confusion and keeping up to date

SubjectAuthor
* pip/pip3 confusion and keeping up to dateChris Green
+* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
|`* Re: pip/pip3 confusion and keeping up to dateChris Green
| `* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
|  +- Re: pip/pip3 confusion and keeping up to dateChris Green
|  +* Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  |`* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
|  | `* Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  |  `* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
|  |   `- Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  +- Re: pip/pip3 confusion and keeping up to dateDieter Maurer
|  +- Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  +- Re: pip/pip3 confusion and keeping up to dateDieter Maurer
|  +- Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  +- Re: pip/pip3 confusion and keeping up to dateMats Wichmann
|  +- Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
|  +- Re: pip/pip3 confusion and keeping up to dateThomas Passin
|  `- Aw: Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
+* Re: pip/pip3 confusion and keeping up to dateDieter Maurer
|`* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
| `* Re: pip/pip3 confusion and keeping up to dateChris Green
|  `- Re: pip/pip3 confusion and keeping up to dateJon Ribbens
+- Re: pip/pip3 confusion and keeping up to dateMats Wichmann
`* Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert
 `* Re: pip/pip3 confusion and keeping up to dateJon Ribbens
  `* Re: pip/pip3 confusion and keeping up to dateChris Green
   +- Re: pip/pip3 confusion and keeping up to dateJon Ribbens
   `- Re: pip/pip3 confusion and keeping up to dateKarsten Hilbert

Pages:12
pip/pip3 confusion and keeping up to date

<oubc1k-3o6f.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24306&group=comp.lang.python#24306

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.samoylyk.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 10:58:00 +0000
Lines: 18
Message-ID: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net EQegQ7uCcSGaIDy1+s9GPQ+Qu+URyU1h+FSO678WpQZNBuVR4=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:WLGgrLBF7TqQ0vkidKokPki/dJo= sha256:OXbJsIHpjy6v5ihU72n8PxrgL5LEP3vz9HgBhfrqQGM=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-86-generic (x86_64))
 by: Chris Green - Thu, 2 Nov 2023 10:58 UTC

I have a couple of systems which used to have python2 as well as
python3 but as Ubuntu and Debian verions have moved on they have
finally eliminated all dependencies on python2.

So they now have only python3 and there is no python executable in
PATH.

There's still both /usr/bin/pip and /usr/bin/pip3 but they're
identical so presuably I can now simply use pip and it will be a
python3 pip.

So, going on from this, how do I do the equivalent of "apt update; apt
upgrade" for my globally installed pip packages?

--
Chris Green
·

Re: pip/pip3 confusion and keeping up to date

<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24313&group=comp.lang.python#24313

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 14:55:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
Injection-Date: Thu, 2 Nov 2023 14:55:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3a36a2147de4923162ca047d447245e2";
logging-data="2372190"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YcTi2qxQURZIMHm+CW/VSVg0auN9FeSU="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:aO/MHlvfqA/hWEQuxxOhR5FJHL8=
 by: Jon Ribbens - Thu, 2 Nov 2023 14:55 UTC

On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> I have a couple of systems which used to have python2 as well as
> python3 but as Ubuntu and Debian verions have moved on they have
> finally eliminated all dependencies on python2.
>
> So they now have only python3 and there is no python executable in
> PATH.
>
> There's still both /usr/bin/pip and /usr/bin/pip3 but they're
> identical so presuably I can now simply use pip and it will be a
> python3 pip.
>
>
> So, going on from this, how do I do the equivalent of "apt update; apt
> upgrade" for my globally installed pip packages?

I'm not sure what that question has to do with everything that preceded
it, but you don't want to install python packages globally using pip.
Either install them with 'apt', or install them in a virtual environment.

Re: pip/pip3 confusion and keeping up to date

<mailman.134.1698941900.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24314&group=comp.lang.python#24314

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: die...@handshake.de (Dieter Maurer)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 17:18:09 +0100
Lines: 21
Message-ID: <mailman.134.1698941900.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<25923.52161.918925.512734@ixdm.fritz.box>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de mbhu6+3RMbypSipPJHinJQIvqP+yxGhQ5jQ1w0vpYT8g==
Cancel-Lock: sha1:ijP+FNkfviZooIwEFYgp44SpJKE= sha256:mXsAeZJKnZPX3wlENfJJIXq8575SssdRphkUCy7fQbU=
Return-Path: <dieter@handshake.de>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.036
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'pip': 0.04; 'tests': 0.07;
'cc:addr:python-list': 0.09; 'though.': 0.09; 'upgrading': 0.09;
'cc:no real name:2**0': 0.14; 'incompatible': 0.16; 'installed.':
0.16; 'packages.': 0.16; 'risk.': 0.16; 'subject:pip': 0.16;
'cc:addr:python.org': 0.20; 'version': 0.23; 'install': 0.23;
'installed': 0.23; 'received:de': 0.23; 'cc:2**0': 0.25; 'chris':
0.28; 'packages': 0.31; 'think': 0.32; 'there': 0.33; 'someone':
0.34; 'package': 0.34; 'header:In-Reply-To:1': 0.34; 'this,':
0.39; 'list': 0.39; 'break': 0.39; 'wrote': 0.39; 'consistent':
0.40; 'want': 0.40; 'tell': 0.60; 'representing': 0.64; 'upgrade':
0.64; 'header:Received:6': 0.67; 'low': 0.74; 'sources': 0.75;
'poses': 0.84; 'received:88': 0.84; 'upgrades': 0.84; 'green':
0.96
In-Reply-To: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
X-Mailer: VM 8.0.12-devo-585 under 21.4 (patch 24) "Standard C" XEmacs Lucid
(x86_64-linux-gnu)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <25923.52161.918925.512734@ixdm.fritz.box>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
 by: Dieter Maurer - Thu, 2 Nov 2023 16:18 UTC

Chris Green wrote at 2023-11-2 10:58 +0000:
> ...
>So, going on from this, how do I do the equivalent of "apt update; apt
>upgrade" for my globally installed pip packages?

`pip list -o` will tell you for which packages there are upgrades
available.
`pip install -U ...` will upgrade packages.

Be careful, though.
With `apt`, you usually have (`apt`) sources representing a consistent
package universe. Someone tests that package upgrades in this
universe do not break other packages (in this universe).
Because of this, upgrading poses low risk.

`PyPI` does not guarantes consistency. A new package version
may be incompatible to a previous one -- and with other
package you have installed.

I do not think that you would want to auto-upgrade all installed
packages.

Re: pip/pip3 confusion and keeping up to date

<slrnuk7jug.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24315&group=comp.lang.python#24315

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 16:35:28 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <slrnuk7jug.73m.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<25923.52161.918925.512734@ixdm.fritz.box>
<mailman.134.1698941900.3828.python-list@python.org>
Injection-Date: Thu, 2 Nov 2023 16:35:28 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3a36a2147de4923162ca047d447245e2";
logging-data="2423301"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/2iwUNyt2g23Q4iUPWVMlEpkUkYbrKfA="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:O7QNVnKO3TcWvfp+sksLj9ve54A=
 by: Jon Ribbens - Thu, 2 Nov 2023 16:35 UTC

On 2023-11-02, Dieter Maurer <dieter@handshake.de> wrote:
> Chris Green wrote at 2023-11-2 10:58 +0000:
>> ...
>>So, going on from this, how do I do the equivalent of "apt update; apt
>>upgrade" for my globally installed pip packages?
>
> `pip list -o` will tell you for which packages there are upgrades
> available.
> `pip install -U ...` will upgrade packages.
>
> Be careful, though.
> With `apt`, you usually have (`apt`) sources representing a consistent
> package universe. Someone tests that package upgrades in this
> universe do not break other packages (in this universe).
> Because of this, upgrading poses low risk.
>
> `PyPI` does not guarantes consistency. A new package version
> may be incompatible to a previous one -- and with other
> package you have installed.
>
> I do not think that you would want to auto-upgrade all installed
> packages.

Indeed. What you're describing is a very unfortunate failing of pip.
'Upgrade' doesn't even follow requirements when you tell it what to
upgrade - e.g. if you do "pip install foo" and foo requires "bar<2"
so you end up with:

Package Version
---------------------- ---------
foo 1.0.0
bar 1.2.0

and then a new version 1.3.0 of bar comes out and you do
"pip install -U foo", pip will not upgrade bar even though it could
and should, because foo is already at the latest version so pip won't
even look at its dependencies.

Indeed there is no way of knowing that you should upgrade bar without
manually following all the dependency graphs. ("pip list -o" will tell
you there's a newer version, but that isn't the same - e.g. if the new
version of bar was 2.0.0 then "pip list -o" will list it, but you should
not upgrade to it.)

You can do "pip install -I foo", which will pointlessly reinstall foo
and then presumably upgrade bar as well, thus probably getting to the
right result via a rather roundabout route, but I'm not sure if that
does indeed work properly and if it is a reliable and recommended way
of doing things.

Re: pip/pip3 confusion and keeping up to date

<17gd1k-866j.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24319&group=comp.lang.python#24319

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 21:16:49 +0000
Lines: 30
Message-ID: <17gd1k-866j.ln1@esprimo.zbmc.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu> <slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net RfGyYjelA8CiuwOxuiVXEw9/UDxWfthUwdiXqs5NjyKK/i1rY=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:aeihTLb9hz+JB8SkZw34FAElUnU= sha256:5/EqS8qk1u8P+jmaOidrOsJKdjo2tLbkQqvvm4l+dvk=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-86-generic (x86_64))
 by: Chris Green - Thu, 2 Nov 2023 21:16 UTC

Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
> On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> > I have a couple of systems which used to have python2 as well as
> > python3 but as Ubuntu and Debian verions have moved on they have
> > finally eliminated all dependencies on python2.
> >
> > So they now have only python3 and there is no python executable in
> > PATH.
> >
> > There's still both /usr/bin/pip and /usr/bin/pip3 but they're
> > identical so presuably I can now simply use pip and it will be a
> > python3 pip.
> >
> >
> > So, going on from this, how do I do the equivalent of "apt update; apt
> > upgrade" for my globally installed pip packages?
>
> I'm not sure what that question has to do with everything that preceded
> it, but you don't want to install python packages globally using pip.
> Either install them with 'apt', or install them in a virtual environment.

Why in a virtual environment? When I install a package whether from
apt or from pip I want everyone/everything on my system to be able to
use it.

I do only install a few things using pip.

--
Chris Green
·

Re: pip/pip3 confusion and keeping up to date

<fcgd1k-866j.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24320&group=comp.lang.python#24320

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 21:19:43 +0000
Lines: 55
Message-ID: <fcgd1k-866j.ln1@esprimo.zbmc.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu> <25923.52161.918925.512734@ixdm.fritz.box> <mailman.134.1698941900.3828.python-list@python.org> <slrnuk7jug.73m.jon+usenet@raven.unequivocal.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net B4clx7KE3+5bN3slakog7gLpSh+CzdIQpkr82T9JXGjrmOf4Q=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:V2GtlefLGqdUnWd9q+w+JfHxtyQ= sha256:d9zuV7xW94N7ZoyJTJ2pdRp6uPYnIqpCDa4E8tnYhGo=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-86-generic (x86_64))
 by: Chris Green - Thu, 2 Nov 2023 21:19 UTC

Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
> On 2023-11-02, Dieter Maurer <dieter@handshake.de> wrote:
> > Chris Green wrote at 2023-11-2 10:58 +0000:
> >> ...
> >>So, going on from this, how do I do the equivalent of "apt update; apt
> >>upgrade" for my globally installed pip packages?
> >
> > `pip list -o` will tell you for which packages there are upgrades
> > available.
> > `pip install -U ...` will upgrade packages.
> >
> > Be careful, though.
> > With `apt`, you usually have (`apt`) sources representing a consistent
> > package universe. Someone tests that package upgrades in this
> > universe do not break other packages (in this universe).
> > Because of this, upgrading poses low risk.
> >
> > `PyPI` does not guarantes consistency. A new package version
> > may be incompatible to a previous one -- and with other
> > package you have installed.
> >
> > I do not think that you would want to auto-upgrade all installed
> > packages.
>
> Indeed. What you're describing is a very unfortunate failing of pip.
> 'Upgrade' doesn't even follow requirements when you tell it what to
> upgrade - e.g. if you do "pip install foo" and foo requires "bar<2"
> so you end up with:
>
> Package Version
> ---------------------- ---------
> foo 1.0.0
> bar 1.2.0
>
> and then a new version 1.3.0 of bar comes out and you do
> "pip install -U foo", pip will not upgrade bar even though it could
> and should, because foo is already at the latest version so pip won't
> even look at its dependencies.
>
> Indeed there is no way of knowing that you should upgrade bar without
> manually following all the dependency graphs. ("pip list -o" will tell
> you there's a newer version, but that isn't the same - e.g. if the new
> version of bar was 2.0.0 then "pip list -o" will list it, but you should
> not upgrade to it.)
>
> You can do "pip install -I foo", which will pointlessly reinstall foo
> and then presumably upgrade bar as well, thus probably getting to the
> right result via a rather roundabout route, but I'm not sure if that
> does indeed work properly and if it is a reliable and recommended way
> of doing things.

It is a bit of a minefield isn't it. I try to minimise my use of
packages installed using pip for this very reason. Maybe the safest
route would simply be to uninstall everything and then re-install it.
·

Re: pip/pip3 confusion and keeping up to date

<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24321&group=comp.lang.python#24321

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 21:35:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
Injection-Date: Thu, 2 Nov 2023 21:35:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3a36a2147de4923162ca047d447245e2";
logging-data="2535689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aTijxCkKObLQ1WdR/ILhq6lt++3xHVsA="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:f0OizOiXHNZoo9EUpazkSdx1GbU=
 by: Jon Ribbens - Thu, 2 Nov 2023 21:35 UTC

On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
>> On 2023-11-02, Chris Green <cl@isbd.net> wrote:
>> > I have a couple of systems which used to have python2 as well as
>> > python3 but as Ubuntu and Debian verions have moved on they have
>> > finally eliminated all dependencies on python2.
>> >
>> > So they now have only python3 and there is no python executable in
>> > PATH.
>> >
>> > There's still both /usr/bin/pip and /usr/bin/pip3 but they're
>> > identical so presuably I can now simply use pip and it will be a
>> > python3 pip.
>> >
>> >
>> > So, going on from this, how do I do the equivalent of "apt update; apt
>> > upgrade" for my globally installed pip packages?
>>
>> I'm not sure what that question has to do with everything that preceded
>> it, but you don't want to install python packages globally using pip.
>> Either install them with 'apt', or install them in a virtual environment.
>
> Why in a virtual environment? When I install a package whether from
> apt or from pip I want everyone/everything on my system to be able to
> use it.

Because pip barely plays well by itself, let alone with other package
managers at the same time.

> I do only install a few things using pip.

Are they not available in your system's package manager?
I guess you might get away with "sudo -H pip install -U foo"
for a couple of things, if they don't have many dependencies.

Re: pip/pip3 confusion and keeping up to date

<slrnuk85mp.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24322&group=comp.lang.python#24322

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 21:38:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <slrnuk85mp.73m.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<25923.52161.918925.512734@ixdm.fritz.box>
<mailman.134.1698941900.3828.python-list@python.org>
<slrnuk7jug.73m.jon+usenet@raven.unequivocal.eu>
<fcgd1k-866j.ln1@esprimo.zbmc.eu>
Injection-Date: Thu, 2 Nov 2023 21:38:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3a36a2147de4923162ca047d447245e2";
logging-data="2535689"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FVomXs4BF1FQZtOUcSZHvQ7lvoUg1mcY="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:fPoU2051DHLAB5EteskLk87eYGU=
 by: Jon Ribbens - Thu, 2 Nov 2023 21:38 UTC

On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
>> On 2023-11-02, Dieter Maurer <dieter@handshake.de> wrote:
>> > Chris Green wrote at 2023-11-2 10:58 +0000:
>> >> ...
>> >>So, going on from this, how do I do the equivalent of "apt update; apt
>> >>upgrade" for my globally installed pip packages?
>> >
>> > `pip list -o` will tell you for which packages there are upgrades
>> > available.
>> > `pip install -U ...` will upgrade packages.
>> >
>> > Be careful, though.
>> > With `apt`, you usually have (`apt`) sources representing a consistent
>> > package universe. Someone tests that package upgrades in this
>> > universe do not break other packages (in this universe).
>> > Because of this, upgrading poses low risk.
>> >
>> > `PyPI` does not guarantes consistency. A new package version
>> > may be incompatible to a previous one -- and with other
>> > package you have installed.
>> >
>> > I do not think that you would want to auto-upgrade all installed
>> > packages.
>>
>> Indeed. What you're describing is a very unfortunate failing of pip.
>> 'Upgrade' doesn't even follow requirements when you tell it what to
>> upgrade - e.g. if you do "pip install foo" and foo requires "bar<2"
>> so you end up with:
>>
>> Package Version
>> ---------------------- ---------
>> foo 1.0.0
>> bar 1.2.0
>>
>> and then a new version 1.3.0 of bar comes out and you do
>> "pip install -U foo", pip will not upgrade bar even though it could
>> and should, because foo is already at the latest version so pip won't
>> even look at its dependencies.
>>
>> Indeed there is no way of knowing that you should upgrade bar without
>> manually following all the dependency graphs. ("pip list -o" will tell
>> you there's a newer version, but that isn't the same - e.g. if the new
>> version of bar was 2.0.0 then "pip list -o" will list it, but you should
>> not upgrade to it.)
>>
>> You can do "pip install -I foo", which will pointlessly reinstall foo
>> and then presumably upgrade bar as well, thus probably getting to the
>> right result via a rather roundabout route, but I'm not sure if that
>> does indeed work properly and if it is a reliable and recommended way
>> of doing things.
>
> It is a bit of a minefield isn't it. I try to minimise my use of
> packages installed using pip for this very reason. Maybe the safest
> route would simply be to uninstall everything and then re-install it.

That is literally what I do quite often - completely erase the
virtual env and then re-create it from scratch - because it seems
to be the only / easiest way to upgrade the packages to the latest
versions consistent with given dependencies.

Re: pip/pip3 confusion and keeping up to date

<mailman.138.1698962864.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24323&group=comp.lang.python#24323

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Thu, 2 Nov 2023 16:07:33 -0600
Lines: 24
Message-ID: <mailman.138.1698962864.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de RLhb9SrffSI0eyFbZ6zmsAkwhVGkrGUtYEKee7n5zMBg==
Cancel-Lock: sha1:qVaSSiEa1tjMeuhDq0XQr5EGIAw= sha256:w2PFdsCYGNPCn9Q0U8QuWZ/7+6VpVicdC5RyI5JCSe4=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=B/Oe4E2w;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04; '"python"':
0.09; 'debian': 0.09; 'dependencies': 0.09; 'moved': 0.09;
'repositories': 0.09; 'ubuntu': 0.09; 'executable': 0.16; 'odds':
0.16; 'python3': 0.16; 'received:64.147': 0.16; 'subject:pip':
0.16; 'wrote:': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20;
'install': 0.23; 'installed': 0.23; 'stuff': 0.25; 'chris': 0.28;
'header:User-Agent:1': 0.30; 'packages': 0.31; 'carefully': 0.32;
'python-list': 0.32; 'but': 0.32; 'there': 0.33; 'package': 0.34;
'header:In-Reply-To:1': 0.34; 'couple': 0.37; 'received:192.168':
0.37; 'this,': 0.39; 'to.': 0.39; 'still': 0.40; 'case.': 0.40;
'want': 0.40; 'finally': 0.62; 'full': 0.64; 'well': 0.65;
'received:64': 0.67; 'little': 0.73; 'eliminated': 0.84; 'green':
0.96
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=GHXcWCQJaINc
xPXGfpZR03Bt6Ilw5D/lHt4auarhFbU=; b=B/Oe4E2wxE4i0yYHlSSJnMuy8mr9
2VEWxRdzo+1jBVEELr+LTiK/zHCk6eSg9o0DuZ65aT0Z1PXAQxUjvVzXVWDbD9dY
c7e2tCsI3ZkiMTVrDHaRCSL5u1/PFLllZS8K26BKldZzoKIaHQJ4hC1bzB7y2lcL
VxsJkU0tRQ9Qf5A=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=GHXcWCQJaINcxPXGfpZR03Bt6Ilw5D/lHt4auarhFbU=;
b=oEdqpAvhKFxo6QhBzurbkKdqY6XRXcomWINpSszDF41HzOswOHyxGIVYwrRs9hU6yIWh/o72Y/vrrd8NSXyJZJOoBlFXdHVDusjsca1Ub4sEb6BfJ1GF6VsWHJ08EBkY06z4Vd3Zx3y+n6EFhX1cdR+1FKbQfY08wgwhD7PLhpo=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83JOYG+SBEA3P
v7iZx70qpQ3RzP7KrjF1Nm6j0em9ccUX2fPQUCAxXw5Hiq7CSMiwQQZRI6shcnyMh9XTKViT
WK5MrKDyvjDEn7epjKzKwPS5SG039l6XaOKU0A4uGwCgsNqUQqC0gMMcbKlJV8ql58iKmbMD
/ii8FPQrXmyS/FnsPs7UddV5qMHKm7NUH5oiKuMVyakInRyq9iIxuu3D4Ec6mWRKcGsjmIkW
HXCSz0aefs6dsqNqpU54cYioJ3wP5LzHK7oclgJPryVt5Qezbdutf8SQf8gVkaNIlkxwGUzi
bKTZ6CHzwlz9nNgeel0XPUcZzFxGA/4paeCg2rMSVuAhUQbsLYHu4XzTs9P16zaXkrtxc4m5
b+BF5xsLgTpyO5l859XudS2Gp+7/Y37dAU4QlyGGOboWmF1y9U5DnzBwG8ghsnym+ga58MJh
LdRdQQ6xQolCpEXOuzm40f2r5uMxF3KOJ7WpIPuGAkeCPru9BmlATH+zOs0gTWF0cyBXaWNo
bWFubiA8bWF0c0B3aWNobWFubi51cz7CYQQTEQIAIQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIX
gAUCT0VyZwIZAQAKCRDAMaCQc9hUxiZBAJ9cWziGp7hVfsu5T+cQptc3rLNndQCgrZh8u5LW
BfJ5e/Y+3PwZ8UEm+ELOwE0EP5is8BAEAMtwzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
X-Pobox-Relay-ID: 39EE970A-79CC-11EE-A9AA-25B3960A682E-81526775!pb-smtp2.pobox.com
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
 by: Mats Wichmann - Thu, 2 Nov 2023 22:07 UTC

On 11/2/23 04:58, Chris Green via Python-list wrote:
> I have a couple of systems which used to have python2 as well as
> python3 but as Ubuntu and Debian verions have moved on they have
> finally eliminated all dependencies on python2.
>
> So they now have only python3 and there is no python executable in
> PATH.

FWIW, for this you install the little stub package python-is-python3.
Especially if you want to keep a python2 installation around - "python"
will still be python3 in this case.

> So, going on from this, how do I do the equivalent of "apt update; apt
> upgrade" for my globally installed pip packages

Odds are you don't want to. The internet is full of surprises about
dependency problems when stuff is blindly updated; the set of Python
packages in the apt repositories is carefully curated to avoid these
problems - and this is part of the reason why sometimes certain such
packages are irritatingly down-rev.

Re: pip/pip3 confusion and keeping up to date

<l7te1k-7i4o.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24328&group=comp.lang.python#24328

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Fri, 3 Nov 2023 10:05:09 +0000
Lines: 58
Message-ID: <l7te1k-7i4o.ln1@esprimo.zbmc.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu> <slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu> <17gd1k-866j.ln1@esprimo.zbmc.eu> <slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net dCCsVY9hG1rRdYf/K3JK8wsNEvU5kyvknWyTdcVH58euV1b/o=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:G7l2xqFaI2ta8LwEvk2icSl3V0o= sha256:uNAe36RUNRcMPixyqDeVxxfIS7it6YOidokiztOxFSI=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-86-generic (x86_64))
 by: Chris Green - Fri, 3 Nov 2023 10:05 UTC

Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
> On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> > Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
> >> On 2023-11-02, Chris Green <cl@isbd.net> wrote:
> >> > I have a couple of systems which used to have python2 as well as
> >> > python3 but as Ubuntu and Debian verions have moved on they have
> >> > finally eliminated all dependencies on python2.
> >> >
> >> > So they now have only python3 and there is no python executable in
> >> > PATH.
> >> >
> >> > There's still both /usr/bin/pip and /usr/bin/pip3 but they're
> >> > identical so presuably I can now simply use pip and it will be a
> >> > python3 pip.
> >> >
> >> >
> >> > So, going on from this, how do I do the equivalent of "apt update; apt
> >> > upgrade" for my globally installed pip packages?
> >>
> >> I'm not sure what that question has to do with everything that preceded
> >> it, but you don't want to install python packages globally using pip.
> >> Either install them with 'apt', or install them in a virtual environment.
> >
> > Why in a virtual environment? When I install a package whether from
> > apt or from pip I want everyone/everything on my system to be able to
> > use it.
>
> Because pip barely plays well by itself, let alone with other package
> managers at the same time.
>
Well that's a criticism of pip rather than of how I use it! :-)

OK, there are risks.

> > I do only install a few things using pip.
>
> Are they not available in your system's package manager?
> I guess you might get away with "sudo -H pip install -U foo"
> for a couple of things, if they don't have many dependencies.

I obviously check the package manager and also other sources which
work through apt before resorting to using pip.

The sort of thing I have to use pip for is software for odd I2C sensor
devices and such. These rarely have any dependencies or they are all
the same dependencies as the other I2C device software. So,
hopefully, I won't hit any big problems. I have to say that so far I
haven't been bitten.

I would point out that this is mostly for a headless Beaglebone Black
single board computer (comparable with a Raspberry Pi) with only a
minimal 'console' installation of Debian so it's a pretty minimal
system.

--
Chris Green
·

Re: pip/pip3 confusion and keeping up to date

<mailman.144.1699019240.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24331&group=comp.lang.python#24331

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Fri, 3 Nov 2023 14:47:18 +0100
Lines: 23
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.144.1699019240.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de UUG5OPoVZhIliVhlWkXS3Q2LqWQyvlhS0Fri0GnCIskA==
Cancel-Lock: sha1:Z9Enll+K8bCwPQXXW2wFPm8S1qo= sha256:9oGVlMb2x7UNr06BtO2vxk70nkvtsGYLMTJ9PF5sruU=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=dw3RKNFM; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.027
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.01; 'pip': 0.04; '2023': 0.07;
'received:212.227': 0.07; 'gpg': 0.09; 'itself,': 0.09; 'karsten':
0.09; 'pip.': 0.09; 'schrieb': 0.09; '02,': 0.16; '1713': 0.16;
'complexity.': 0.16; 'subject:pip': 0.16; 'applications': 0.17;
'thu,': 0.19; 'to:addr:python-list': 0.20; 'install': 0.23;
'answers': 0.32; 'there': 0.33; 'path': 0.33; 'same': 0.34;
'package': 0.34; 'header:In-Reply-To:1': 0.34; 'using': 0.37;
'received:212': 0.62; 'true': 0.63; 'your': 0.64; 'well': 0.65;
'let': 0.66; 'time.': 0.66; 'interest': 0.70; 'managers': 0.70;
'deal': 0.73; '....': 0.76; '"no"': 0.84; 'jon': 0.84; 'plays':
0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699019238; x=1699624038; i=karsten.hilbert@gmx.net;
bh=DC+i59DZCeUOqQW/RGtFU+V1+vpT2PM7qg8ao9RiC9o=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=dw3RKNFMwdhhH/2bKTaUrB/a/MxefPBtgKA0U/7kfQR7GLAuDMX6K0x5f8BroB/Y
32pxc8bCfnJLKH4sY7WiaJxdFS02bYo2eiTKUOnQzhne7xoV3EkRlUP4Iei4ZHrPz
BjZtrW1hWWemjlYOt4PjysHy//D4GN34hQlUto9UrYnGaor45cwyZTOdKHuqMnBQn
iKKoesQOMMQrxAzv87pcsWY4QfS9hkiYbCcWTpWHbWmC3MvxrMwaum/YLNKD+B/O9
czz9OQPH1HbLqdH+WMp6IRkMlJOvZ8FydDguM/mgZqJs+yOAK7dpLKNOQM5u/GZrO
FIsyGarQTdcnbjQBGg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:tEjYTWO3zayMtAoofmsrAkMJ/+k4GCC+Do+q3TkMF3yxV73nL6Q
2glG0CtBd5n3rRT6uXGK2P0PQSyCz/3qtpg6TcrswthTJdgq3uvT0sX+BK/aryLyfQJZZ7W
blMDvqr2q1In0Pjc5UaOJAKZ/C0LYZPh4AqquapPJLHzQ8dCugA4gK5gwx1c8IVJhF/sMMV
im8nOjmhCCR5K9+Q9gDPg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:SutXWn3vEC0=;GfHSdaiNCIYCO74IHj8tq0Km/eC
R5lf4qw3ec3zxWnVRd/ft2SlSBtql7SA2D6/SXLddL81eh4j+LWOE9v3jAJU7V02Jlz9qDt10
rlotur2nP0yhJhuYhInSh10I9FlZXmJ3P1X5ubcEb2XCHxAx1s5fwSgseVjFBJAJoiGEmjIeV
5C5LIuwWKvpZWsL5OzQrmj9Vn9bdb8nfHvHHhNh0/lCBCw6JBOOlGSHRihASEov9rff2tlCv/
LLi0af2nJxBs86VCvlND4C0my/T2R799lRQVnH2ODKcjgh/r6ZRWFxbcpUF7xW5kJ7ZzsL990
hor7ibqqwFFoT3e5u+ypLlcYR95ONdS6QWRksK4h5+207NmVDy+WsEyVR65hTUYyAf/bm8sUD
l4F7kPp/b0UN8f8Ba/6o+gvLEosQT0q10xIFCDYidPz9VtOmp3pUFAuZOG048oV3CUAdKn3M3
TPnvit+/sap4ni5+VbrRlnGrt8I9bh7ip2KE5ee49cwUMsWdHezAkNfm0CQlP9aIMk/4+h56A
yPec5xzPgJokyx9zw2KseyPzc1lMEN209STDOe5zN4kcPbRWZbLk7KeTb8qA+nmWjquh65Of2
pWUX1dahrt3vq2kj2K89h6Yei2/EWpLmG8TOi8Te5xI7XNKVgu+r/eQhqqGy6uys2+nbOUZPk
Ec3uLIIyX78/UoDhgtaQVPLtu1aLD90OvjoQ3vgd5WI0aavH9mrEsZwYEw1iQT/pMN1u5jeaV
SuVfMhWDKd1DWxEMZlnIeZNLN9x6AXMPB91H6vJwVNMPFdS6pa1HtXHHptcdcC0Tw0j/gQ8br
3T39wMmy0DxNtbqr2yHkrDDvdgRqIknwuoN/Twk8EXhz3ULkpYyJHxjBABL76SI6dfCvfxKH9
A+bcb3kfQjQhR+NZSzsjzRiNP1pX/MkqaLLteQYG2NRiNhMuVIGzoRL5KoULUc3I0dApMP//X
oR9WcQ==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUT55o72DxVdI9PM@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
 by: Karsten Hilbert - Fri, 3 Nov 2023 13:47 UTC

Am Thu, Nov 02, 2023 at 09:35:43PM -0000 schrieb Jon Ribbens via Python-list:

Regardless of ...

> Because pip barely plays well by itself, let alone with other package
> managers at the same time.

.... being true ...

> > I do only install a few things using pip.
>
> Are they not available in your system's package manager?

.... this clearly often answers to "no" for applications of
any complexity.

Is there a suggested proper path to deal with that (Debian is
of interest to me here) ?

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24332&group=comp.lang.python#24332

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Fri, 3 Nov 2023 13:53:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
Injection-Date: Fri, 3 Nov 2023 13:53:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8ad3a6afd535d1b47a000742b5a2ee5c";
logging-data="2952027"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lWfh2SvfMpzVnNI12cpKMMDo++9nOPD0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:29Gk4Ax8j3/M5YWTopKj7iesmJs=
 by: Jon Ribbens - Fri, 3 Nov 2023 13:53 UTC

On 2023-11-03, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
> Am Thu, Nov 02, 2023 at 09:35:43PM -0000 schrieb Jon Ribbens via Python-list:
>
> Regardless of ...
>
>> Because pip barely plays well by itself, let alone with other package
>> managers at the same time.
>
> ... being true ...
>
>> > I do only install a few things using pip.
>>
>> Are they not available in your system's package manager?
>
> ... this clearly often answers to "no" for applications of
> any complexity.
>
> Is there a suggested proper path to deal with that (Debian is
> of interest to me here) ?

Yes, as previously mentioned, use virtual environments.

These days they don't even need to be "activated". For package 'foo'
for example you could create /usr/local/lib/foo, under which you would
create a virtual environment and install the 'foo' package inside it,
and then you could do:

ln -s /usr/local/lib/foo/env/bin/foo /usr/local/bin/foo

and then you could just type 'foo' to run it.

Re: pip/pip3 confusion and keeping up to date

<mailman.145.1699028776.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24333&group=comp.lang.python#24333

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: die...@handshake.de (Dieter Maurer)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Fri, 3 Nov 2023 17:26:06 +0100
Lines: 15
Message-ID: <mailman.145.1699028776.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de oIiGWiY36Laj0CuGCpMoaAy22FnJKP5Mm9T2IFiiO29w==
Cancel-Lock: sha1:mx7qM2fcossVKQIeD6tmdgmgPgQ= sha256:qogL/1qHPL7o/EVCkuyj1jddDkjHyx19QcAPtWbkqYM=
Return-Path: <dieter@handshake.de>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.070
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'cc:addr:python-list':
0.09; 'describe': 0.09; 'karsten': 0.09; 'cc:no real name:2**0':
0.14; 'complexity.': 0.16; 'hilbert': 0.16; 'subject:pip': 0.16;
'applications': 0.17; 'cc:addr:python.org': 0.20; 'received:de':
0.23; 'cc:2**0': 0.25; 'answers': 0.32; 'there': 0.33; 'path':
0.33; 'release': 0.34; 'package': 0.34; 'header:In-Reply-To:1':
0.34; 'complex': 0.35; 'those': 0.36; 'using': 0.37; 'wrote':
0.39; 'upgrade': 0.64; 'your': 0.64; 'header:Received:6': 0.67;
'interest': 0.70; 'deal': 0.73; '"no"': 0.84; 'received:88': 0.84
In-Reply-To: <ZUT55o72DxVdI9PM@hermes.hilbert.loc>
X-Mailer: VM 8.0.12-devo-585 under 21.4 (patch 24) "Standard C" XEmacs Lucid
(x86_64-linux-gnu)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <25925.7966.521097.868744@ixdm.fritz.box>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
 by: Dieter Maurer - Fri, 3 Nov 2023 16:26 UTC

Karsten Hilbert wrote at 2023-11-3 14:47 +0100:
> ...
>> Are they not available in your system's package manager?
>
>... this clearly often answers to "no" for applications of
>any complexity.
>
>Is there a suggested proper path to deal with that (Debian is
>of interest to me here) ?

Complex applications may maintain a set of "known workable versions"
associated with the application's releases.
They may describe those "known workable versions" in a `pip` constraint file.
In this case, you can upgrade to a new application release
by using this constraint file.

Re: pip/pip3 confusion and keeping up to date

<mailman.152.1699152773.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24343&group=comp.lang.python#24343

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Fri, 3 Nov 2023 14:44:27 +0100
Lines: 26
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.152.1699152773.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
<ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de v3vKIAevDaxzJWEz2FB1YgSPnQDgdbUvVFuhcKNoQebQ==
Cancel-Lock: sha1:KFOFQXs7f6DAt2FDD0+d+Mbhp44= sha256:ioOp9+rfO67SCjTR39u3aLNo75H6Jl3wfAJ5mPw80Is=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=bloyaV+6; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; '2023': 0.07;
'received:212.227': 0.07; '"python"': 0.09; 'gpg': 0.09;
'karsten': 0.09; 'schrieb': 0.09; '02,': 0.16; '1713': 0.16;
'executable': 0.16; 'mats': 0.16; 'python3': 0.16; 'subject:pip':
0.16; 'wichmann': 0.16; 'python': 0.16; 'thu,': 0.19; 'to:addr
:python-list': 0.20; 'install': 0.23; 'packages': 0.31; 'seem':
0.31; 'there': 0.33; 'package': 0.34; 'header:In-Reply-To:1':
0.34; 'thanks,': 0.36; 'way': 0.38; 'still': 0.40; 'case.': 0.40;
'want': 0.40; 'received:212': 0.62; 'skip:k 10': 0.64; 'little':
0.73
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699019067; x=1699623867; i=karsten.hilbert@gmx.net;
bh=s3jttxg06/Xyaoh0JtteMUpx4olu6YruSeDe5pby8JI=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=bloyaV+61+JFT3VK5FMG910y9YioG37LkH918DfCexkp3HZAHwZgMS30ITAG18cD
Ejb7SCpa/C/y7U9xDzXPt3FL1VwywvwLdPPjegD97XFx4exDbtUIXUJiA5/OeI+rl
u7ElkiX9kGNR9rZkuJ51uMMBTRjvwJ19HQuolQIsWbpRyWTXdC3aww3sboRMmVkdi
Mq6K4N/zYeaiHL+DD3PySnySbqTCAQiNlZy9fjFggorricmj3eLkONwHSfy21LYBL
/PEKrK/nn3KBGSwH+W9uYG2VMPjjUTjtoucErETjlX8eXOBhHJqQbKq+CDyk56eed
D2ultK9nVAcZNIPbCA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:+RAkQPTa70yD0GggrYLVxd5F5qo++ymW8ib5p/gdCbodqxWygdR
FqXqyp/eN9NOW28AS52HzM7MJlX9POt8ausy9QKxIbrKVgbj7cyrgaM842ia5ovdv+oOQFW
8C1cMVn7lcco634hSD/QaDCHknikoSfysV1IFPXOtDmnPK8LK1l9aQ8DkIEI8bbjGCTjf9e
vx+ZUmxc5f2CwJ3+yfaGg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:8pVG5AsBWxU=;oc8a4lWN3YrYs84iwhEPhvt8W+U
JGIFch57JJUXomv7cd7OHx+5lIrWYxmOXa89IZMJ658E5VLuv+EK1uqbb23LWXqbcVKnjxFkI
W1iz6WKgpWM7TiXD/tPdnCphygBT7B5pNf2MPIantpfOvh+0ChZLiOU/GzDod+PudswHfvEiJ
NcPG1VDP9f++HRUNSrA7gUcFo8LZGzMPDks9qm9jMJ6OhzHbqJA8x5mXKtm1SDXH4VutUWbD5
REKKt1b6SGHmu9mW3hoSNc+S9nlG/lJaSvzs5tt6K8ROs/3ESUBOPxPou+8sZWEDug3R9FTwY
JiOXLq2u6zOWYLtC2DFxLEJa2G8sVrOiTuaZUISVuts91XbWLdq9yCsaZ53P20T2E2rqOyXNC
W1neqAszVDrdfVhvFEJEaB16cdtpgdcjxZbqW+UqECleqqMmlVkzP64ffbuVXDQy85nnC64lj
bCf5nVWU3VkObPSCk9aMDNouiRkfqWkOY88rJzTAbjhfipXsqnSJZxEOXX9Pre8oiGpZV9nEL
pac7OwHQhEJoFR3gJWwZYZV3Wi2dRy1YMupXZ23PK/uhjRqioh7r3OuMpvItS6lLTPwRBrbah
pNguybGseyS+uifQerMI4N1Fugk4G5ijf4Y8vQj51K4A0r4/jxkjL6bZRZUXtpLHXjnN4LJMe
LKKTY6GX5u+A5RlsICypaHreFeoPY9wn+NtNWmzRfrjekRlmwelba8U6VYPM65/nz2Eeoj9Wy
5WVwqxVTDwbWrEWnz2xoLT4StAI/5KCyybkKwtX50Ou1n9tDYjmiM+wicNMvlcBKmclzSy++I
EjvUEb6ZrLhW/cDXuD7d9ZVmWIM7ZEMsQ0JwdHf73aRmN6UhcERwV99mUqf85TLyiLI3T3yvQ
2hFxtiza9pSZzSHPxGTNAFtyiu2Evzdx+fTq80BVhbmCqCB1ovylm9jf+4t6il0CnEYjoC64X
9UE6bA==
X-Mailman-Approved-At: Sat, 04 Nov 2023 22:52:52 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
 by: Karsten Hilbert - Fri, 3 Nov 2023 13:44 UTC

Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:

> >So they now have only python3 and there is no python executable in
> >PATH.
>
> FWIW, for this you install the little stub package python-is-python3. Especially if you
> want to keep a python2 installation around - "python" will still be python3 in this
> case.

Since you seem knowledgeable in this area: Do you know of a
resource for learning the *canonical* way of packaging a
Python application for installation via apt which

- needs some packages available via apt
- needs some packages only available via pip
- needs some packages newer than what is available via apt

?

Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24348&group=comp.lang.python#24348

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 12:59:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
<ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
<mailman.152.1699152773.3828.python-list@python.org>
Injection-Date: Sun, 5 Nov 2023 12:59:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62f2d13ab19b3c9acea1e92bece87a1e";
logging-data="11415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19211NBypPhxTSJsPPFmIbBspRHe3mCfY4="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:FeDrwCsfosd2wIgHjhEboTXB2ps=
 by: Jon Ribbens - Sun, 5 Nov 2023 12:59 UTC

On 2023-11-03, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
> Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:
>> >So they now have only python3 and there is no python executable in
>> >PATH.
>>
>> FWIW, for this you install the little stub package python-is-python3.
>> Especially if you want to keep a python2 installation around -
>> "python" will still be python3 in this case.
>
> Since you seem knowledgeable in this area: Do you know of a
> resource for learning the *canonical* way of packaging a
> Python application for installation via apt which
>
> - needs some packages available via apt
> - needs some packages only available via pip
> - needs some packages newer than what is available via apt
>
> ?

I suspect the answer to that is that you would have to:

* create packages yourself for the unpackaged dependencies
* create a dependency graph of *every* Python package in the package
repository (whether or not the package is relevant to what you're doing)
* work out what versions of every Python package are required in order
to have a dependency graph that can be successfully resolved, taking
into account the requirements of your new package also
* contact every single maintainer of every single one of the packages
that needs updating and persuade them to update their packages and
reassure them that you are getting all the other package maintainers
to update their packages accordingly and that you have a plan and
that you know what you're doing

... screen fades to black, title card "3 years later", fade in to ...

* publish your package

Re: pip/pip3 confusion and keeping up to date

<p9nk1k-2smc1.ln1@esprimo.zbmc.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24351&group=comp.lang.python#24351

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: cl...@isbd.net (Chris Green)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 15:00:41 +0000
Lines: 46
Message-ID: <p9nk1k-2smc1.ln1@esprimo.zbmc.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu> <82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us> <ZUT5O8YOBgvymaTg@hermes.hilbert.loc> <mailman.152.1699152773.3828.python-list@python.org> <slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net p+DnMzARAXgwFWryLlY51gfXYu0LkqFTZiKv50auuMJuLGfpQ=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:BQmNCBtGlRIa2btaxgqcrjhFTRI= sha256:z2ZuYagnU67dIN77bcA6zg1DYQQqKlcKFw/mCuhRx4o=
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-86-generic (x86_64))
 by: Chris Green - Sun, 5 Nov 2023 15:00 UTC

Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
> On 2023-11-03, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:
> >> >So they now have only python3 and there is no python executable in
> >> >PATH.
> >>
> >> FWIW, for this you install the little stub package python-is-python3.
> >> Especially if you want to keep a python2 installation around -
> >> "python" will still be python3 in this case.
> >
> > Since you seem knowledgeable in this area: Do you know of a
> > resource for learning the *canonical* way of packaging a
> > Python application for installation via apt which
> >
> > - needs some packages available via apt
> > - needs some packages only available via pip
> > - needs some packages newer than what is available via apt
> >
> > ?
>
> I suspect the answer to that is that you would have to:
>
> * create packages yourself for the unpackaged dependencies
> * create a dependency graph of *every* Python package in the package
> repository (whether or not the package is relevant to what you're doing)
> * work out what versions of every Python package are required in order
> to have a dependency graph that can be successfully resolved, taking
> into account the requirements of your new package also
> * contact every single maintainer of every single one of the packages
> that needs updating and persuade them to update their packages and
> reassure them that you are getting all the other package maintainers
> to update their packages accordingly and that you have a plan and
> that you know what you're doing
>
> ... screen fades to black, title card "3 years later", fade in to ...
>
> * publish your package
>
Surely it's not that bad, the vast bulk of Debian, Ubuntu and other
distributions are installed via systems that sort out dependencies once
given a particular package's requirements. Python is surely not
unique in its dependency requirements.

--
Chris Green
·

Re: pip/pip3 confusion and keeping up to date

<slrnukff85.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24352&group=comp.lang.python#24352

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 16:04:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <slrnukff85.2cil.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
<ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
<mailman.152.1699152773.3828.python-list@python.org>
<slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>
<p9nk1k-2smc1.ln1@esprimo.zbmc.eu>
Injection-Date: Sun, 5 Nov 2023 16:04:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="62f2d13ab19b3c9acea1e92bece87a1e";
logging-data="70730"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+bWQG6OktK6S71PsVeP4h5+JYv3yxHtLM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:KKsW8JN7kYZrEl4bFnJmh3UufEk=
 by: Jon Ribbens - Sun, 5 Nov 2023 16:04 UTC

On 2023-11-05, Chris Green <cl@isbd.net> wrote:
> Jon Ribbens <jon+usenet@unequivocal.eu> wrote:
>> On 2023-11-03, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
>> > Am Thu, Nov 02, 2023 at 04:07:33PM -0600 schrieb Mats Wichmann via Python-list:
>> >> >So they now have only python3 and there is no python executable in
>> >> >PATH.
>> >>
>> >> FWIW, for this you install the little stub package python-is-python3.
>> >> Especially if you want to keep a python2 installation around -
>> >> "python" will still be python3 in this case.
>> >
>> > Since you seem knowledgeable in this area: Do you know of a
>> > resource for learning the *canonical* way of packaging a
>> > Python application for installation via apt which
>> >
>> > - needs some packages available via apt
>> > - needs some packages only available via pip
>> > - needs some packages newer than what is available via apt
>> >
>> > ?
>>
>> I suspect the answer to that is that you would have to:
>>
>> * create packages yourself for the unpackaged dependencies
>> * create a dependency graph of *every* Python package in the package
>> repository (whether or not the package is relevant to what you're doing)
>> * work out what versions of every Python package are required in order
>> to have a dependency graph that can be successfully resolved, taking
>> into account the requirements of your new package also
>> * contact every single maintainer of every single one of the packages
>> that needs updating and persuade them to update their packages and
>> reassure them that you are getting all the other package maintainers
>> to update their packages accordingly and that you have a plan and
>> that you know what you're doing
>>
>> ... screen fades to black, title card "3 years later", fade in to ...
>>
>> * publish your package
>>
> Surely it's not that bad, the vast bulk of Debian, Ubuntu and other
> distributions are installed via systems that sort out dependencies once
> given a particular package's requirements. Python is surely not
> unique in its dependency requirements.

I think there's a lot of work that goes on behind the scenes to keep the
entire package set consistent so that you don't end up in the situation
where, e.g. package A depends on D<2.0 and package B requires D>=2.0 and
therefore you can't install A and B at the same time (and trying to
avoid as much as possible the hacky situation where you have two
packages for D, one for <2.0 and another called D2 for >=2.0).

Re: pip/pip3 confusion and keeping up to date

<mailman.161.1699222748.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24357&group=comp.lang.python#24357

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!paganini.bofh.team!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 23:19:00 +0100
Lines: 28
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.161.1699222748.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de hB6CkPjNhEfhVcTbMhMuCwD/e95oeDraiu0fjru1vJew==
Cancel-Lock: sha1:yAuiHMkH12AjFTwh47TOpKASiUs= sha256:K1sH87yLloNY2SZ0B4JHe84i6PuLG+zlSVvz26fD0TA=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=tTy4Vkup; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; '2023': 0.07;
'received:212.227': 0.07; 'cc:addr:python-list': 0.09; 'debian':
0.09; 'describe': 0.09; 'gpg': 0.09; 'karsten': 0.09; 'schrieb':
0.09; 'cc:no real name:2**0': 0.14; '1713': 0.16; 'complexity.':
0.16; 'dieter': 0.16; 'hilbert': 0.16; 'received:212.227.15':
0.16; 'subject:pip': 0.16; 'workflow': 0.16; 'applications': 0.17;
'cc:addr:python.org': 0.20; 'creation': 0.22; 'fri,': 0.22;
'cc:2**0': 0.25; 'answers': 0.32; 'there': 0.33; 'path': 0.33;
'release': 0.34; 'package': 0.34; 'header:In-Reply-To:1': 0.34;
'complex': 0.35; 'thanks,': 0.36; 'those': 0.36; 'using': 0.37;
'file': 0.38; 'read': 0.38; 'wrote': 0.39; 'happen': 0.40;
'received:212': 0.62; 'upgrade': 0.64; 'your': 0.64; 'interest':
0.70; 'deal': 0.73; '"no"': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699222740; x=1699827540; i=karsten.hilbert@gmx.net;
bh=SOzgFCNwpQPpb8tDVSjWDolzfw92YfNijVY/pfWTq00=;
h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:
In-Reply-To;
b=tTy4Vkup+iFxWsWZsWv3JM/lj1yF/UgYy9Ygq0Okm6bNEmsfn19xyOI2y8Gaz3c0
nbmC5oRcyRzKBmmhxmfBCMh9Q8JDo+M4FHZES6L3hMkuICxktYaI0Lpz1rOZdLBmU
w74cewKNuZLIlvXafJ9hyhVLmM7xVOqI1LOs0DzKIqTnJLtO7M+WARZKvORncYme/
NrZJiujBbwkKo5rsDh3Gy9VB7UwdZz7Ls86Ss8YO3J3ZHqtKBPAdSO2Ykb1ZGxw3M
vPljOiPaNJXXd7w1h4ag2lvSJifJWBU0c65MNxO2QeOsQGeKPTWdyA0xB3OytWFt6
nhy5fMe63GP9CGH9Sg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <25925.7966.521097.868744@ixdm.fritz.box>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:R6L6ulue209r9BpKxcff2zqsj29x77ksWm3pmODOzWB7drNkyWy
gLx+CwThfyklDqmg/6ur3IVEZVewIV2mjasKjfb7vNV/FQo8HYeMzMPI5Y3E4I2QNdqot0M
nSvXeizchlh3F5xfPODgXbTkt/n/L/ZNQJ3mB9bDCcMIUQj/zPfnKsvYFMZ7ueOzRBPj9sU
xB/SpoecuYhOD8KL6Nq7g==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:ODVwBQdjrY8=;iIvW8LqT3AnnpMIC8gzOJwzqXF8
mJM6SqNWP7DwtPAql6S82+iKr+3X9kF9OdTbpAuFcDJW470wI6pXwDgzTh162qnpjJu2XNSAE
PasuRmkKKD/Cp8pEwvig7JJi/OsDlDiOebmgbskapH7E3nIZERZaU1Uga++Nhr1V4+6QXpXBy
Q7shcrKuQYDNpCtRskkvfhDztn/XcaySXHWqisKL5+GNu3h1CcoDKc8eN7go30QT1EZjvsDhr
LlbdpxgL+JiK7+X6siAjcFSsBGvQUXqMYkPPGT6nammfjqbmYOBZrGS+ZQvSGa+O8pdq47Ia6
7SVaS8utN1lWlNLLe2M6tEsjyVVlRlJdrJ/MKO66p1Qedb1psNWrfiJOLdaaS18riQg8C0tg3
JvLD5fBmRekTopdHG0DyUFECRcZpPfHBIAikisIuUTXdsvu7S8YQrSPPY3nX7m9JxQbA0TarG
ToamFTT1qrhym8Wji44bC29wt0nzIY6URFHsNYw3Qn70irXsW35MCrAWEwiX1dY/9yAlcrTjn
Lm813UcrIv/mJxd9IPL0zpnW53AOqfk3cAsj4B5yQHBGpTJ73Woy6Pss1W6oas8QU/KXrjJzb
6m+upjyYQMyApGTWMPXk5au0KaV+mXNavDMECa5mH5+E8toCsGXp+bVJsG+C3iahKQyxW8upd
4hLixZzXkFjnf4oaCliilPDGyffySw18uAhBYCi3JuStXS+2WCt9JugKdCzxX6v/InoRK7OWG
D1nwd2Wmm8m3d7nXJ8JrSS/GOJJLOZ+BVSxpYezA6ZocwuPRWa9x92vMu//QtHN1HU3bn/9O5
7VMpwwxkPcoh0lejVDPAS/rjvB2Q4ceFQL2YI1000ldcQankw2WV4DrWRJWHaFSw5S1nlGQFj
K9GBBqaHB+7kHTdkQqThGfjOYkCVpSLsx/x+dg+gGKmSjklXgXOHGjJtecmiZk26HcihX9lzd
ucPYuQ==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
 by: Karsten Hilbert - Sun, 5 Nov 2023 22:19 UTC

Am Fri, Nov 03, 2023 at 05:26:06PM +0100 schrieb Dieter Maurer:

> Karsten Hilbert wrote at 2023-11-3 14:47 +0100:
> > ...
> >> Are they not available in your system's package manager?
> >
> >... this clearly often answers to "no" for applications of
> >any complexity.
> >
> >Is there a suggested proper path to deal with that (Debian is
> >of interest to me here) ?
>
> Complex applications may maintain a set of "known workable versions"
> associated with the application's releases.
> They may describe those "known workable versions" in a `pip` constraint file.
> In this case, you can upgrade to a new application release
> by using this constraint file.

Hello Dieter,

do you happen to know where to read up on how to fit a pip
constraint file into a Debian package creation workflow ?

Thanks,
Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<mailman.162.1699222961.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24358&group=comp.lang.python#24358

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 23:22:38 +0100
Lines: 36
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.162.1699222961.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
<ZUgVrj1VQQ5igbQ3@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 2rHWswLIH80/tGb60okAHgg+lJOgI9IHOKzXbl0iYdnw==
Cancel-Lock: sha1:1NYCNF7OEDhCziBYfxG0jZX1x8k= sha256:vwytORP7BxtzOSdd7Uxf2v2/2gEwxjq1RMicFPvsmEs=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=W+8kRr03; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.031
X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'pip': 0.04; '2023': 0.07;
'received:212.227': 0.07; 'gpg': 0.09; 'karsten': 0.09; 'schrieb':
0.09; '1713': 0.16; 'complexity.': 0.16; 'mentioned,': 0.16;
'subject:pip': 0.16; 'applications': 0.17; 'to:addr:python-list':
0.20; 'fri,': 0.22; 'install': 0.23; 'run': 0.23; 'environment':
0.29; 'it,': 0.29; 'packages': 0.31; 'answers': 0.32; 'there':
0.33; 'path': 0.33; 'package': 0.34; 'header:In-Reply-To:1': 0.34;
'yes,': 0.35; 'really': 0.37; 'way': 0.38; 'could': 0.38; 'use':
0.39; 'received:212': 0.62; 'days': 0.62; 'your': 0.64; 'during':
0.69; 'skip:/ 10': 0.69; 'skip:/ 30': 0.69; 'interest': 0.70;
'virtual': 0.71; 'deal': 0.73; '"no"': 0.84; 'jon': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699222959; x=1699827759; i=karsten.hilbert@gmx.net;
bh=LIxJvGvDRy9b7V8Gs545J3PduvK20zGFO8GTJROSTXE=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=W+8kRr03EXTTMEUN4NWfWmEfMtCc7J1CVhs2/CfDpbaFpDYUT7zysEHjlMb0wlfu
4hcmwX7xi5Q3tjOMBHdMrfroejf2Fdbrtb0+BwiTuBsffgCgaoOuj83GBjhHoyfnj
JDkPnWLYPSOSMDu9VAmAkWI4rK0NUCMZ6935I+Wyf+Qc0xT5xanIAk5R1TyvvBDPf
sQF5V4t+VhU5ktSfjZTnxCEVNLEVGoFRVqSVF+fqJzXLWHDYfJwRkMxfJKRBljJO6
q7pjuojK70RQsu2lG4xTtO268dYU3QHmP6V2XiN0CruCBxpqO728ZvW3cJVKZzBCP
0b4jolrH4rfpS2qp2A==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:c73pw2H+LKRp+8yPCkeayOVAS3U3B1oFxsQHysZo91GvPCliHfi
0Zu19GjrUraBEY2NcefzJMRWKXUJYUMhJFIHE5r1vnpbQpKp57IRM5ztXH45Pea992UcjuV
wmk9bF15zauQ7o3s4v0ymTkvawT+QQdyM+rxrP6hd4o2mH4oxKgXVRWV+YN7ujKqtqJPLGn
hyrAyWP8/rcCtjXRApJJQ==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:6K/PYVeavoo=;0pkv/wFI6RJ0MvgxqSU1diI092s
Xi2McGR8GXCC/whEFgRbMQGOH0Puhzoo/7a8DF0hCtF1+0YaN1wJJv/g1FC0zwXRC1aHYSaXG
a43zPsne3DM52ZwpQqadA+F+ot8b8CPUbZR6MoVv6olAuER69+raLdbKycHu24eBu+T8TicbQ
hnHDOznxBKKQdfI6eENTekXSTbBt2qrLH2Uz1vZ7NdGlGgRCTk0b7xRjezqhD8BMVGfwSd2aP
Ve/T+/kX29VxmYcg6aKBLVW6lSEjZjcoYDE7TpYlMRYJW/rHDwmDx/ZmJqUQxYCTpcHl7wzHt
k0SV0lr9vO+c7I1jaxqFmoJetOpY3xJpb+Xc17TtyeCHr9uivmAR1xbe2IA0YB5d9VO2DLaoz
SFJkvEEQ69VX9apeqdio1ML+QboNuoNOMP7bhzsQuqfnKOJbeKNdcDhWgGL/S5uD3g2Fqjf4A
/lCS9bLmuAQiFACcDMEjR1UeSdSuHlevMyIg7b/kq7gN8moCHeFuL9BgavHF9LoltX+IfuHST
QKK2g1GrMdS39wBP5pfeNtyFEWjv8DxGHHC6a7YfHlk37640NlYAOmPHApnnVNi6QHxKKJbjD
zr3iweHKFQK3x98vi1NhukM732m8RvwVkyGtyFBaQGpdzDOdZgr5Y6mN5fN6EmsdZfijJzwZd
yY3QgQiIV7OOFN5eDn/cgki/qlPrkqCxKiB/RTW0G5506ESXlYuMBAC7pksI6VetEyV51hzpB
d/jtBvp7KeVa72XGPvjewZuqoJ3bvwdTdrSo2oBuLD0TBZiCJtHbwzVEUGQNaZ0C/pqvBeHud
6JOxTrdZ1Gqnx1W8wTaDvnZ9r3de2Ri+DSJPAx2Ry2ObdpkN1Y7zWCekHeiWbYOr9GpWFgKsX
Jw+6FMiwAoUU5ddTa7u3hTym6JOEoojUa27A5zbINM+bUPjM+KRZUVbD1rJygOlqOQdTLxHAk
3/yEGQ==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUgVrj1VQQ5igbQ3@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
 by: Karsten Hilbert - Sun, 5 Nov 2023 22:22 UTC

Am Fri, Nov 03, 2023 at 01:53:32PM -0000 schrieb Jon Ribbens via Python-list:

> >> Are they not available in your system's package manager?
> >
> > ... this clearly often answers to "no" for applications of
> > any complexity.
> >
> > Is there a suggested proper path to deal with that (Debian is
> > of interest to me here) ?
>
> Yes, as previously mentioned, use virtual environments.
>
> These days they don't even need to be "activated". For package 'foo'
> for example you could create /usr/local/lib/foo, under which you would
> create a virtual environment and install the 'foo' package inside it,
> and then you could do:
>
> ln -s /usr/local/lib/foo/env/bin/foo /usr/local/bin/foo
>
> and then you could just type 'foo' to run it.

This all being nice and well, but:

How does one "fill" that venv with packages from pip during

apt-get install python3-app-of-interest

?

Is the suggested way really to pip-install into this venv
during apt-get install ?

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<mailman.163.1699223367.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24359&group=comp.lang.python#24359

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news-2.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Sun, 5 Nov 2023 23:29:24 +0100
Lines: 31
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.163.1699223367.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
<ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
<mailman.152.1699152773.3828.python-list@python.org>
<slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>
<p9nk1k-2smc1.ln1@esprimo.zbmc.eu>
<ZUgXRF1AlyG0H5dZ@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de xwja8V4zwPE897FKQQNuqw0Uz5GjAkKpgbpSZZ3pByyQ==
Cancel-Lock: sha1:Mp3IcsQbUBDhQGZxBRwi/EVxGUc= sha256:gjMy+SmuiscWFQ36zJXNTd+Tq6SMMgH6AgX0Xg4cnBE=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=l0Ec46ys; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'knows': 0.04; '2023':
0.07; 'maintainers': 0.07; 'modules': 0.07; 'received:212.227':
0.07; 'sun,': 0.07; 'anymore.': 0.09; 'debian': 0.09;
'dependencies': 0.09; 'gpg': 0.09; 'karsten': 0.09; 'schrieb':
0.09; 'ubuntu': 0.09; '1713': 0.16; 'accordingly': 0.16; 'black,':
0.16; 'bulk': 0.16; 'oh,': 0.16; 'received:212.227.15': 0.16;
'resolving': 0.16; 'subject:pip': 0.16; 'problem': 0.16; 'python':
0.16; 'to:addr:python-list': 0.20; 'installed': 0.23; 'seems':
0.26; "isn't": 0.27; 'chris': 0.28; 'packages': 0.31;
'particular': 0.33; 'package': 0.34; 'header:In-Reply-To:1': 0.34;
'fine': 0.35; "it's": 0.37; 'single': 0.39; "there's": 0.61;
'received:212': 0.62; 'once': 0.63; 'updating': 0.64; 'your':
0.64; 'plan': 0.64; 'years': 0.65; 'vast': 0.69; 'within': 0.69;
'contact': 0.70; 'card': 0.76; '....': 0.76; 'publish': 0.84;
'green': 0.96
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699223365; x=1699828165; i=karsten.hilbert@gmx.net;
bh=Yp73azTAfF34+wc0LcObNZ/XPHNGOqLT9RhP4vkM/T0=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=l0Ec46yskTvXeIjpiYtoKUpPm/h2GUYUAHbu0bcyTdF9t+3jEwsK9gfPpbTX5ABe
y3FxKaH7qr2nyFkPFeWm7ugZHspBZyLE/6egs3ehydiP6JkmFYSwnbh8giXpZLshW
vOrsrqwqeN8Gl1QzXR1mPGqaoVKBzNB64l0lRFkCWS/9/KDoqe1UWJA45DkktJo7i
AVdHFvSZj5YjaQq/hCJf+HI+v0T5yZzWmvqOihoLrDfsgs2r8joHTpypvEWujYEf3
swnXqxxaie+iEe/C8eH4/UwAgZf+vhVGRwBO1J2JE+PRRT8oVGgZN6PemqDXxwdll
V2lFVcP9BPImiIjbIA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <p9nk1k-2smc1.ln1@esprimo.zbmc.eu>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:DDShE7hO+Yec5dvq083tk2RHCHrn9l7IoYCmrsOG53FmqXGX9NJ
eU6nhZLM2Y6mAG1RsZVfFlDIaoLpiOr7CI1CE1eAD0P0nIdD/xb17VFZMZU5tx8oP4ZB9Z+
o0k14tyBVrH4FsHzFTZHJ33559wG4g7huFeXEsG2RFJPQlNKJA7EXOR/zRdjPJAF4Y5Xhf0
i0pcgsSU/c5eJIJ04L5sA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:LkIlgqxwTxE=;hx3lAt0/Y7JbqgMbiSPgKeF4vPY
4EciQgUWxtwqnLQKFZ4dTb2SF9zr/Kl2Qtx0o0QdOgSZjDxQAEkU9slW8FEzm8oBi8spAOI9G
ovOe8nerEm4ysJa3oCmScTs7Wm4XhhIgqeUAUQHJR2+iKo+vm2AuV8i0ZLGtw0hphRkK366uK
9SyrG35EXKN/nDV1w6365n6dD9xiONSkP/HBdQoiOXuR4iUqj3OR7+vthQfrMSxjZtXiIkQ2b
IYoB7Ir2JYPLYIt/7HxIPyTqlJUXon+ccmpvoL5tAaNrIAa4OY/sy5pWVeF4YqMlDymtZkrrT
o9/MfqmfmBJGc6yLtFaQDLxkN9sy9nDDK+QxxKbCXVJlEnTmR3d4j5TN/ujAhqvM2Y+03xp22
LX06fA0TdI/ITMvTTq4evIdQ0xN1jYrPJ5biFSS/y+2B3wrkvMWt+p0JT8UcXDXu6TWF/b/sM
8/gOFiBkI+0tm9/FWJTuCtOXxkylK0xkQTmWJ1uZVyhK8Xi5PB5hCtzIIqBNMigoTtjcDNBzy
82NKuT3bareM1C6lymsh+OTxOb7iqpb9y50LwsbENZubFztAZUHYRKMOEwWUR1xjRExqrDol8
8z/q61kfw7OXDlzvWtQyX1fIz49WVP0y0HNPGPSwEZNimwdJUD2TpUm72J/L9ztHarwIUHLql
l7WBdLMcwAUuR8guRcfi0VaQ9YxsSb2gR8W4lDJ71tm3nxTYBiL2AEZNWlsQG2/DwTmYCQirV
CtynIFKVgCQ+mbJna35/UjuHkZ2MyIK5JRvDXmtkuE9niP3ZaKz7yBaLPZN6B3sd6U9QZjWTz
0en/FKqs//I6BiCSKZ02dOW6K1LDwggyuNkpH/W2MZ5/n8CVjF5a8iGJMlT6yIL6KQ777MujK
QCLgne3j7xlrzkMsnWHlmUGTBvpCq9UlFqMDrDnB+bjjvbE84rN7+/qFIGlOeGuhm11lTgD23
1gNPUw==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUgXRF1AlyG0H5dZ@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<82c6f025-61dd-4557-84e7-bc4ddb43a0e7@wichmann.us>
<ZUT5O8YOBgvymaTg@hermes.hilbert.loc>
<mailman.152.1699152773.3828.python-list@python.org>
<slrnukf4d0.2cil.jon+usenet@raven.unequivocal.eu>
<p9nk1k-2smc1.ln1@esprimo.zbmc.eu>
 by: Karsten Hilbert - Sun, 5 Nov 2023 22:29 UTC

Am Sun, Nov 05, 2023 at 03:00:41PM +0000 schrieb Chris Green via Python-list:

> > * contact every single maintainer of every single one of the packages
> > that needs updating and persuade them to update their packages and
> > reassure them that you are getting all the other package maintainers
> > to update their packages accordingly and that you have a plan and
> > that you know what you're doing
> >
> > ... screen fades to black, title card "3 years later", fade in to ....
> >
> > * publish your package
> >
> Surely it's not that bad, the vast bulk of Debian, Ubuntu and other
> distributions are installed via systems that sort out dependencies once
> given a particular package's requirements. Python is surely not
> unique in its dependency requirements.

Oh, Debian does just fine in resolving dependencies it knows
about within its .deb package universe. The problem arises
when there's unpackaged modules required. The only answer
seems to be to package such modules oneself.

If that's been conquered a venv isn't even needed anymore.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<slrnukgfkn.2cil.jon+usenet@raven.unequivocal.eu>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24361&group=comp.lang.python#24361

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jon+use...@unequivocal.eu (Jon Ribbens)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Mon, 6 Nov 2023 01:17:11 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <slrnukgfkn.2cil.jon+usenet@raven.unequivocal.eu>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
<ZUgVrj1VQQ5igbQ3@hermes.hilbert.loc>
<mailman.162.1699222961.3828.python-list@python.org>
Injection-Date: Mon, 6 Nov 2023 01:17:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="1d7456103137b06e8305f58ba9707176";
logging-data="219107"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/hyo/673YppIHiGmaf13gzliwXAxrNZe0="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:1z0t6Rvnw+JjOykDa8F3t5eNJCY=
 by: Jon Ribbens - Mon, 6 Nov 2023 01:17 UTC

On 2023-11-05, Karsten Hilbert <Karsten.Hilbert@gmx.net> wrote:
> Am Fri, Nov 03, 2023 at 01:53:32PM -0000 schrieb Jon Ribbens via Python-list:
>
>> >> Are they not available in your system's package manager?
>> >
>> > ... this clearly often answers to "no" for applications of
>> > any complexity.
>> >
>> > Is there a suggested proper path to deal with that (Debian is
>> > of interest to me here) ?
>>
>> Yes, as previously mentioned, use virtual environments.
>>
>> These days they don't even need to be "activated". For package 'foo'
>> for example you could create /usr/local/lib/foo, under which you would
>> create a virtual environment and install the 'foo' package inside it,
>> and then you could do:
>>
>> ln -s /usr/local/lib/foo/env/bin/foo /usr/local/bin/foo
>>
>> and then you could just type 'foo' to run it.
>
> This all being nice and well, but:
>
> How does one "fill" that venv with packages from pip during
>
> apt-get install python3-app-of-interest
>
> ?
>
> Is the suggested way really to pip-install into this venv
> during apt-get install ?

I don't know what you mean by that. But if you install the apt packages
and then create your venv with --system-site-packages then I believe
your venv should be able to see the apt packages and import them.

Re: pip/pip3 confusion and keeping up to date

<mailman.166.1699257490.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24364&group=comp.lang.python#24364

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: die...@handshake.de (Dieter Maurer)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Mon, 6 Nov 2023 08:58:00 +0100
Lines: 29
Message-ID: <mailman.166.1699257490.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
<25928.40072.353056.140342@ixdm.fritz.box>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de MJq4LHaVrlFaakU1ZlKD6Av1mqH0+TGpN4eMOVbP+NTQ==
Cancel-Lock: sha1:hnFpCSUX0+ZB38VaLojLzZF29dc= sha256:XvkUKv7xX9lFHjquxEi6kqfQgeqvH0inuPwO38wrfFw=
Return-Path: <dieter@handshake.de>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.037
X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'pip': 0.04; 'e.g.': 0.07;
'cc:addr:python-list': 0.09; 'controlled': 0.09; 'debian': 0.09;
'fundamental': 0.09; 'karsten': 0.09; 'knowledge.': 0.09; 'cc:no
real name:2**0': 0.14; 'hilbert': 0.16; 'specify': 0.16;
'subject:pip': 0.16; 'workflow': 0.16; 'python': 0.16; 'solve':
0.19; 'cc:addr:python.org': 0.20; 'creation': 0.22; 'integration':
0.22; 'way.': 0.22; 'received:de': 0.23; 'cc:2**0': 0.25;
'listing': 0.26; 'expect': 0.28; 'packages': 0.31; 'approach':
0.31; 'mailing': 0.33; 'package': 0.34; 'header:In-Reply-To:1':
0.34; 'special': 0.37; 'using': 0.37; 'file': 0.38; 'read': 0.38;
'quite': 0.39; 'enough': 0.39; 'handle': 0.39; 'list': 0.39;
'wrote': 0.39; 'define': 0.40; 'happen': 0.40; 'want': 0.40;
'should': 0.40; 'potential': 0.60; 'including': 0.60; 'likely':
0.61; 'above': 0.62; 'load': 0.62; 'come': 0.62;
'header:Received:6': 0.67; 'name,': 0.75; 'discuss': 0.78;
'control.': 0.84; 'received:88': 0.84; 'upgrades': 0.84;
'flexible': 0.91; '(all': 0.93; 'central': 0.95
In-Reply-To: <ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
X-Mailer: VM 8.0.12-devo-585 under 21.4 (patch 24) "Standard C" XEmacs Lucid
(x86_64-linux-gnu)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <25928.40072.353056.140342@ixdm.fritz.box>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
 by: Dieter Maurer - Mon, 6 Nov 2023 07:58 UTC

Karsten Hilbert wrote at 2023-11-5 23:19 +0100:
> ...
>do you happen to know where to read up on how to fit a pip
>constraint file into a Debian package creation workflow ?

I have only rudimentary `apt` knowledge.

I know it is quite flexible, e.g. it used to handle `flash`
in a special way. I expect it flexible enough to load from `PyPI`.

`apt` is essentially controlled by a set of `sources`.
Each "source" describes a list of package distributions.
A description contains metadata about the distribution
including name, version, description, dependencies, incompatibilities, etc.

Any integration would require you to define one or more
"source"s, listing the distributions which should come from `PyPI`.
This would allow you to specify potential upgrades at a central
place, the "source"s, you control.
It would not solve the more fundamental problem: to determine
which versions are compatible with the universe of (all the
"sources" described) package versions.

I know that debian packagers create debian packages
from Python distributions not using the approach sketched above
and likely they have their reasons.

You might want to discuss this on an `apt` related mailing list.

Re: pip/pip3 confusion and keeping up to date

<mailman.176.1699305998.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24379&group=comp.lang.python#24379

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Mon, 6 Nov 2023 22:26:36 +0100
Lines: 37
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.176.1699305998.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
<ZUgVrj1VQQ5igbQ3@hermes.hilbert.loc>
<mailman.162.1699222961.3828.python-list@python.org>
<slrnukgfkn.2cil.jon+usenet@raven.unequivocal.eu>
<ZUlaDObPyk6SZkD1@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de 3PN0Vgh9s1Jr1uFg5gH+EwoiGn4Yzi4LAjB7cJ5B2BlQ==
Cancel-Lock: sha1:4ZYholXLcpE0/Cdu6d7sORfGKhU= sha256:PVpJ/NS1T1/ViMhkY77MDsW9FvtC/eV36j8Upmvce70=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=SY6EbE7h; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04; '2023': 0.07;
'modules': 0.07; 'received:212.227': 0.07; 'gpg': 0.09; 'karsten':
0.09; 'schrieb': 0.09; 'import': 0.15; 'that.': 0.15; '1713':
0.16; 'complexity.': 0.16; 'mentioned,': 0.16; 'packages.': 0.16;
'subject:pip': 0.16; 'problem': 0.16; 'applications': 0.17;
'to:addr:python-list': 0.20; 'install': 0.23; 'so.': 0.26;
'packages': 0.31; 'answers': 0.32; 'but': 0.32; 'there': 0.33;
'path': 0.33; 'script': 0.33; 'able': 0.34; 'mean': 0.34;
'package': 0.34; 'header:In-Reply-To:1': 0.34; 'yes,': 0.35;
'mon,': 0.36; 'really': 0.37; 'way': 0.38; 'use': 0.39; 'place.':
0.40; 'should': 0.40; "there's": 0.61; 'received:212': 0.62;
'your': 0.64; 'during': 0.69; 'interest': 0.70; 'virtual': 0.71;
'deal': 0.73; '"no"': 0.84; 'jon': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699305996; x=1699910796; i=karsten.hilbert@gmx.net;
bh=jyf1l5VXh1b7a6kJV4/mZ9/h+Rd8iAxsmMtLpEVeW04=;
h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To;
b=SY6EbE7h4S5/pok5FaOj16Gpe75uZQcAwbqgHs9kTdEgwQORNCnSxVh7snKplZEN
fPrkf9efGEStgN4Q67b7Vg/BqlcF5x1x+udhdB0B6jn9ZNOJll4+7lY89R1MQ5Pnv
wO4OvDxghr4WoT5yW8X5InPnEje8CUue1TgOpRS9yXUOyrDNSpiiEoMQtZsw6vkay
TZhJyXfi1ZnJp9olucfP/09bowCMG8Qo5yVjT6Byeohp73QvXOzcO5zl24kB4m/m4
bIeodXW7H8rfy6SC2IMUALd+Cd9LkZJRTUxUlJZt4UkUcKISrCU38Jb/yh9hmsxcW
zsWvioAtxYd0z5rzKg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <slrnukgfkn.2cil.jon+usenet@raven.unequivocal.eu>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:ZVRCC2wZmOX4iUOR37qzA/0Zo2Z4BscZPV82BjICgDge17Uhxvf
+JKjKYVaAJuEO6UeC9jIMLhm1q0PjBKMwe+SE21iagAT+x1pPXM/0SDOXAqleV1B6FMClkc
YocgmRGQ68Av3AfQHIGPPmoeepiI3U3z21mV+hjI7mw5DQYCV7+iJlCQngBTyNsFVvuI6WB
Phq2kD4qvlOZ6Zv35+ONw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:X6VL226AwIY=;81jWndfdtbSYH3c6Uwqs5rKYUHd
MrZdb+Yt1/goK/pvis9c8S2vo+a+x3ce0gzVbNXn05740ehWNBI7YdfSkplD3opqRrxrT/fBa
jvY8kT6b7FuOFXaUIXFhQ/vzQlZ8v6NCNqnZ96qS1ZFVv0IDrOyxQB/DT6MqB17dZvBj/A6Wi
6UEAf3iRk9xj3Ahwp5fxRv+wxm7buhfCVau7mPZvn56Elc6vD5dn8guYDMlfRlO7AC2qAA+xs
LBmYf67wVv9icFsomlq+cpWCH6hkGx6P+q7g4p8sLBF8c6cYz7oUwJl6O727W0Vg0WXMbPzeI
i4Ak8CDBtrFpp5RARSvePTp8xLuvJ91LjazeCZ02QcNQeBi3dNEeBX0rXd1Usi5jl85iVEDXR
VnkJbFPskRHqNSo3HyaT736Nj4neFO6VIuUW45sq9Qunum5a0SYrpkIY8mrDPpaPkS62LLkOK
rheo/U11bFBYHxD0jZYkZb6GAsPe7WZqC0QWc4IQjurr/lEEs5d8YkXiYpJk2Nphj5WqiwAjz
Hre5cV3zJK90P2j6gK8Y1vmdO47qbOSjwF/BSx4/xdd3gplzudECxFYgfS04j+AdORGjvuBnJ
PwlfjwJkTH5Ho6J/qw10JGQ9yjrEoOX6VBZv3EeI6pfqQ8hmqjXwqDG9SoyW95ourjWSXssgi
3NJi+Q0t5zQK+KXxsOI1iO60O0Jj0ZUMILz99ITf+hinsh4ZJoSc7TZE8xjPZUcPPd404qTY9
CncKfKj2OsWV3TLqg/j1o+fzXpYdFOkxiRCC+dKft81oaz0pR87JA29t4lQpT1No3U4rGY/NI
48TlXG9Pl9SyXuriesLaHfokzVKZs+DiYVOH/PonE9ZC4N92Ylk8QyazNMcFl3e8aeJBfulGI
1e/9Dl5tVF1DIegrJDBnmooWObQH0m6Q+mJgoY5uX+1nM6vsUqjnrK5XB5RFRl0c4lJBk3iVr
x6UA5A==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUlaDObPyk6SZkD1@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<mailman.144.1699019240.3828.python-list@python.org>
<slrnuk9uqs.73m.jon+usenet@raven.unequivocal.eu>
<ZUgVrj1VQQ5igbQ3@hermes.hilbert.loc>
<mailman.162.1699222961.3828.python-list@python.org>
<slrnukgfkn.2cil.jon+usenet@raven.unequivocal.eu>
 by: Karsten Hilbert - Mon, 6 Nov 2023 21:26 UTC

Am Mon, Nov 06, 2023 at 01:17:11AM -0000 schrieb Jon Ribbens via Python-list:

> >> >> Are they not available in your system's package manager?
> >> >
> >> > ... this clearly often answers to "no" for applications of
> >> > any complexity.
> >> >
> >> > Is there a suggested proper path to deal with that (Debian is
> >> > of interest to me here) ?
> >>
> >> Yes, as previously mentioned, use virtual environments.
> >>
> > How does one "fill" that venv with packages from pip during
> >
> > apt-get install python3-app-of-interest
> >
> > ?
> >
> > Is the suggested way really to pip-install into this venv
> > during apt-get install ?
>
> I don't know what you mean by that. But if you install the apt packages
> and then create your venv with --system-site-packages then I believe
> your venv should be able to see the apt packages and import them.

The problem is when there's modules not available via apt as
packages. In that case on needs to either package them or pip
them into the venv suggested above.

When they are apt-gettable no venv is needed in the first
place. One would just install the application script like any
other binary, and which loads apt-installed modules just so.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<mailman.177.1699306144.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24380&group=comp.lang.python#24380

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten....@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Mon, 6 Nov 2023 22:28:56 +0100
Lines: 19
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.177.1699306144.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
<25928.40072.353056.140342@ixdm.fritz.box>
<ZUlamDJK1MaZnbSJ@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de hjTG5m6Xsatxav9k2ZhyVQYgjV3XHH8X/5tDUknu9VIw==
Cancel-Lock: sha1:N+wNgceGQDB82Lps0Xt8+UHTgug= sha256:TT3n+VLscOwu17gzw3yQ/pCFnKCW7jLh481XQDQrc7E=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=fYqrRcI6; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.002
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; '2023': 0.07;
'modules': 0.07; 'received:212.227': 0.07; 'cc:addr:python-list':
0.09; 'debian': 0.09; 'dependencies': 0.09; 'gpg': 0.09;
'karsten': 0.09; 'python-based': 0.09; 'schrieb': 0.09; 'cc:no
real name:2**0': 0.14; '1713': 0.16; 'dieter': 0.16;
'received:212.227.15': 0.16; 'subject:pip': 0.16; 'python': 0.16;
'cc:addr:python.org': 0.20; 'application.': 0.22; 'installed':
0.23; 'stuff': 0.25; 'cc:2**0': 0.25; 'etc': 0.28; 'packages':
0.31; 'approach': 0.31; 'mailing': 0.33; 'someone': 0.34; 'header
:In-Reply-To:1': 0.34; 'mon,': 0.36; 'using': 0.37; 'use': 0.39;
'want': 0.40; 'likely': 0.61; 'above': 0.62; 'received:212': 0.62;
'here': 0.62; 'hoped': 0.69; 'deal': 0.73; 'handles': 0.76;
'discuss': 0.78; 'pointer': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
s=s31663417; t=1699306137; x=1699910937; i=karsten.hilbert@gmx.net;
bh=mjM/74I/28/BidD7379ILyh/D4fC8QZsJvc97sQSO14=;
h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:
In-Reply-To;
b=fYqrRcI6e723dFHMMfHO+CrrfBWvMc8/dGwDekJTXR0uOaePRRaNto1wtlbumFD6
g6wISeJz2GRaY7N0vLBJ8ZjR2+V6wrq0pGkQWz6d5FwwogYxpCYE4weRjaxeUvRmn
E+yxP44uWVOznqC9sgoZUhpH51Higw0Ny3Ct65KBxhAuoucW46I2jjSjKjMT6K80W
kw0HmChS7SEVK+7gXwenrCZAP6c89c7xjLVltFlgcnDV7kMIqzOPnobs5sgDwWlHw
cfajzApc/o0rwgY0wcnosjIrcDM7i7JyM7V0zGbvi+pQmrSJfS9S9pEFhrdfZH+k+
y33Tc7022Ikp8rORmg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <25928.40072.353056.140342@ixdm.fritz.box>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:MyxA9VGVta4E73GbtH+jr59Q4277uv0E7EiWXewYgZjKe1zEBF+
Q8qLvnXnS1DxzvN5sb53R3fqkl6ZdgCGeTCd0jBNupa2qXF7au3VvSk9bpK4R9WG21raxlW
53G2AoscFMz1oNIv+dfspqoEgheBgIqbL1Onx3QOWzpJEhhwKo2KLYN6w5QsU3fAh1IsBqn
jt+Fa/ILtj48KShvS8+Vg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:8Oqc9laHxqA=;Q9j7/8thbyj7Z2/dYcucrFsAYBz
npiTl5oY1hG3a6JYhFJurbdRfaaKeRrnw9u3XR7JZYLZN3PGopNn41AoPsEwHO2n9eyenOPBU
jYrIi3L2Zuk3fmJ6hs9ITWo699V2QPaq+ZqQus8q13uskCs0NP70RJzTWZTYkNb6KfmlSTBUs
RPx0chnk6qs6aD4GfO8I7Bh2iMWw2NAkKlpF0apPYxZqGZf8ZmseQBFc7GsNcQQWlHLFFGUzi
AIXscXRUOJYahDk6MlCDKQT+18enznB83FUgEp2TS4+drFJx069Vs4lfojOAX0xyx/kTTiAMA
iI+lsem5qQkwoVwQoFk3Ps5CVeAslW5UowC/MHdbBwhFzdS+MAxzLB2GbkYRO/JICAULcL6qb
c8th8LeqNPhlv9xHcTKQHzoPkf2ryWGdTUlgL/8m/hD4eT/BCNb3cIUFx8OpGuIDfKzCFnYui
cwzKBAy8+jahDNH9NOm/L84ASNIWQkXaZckyfKqHsOmiWI3+yvvLCs5ThFn4yQhh/D/V2vQ3Z
qJ1DxRygU3Zw0iA202+P34KtEyYDmHMaf8JaQERMTSm6r1BXB66MGjPFx1PnyvcJETDsBliHN
Mq/lV3QwPBTeXKzfurfet3CoOwPWDSxL5u81EKOun+/GFSwbWxYvNGEXiwEXnRlVRE2thc6uJ
PauRzgrCCqLTWKpufGrc6OYxA7t8vzuVhrkiRcBiXzv56qRIJ1Rj1KJQ4bvrWv0dxwhnARjwj
/oaBP9cgA6KKAgB810Wfp/GE2LAyejqpPXkn4mfbVZ+z18vrXfm1EXKaV3b3JPxh6hUg0ihYp
D6ISnbR0ceWrCwOG1G1j4q7gSmrqDkxAD4Fo0Xkaz/YOCUVsDsj10T42VOQBkC8fvmSHb261f
JUj+9itC35C9UsytxoA1c6NtmiPHZjfG8sKnhTcg+DRubBOucHzdKkITkM12lSsnwc+Ap1IFe
Fr9ddA==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZUlamDJK1MaZnbSJ@hermes.hilbert.loc>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
<25928.40072.353056.140342@ixdm.fritz.box>
 by: Karsten Hilbert - Mon, 6 Nov 2023 21:28 UTC

Am Mon, Nov 06, 2023 at 08:58:00AM +0100 schrieb Dieter Maurer:

> I know that debian packagers create debian packages
> from Python distributions not using the approach sketched above
> and likely they have their reasons.
>
> You might want to discuss this on an `apt` related mailing list.

Yeah, I guess. I know all this stuff about python modules
being packaged for Debian and how apt handles dependencies
etc etc.

I had just hoped someone here might have a handy pointer for
how to deal with modules having to be installed from pip for
use with an apt-installed python-based application.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

Re: pip/pip3 confusion and keeping up to date

<mailman.178.1699307042.3828.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=24381&group=comp.lang.python#24381

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: mat...@wichmann.us (Mats Wichmann)
Newsgroups: comp.lang.python
Subject: Re: pip/pip3 confusion and keeping up to date
Date: Mon, 6 Nov 2023 14:43:47 -0700
Lines: 9
Message-ID: <mailman.178.1699307042.3828.python-list@python.org>
References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
<25928.40072.353056.140342@ixdm.fritz.box>
<ZUlamDJK1MaZnbSJ@hermes.hilbert.loc>
<669042dc-a16a-4a56-b374-b39cd7b8f6d7@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de /rO0e0DzzY2WpgRWjurF9AMlx52TSrbzivq6wkasUOTw==
Cancel-Lock: sha1:MVJtqqTWktIArSzh7mQ7h183OGQ= sha256:yol0M9JHIkUhi3xmJHs2fIdeiW+gWO91Gz5roRRJJo8=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=pobox.com header.i=@pobox.com header.b=p/Ye0Gxc;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.020
X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'pip': 0.04; 'modules':
0.07; 'karsten': 0.09; 'python-based': 0.09; "shouldn't": 0.09;
'received:173': 0.13; 'hilbert': 0.16; 'subject:pip': 0.16;
'wrote:': 0.16; 'to:addr:python-list': 0.20; 'application.': 0.22;
'installed': 0.23; 'header:User-Agent:1': 0.30; 'packages': 0.31;
'python-list': 0.32; 'someone': 0.34; 'header:In-Reply-To:1':
0.34; 'question.': 0.35; 'received:192.168': 0.37; 'use': 0.39;
'happen': 0.40; 'here': 0.62; 'hoped': 0.69; 'within': 0.69;
'deal': 0.73; 'supposed': 0.76; 'pointer': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
:date:mime-version:subject:to:references:from:in-reply-to
:content-type:content-transfer-encoding; s=sasl; bh=FoQMUXx3BiiM
hDqzIxNe4K8gbsCUyLqfNKJNkb9NHwk=; b=p/Ye0Gxco/3yfktOHYzRsO1yoZaq
qBUdqpiHWrMsTjrBH/EPzyOVpsbBKoA3Bg8fE1VpX9Zlzrwn2gQEB7gOaby+vBa5
n+/3TsjgrQ4OB/GgNfEL/5v9N/9QT6E+N/p5AME1A1K6wYnl7BW0y+U8gCWwschh
S6YT5s/z9Ke9W0w=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
s=2018-07.pbsmtp; bh=FoQMUXx3BiiMhDqzIxNe4K8gbsCUyLqfNKJNkb9NHwk=;
b=gVGrdp5egZM+j8lQf8egfQLsvHrO7KzvTfEK8YZO7v2Wk9UzFkSHcA40G7sTn8vc0LZPEUQtIhnCnZunMFDC72qjbxeMo0ayxSjTH30KU9jVafhGwo7dz1jSycbD1Uhezyk+u/WQrPTZtIo+mN8zRfnDQoUxVbR4Ydwkt5/FGLs=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83JOYG+SBEA3P
v7iZx70qpQ3RzP7KrjF1Nm6j0em9ccUX2fPQUCAxXw5Hiq7CSMiwQQZRI6shcnyMh9XTKViT
WK5MrKDyvjDEn7epjKzKwPS5SG039l6XaOKU0A4uGwCgsNqUQqC0gMMcbKlJV8ql58iKmbMD
/ii8FPQrXmyS/FnsPs7UddV5qMHKm7NUH5oiKuMVyakInRyq9iIxuu3D4Ec6mWRKcGsjmIkW
HXCSz0aefs6dsqNqpU54cYioJ3wP5LzHK7oclgJPryVt5Qezbdutf8SQf8gVkaNIlkxwGUzi
bKTZ6CHzwlz9nNgeel0XPUcZzFxGA/4paeCg2rMSVuAhUQbsLYHu4XzTs9P16zaXkrtxc4m5
b+BF5xsLgTpyO5l859XudS2Gp+7/Y37dAU4QlyGGOboWmF1y9U5DnzBwG8ghsnym+ga58MJh
LdRdQQ6xQolCpEXOuzm40f2r5uMxF3KOJ7WpIPuGAkeCPru9BmlATH+zOs0gTWF0cyBXaWNo
bWFubiA8bWF0c0B3aWNobWFubi51cz7CYQQTEQIAIQIbAwYLCQgHAwIDFQIDAxYCAQIeAQIX
gAUCT0VyZwIZAQAKCRDAMaCQc9hUxiZBAJ9cWziGp7hVfsu5T+cQptc3rLNndQCgrZh8u5LW
BfJ5e/Y+3PwZ8UEm+ELOwE0EP5is8BAEAMtwzcA8TYf5UTjDMgwcSNoErTc9ag+IX05QFgL8
aF8sfJRv5atcitqQy0gSIsOzI+L/AFdPN/+QQI3dL1tCq14t32KPDtigDhzm6jVPXX5z+V9u
xnD8XTp+ZvNcWoHXjViM8aXeLLEiCpiVCho307h3XShvqoKINWRQWeAsKKDDAAMFA/48zaey
wiiEyvI0meJ1KkNHxdLP0yLODr1WV6j9xkPkLWOaIDw7dlwEOlF1N1YtZ2wa0p1wsttdIbIx
ffgwXmcH4zrdxUIMz3U0BqYzk5H+5cYFXECXTFVOmweS+JECYMj80PjRoKCO1eVO1N30zksB
36NnhZWPRWIhjK3ZarIYH8JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <ZUlamDJK1MaZnbSJ@hermes.hilbert.loc>
X-Pobox-Relay-ID: 91D778B4-7CED-11EE-8D38-A19503B9AAD1-81526775!pb-smtp21.pobox.com
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <669042dc-a16a-4a56-b374-b39cd7b8f6d7@wichmann.us>
X-Mailman-Original-References: <oubc1k-3o6f.ln1@esprimo.zbmc.eu>
<slrnuk7e3r.73m.jon+usenet@raven.unequivocal.eu>
<17gd1k-866j.ln1@esprimo.zbmc.eu>
<slrnuk85hf.73m.jon+usenet@raven.unequivocal.eu>
<ZUT55o72DxVdI9PM@hermes.hilbert.loc>
<25925.7966.521097.868744@ixdm.fritz.box>
<ZUgU1KatZn7TJQ3p@hermes.hilbert.loc>
<25928.40072.353056.140342@ixdm.fritz.box>
<ZUlamDJK1MaZnbSJ@hermes.hilbert.loc>
 by: Mats Wichmann - Mon, 6 Nov 2023 21:43 UTC

On 11/6/23 14:28, Karsten Hilbert via Python-list wrote:

> I had just hoped someone here might have a handy pointer for
> how to deal with modules having to be installed from pip for
> use with an apt-installed python-based application.

That just shouldn't happen - such packages are supposed to be
dependency-complete within the packaging universe in question.

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor