[20:58:53] <mtcdood> I'm concerned that I might have installed an upgraded package that won't work with another package. how can I downgrade when pip uninstall and pip install foo==version won't downgrade it?
[21:00:58] <toad_polo> mtcdood: How is `pip install foo==version` failing?
[21:01:48] <mtcdood> I have a tool that's supposed to show the dependency relationships between packages and it keeps insisting a newer version is installed than pip freeze does
[21:03:42] <mtcdood> I've seen this question asked a lot and I'm not seeing an answer, so I'm assuming there isn't one, but is there a way to uninstall pip-installed packages that nothing depends on and weren't manually installed?
[21:12:42] <toad_polo> mtcdood: `pip` doesn't keep track of that information.
[21:12:52] <toad_polo> There's not even a way to tell `pip` to "upgrade everything we installed".
[21:14:39] <toad_polo> Maybe that will change with the resolver, but I find that it's inexpensive enough to create a virtualenv that I just keep track of what dependencies I need for a given project in a `requirements.txt` or similar file, then periodically create a new virtualenv.
[21:14:55] <mtcdood> I need to be better about containers, virtual environments, so on
[21:15:19] <mtcdood> I'm really bad about turning personal projects from dev to production while still held together by duct tape and dental floss
[21:15:33] <toad_polo> `pipx` is really useful in this regard.
[21:15:36] <toad_polo> The only time I ever really want anything installed globally for my own use is when it's a tool that happens to be written in Python.
[21:15:46] <mtcdood> most permanent solution in the world is a temporary one that hasn't stopped working yet
[21:16:18] <mtcdood> I only have one primary thing installed; warcprox
[21:16:51] <mtcdood> thankfully this is a temporary system and needs to get combined with another to avoid paying for two servers, thought this web page archiving would use way more disk space