uv/crates/puffin-cli/tests
Charlie Marsh e8108cb28b
Remove `__pycache__` directories when uninstalling (#397)
According to the [packaging
documentation](https://packaging.python.org/en/latest/specifications/binary-distribution-format/#binary-distribution-format),
"uninstallers should be smart enough to remove .pyc even if it is not
mentioned in RECORD". Previously, we weren't handling this case, so if
you installed via Puffin, then imported a file (to trigger bytecode
compilation), then uninstalled, we'd leave spare `__pycache__`
directories around.

Closes https://github.com/astral-sh/puffin/issues/395.
2023-11-10 14:55:33 -05:00
..
common Use shared insta filters (#270) 2023-11-02 16:42:59 +01:00
snapshots Remove `__pycache__` directories when uninstalling (#397) 2023-11-10 14:55:33 -05:00
add.rs Use shared insta filters (#270) 2023-11-02 16:42:59 +01:00
pip_compile.rs Support resolving for an alternate Python distribution (#364) 2023-11-08 23:19:16 +00:00
pip_sync.rs Respect direct URLs in puffin installer (#345) 2023-11-07 09:11:27 -05:00
pip_uninstall.rs Remove `__pycache__` directories when uninstalling (#397) 2023-11-10 14:55:33 -05:00
remove.rs Use shared insta filters (#270) 2023-11-02 16:42:59 +01:00
venv.rs Use shared insta filters (#270) 2023-11-02 16:42:59 +01:00