Re: Bug#901001: python3-minimal should Pre-Depend on python3.N-minimal
On 09.06.2018 18:31, Matthias Klose wrote:
On 09.06.2018 11:55, Philipp Kern wrote:
On 6/9/18 7:20 AM, Steve Langasek wrote:
- the package is being upgraded; it is in the common case (when no python
module names have been dropped from within the package) less important to
run py3clean because the same files will be recreated shortly afterwards
by py3compile from the new postinst.
What's the consequence from deleting the files and only recreating them
later? Longer startup time of the interpreter in that short window?
yes, that's the only thing.
Because if it's worse, it'd be good to have py3clean only delete the
obsolete files in the postinst?
but as written in the bug report, there is another solution, to have py3clean
search for the interpreter it uses, and which doesn't need the pre-dependency.