On 7/8/22 6:34 AM, Stephen J. Turnbull wrote:
David Newman writes:
Interesting -- that does produce two directories with names starting with a tilde:
/opt/mailman/venv/lib/python3.9/site-packages/~jango: /opt/mailman/venv/lib/python3.9/site-packages/~jango-3.0.14.dist-info:
I would guess that those are the previous versions before the upgrade, moved out of the way in case a revert-to-previous was needed. Again, guessing, they should have been removed by the upgrade process once the new package was fully installed. Was there an interrupted or partially successful upgrade in the past?
When pip is doing an upgrade of the xyz package, it renames the existing package as ~yz and then ultimately deletes the old ~yz package after successfully installing the new xyz. In this case, the upgrade was aborted because of the Django<3.1 constraint in mailman-web and apparently pip then installed Django<3.1 and left the ~jango* directories behind.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan