On 01:45 pm, c...@dirtcircle.com wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Alex wrote:
REQUESTED is fine, but I don't understand how the arguments apply, given > that I'm not proposing to record information like _which_ package it was
> a dependency of. The same single bit (literally) of information is
> tracked either way, it's just a question of whether the presence or
> absence of a file signifies that bit.
>
And what if the package is a dependency for multiple packages?
Let's say we have packages A and B which are installed separately, in
that order, and both depend on C.
C gets installed with information that it was required by A. Now if A is
uninstalled, won't C also get uninstalled?

No. We are NOT talking about recording the full dependency graph in
package metadata. It is, as has always been the case, up to an uninstall
tool to calculate the depgraph based on actual installed packages at
runtime. A package is "orphaned" iff it was not REQUESTED by the user
AND it is no longer depended on by other installed packages.

By doing this, I think you're dooming any Python package uninstaller to be unpleasantly slow.

Jean-Paul
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to