Hi Scott (2023.02.28_10:24:34_-0400)
> > At the moment, I don't think this would affect much, but it would give
> > python installers more information about what's going on. In pip's case,
> > it can disable its own "outdated version of pip" notifications when it
> > detects that it wasn't installed by pip. That allows us to drop a patch
> > in pip.
> 
> Would it make more sense to mimic the PEP 668 terminology and say installer 
> is 
> "EXTERNALLY-MANAGED".  Then pip wouldn't need to keep a list of installers to 
> ignore.  Distros could all just use that.

In pip, it's the other way around. Not a list of known things to leave
alone, but just a sanity check that it was installed by pip, not
something else:

https://github.com/pypa/pip/blob/30fd549c77031275b9f2bde2b30a7f614780939c/src/pip/_internal/self_outdated_check.py#L146-L153

I don't think "EXTERNALLY-MANAGED" would be the right thing to put in
INSTALLER. It doesn't fit within the description of the file.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Attachment: signature.asc
Description: PGP signature

Reply via email to