Skip to content

Add unit coverage for uninstall top_level.txt fallback#13808

Open
inerttila wants to merge 1 commit intopypa:mainfrom
inerttila:test-uninstall-top-level-fallback
Open

Add unit coverage for uninstall top_level.txt fallback#13808
inerttila wants to merge 1 commit intopypa:mainfrom
inerttila:test-uninstall-top-level-fallback

Conversation

@inerttila
Copy link

  • Add a unit test for UninstallPathSet.from_dist() when setuptools flat-install metadata exists but declared entries are unavailable.
  • Exercise the top_level.txt fallback branch and assert namespace packages from namespace_packages.txt are excluded.
  • Add a .trivial.rst news marker since this is a test-only change.

nox -s test-3.13 -- tests/unit/test_req_uninstall.py -k top_level_fallback

- Add a unit test for `UninstallPathSet.from_dist()` when setuptools flat-install metadata exists but declared entries are unavailable.
- Exercise the `top_level.txt` fallback branch and assert namespace packages from `namespace_packages.txt` are excluded.
- Add a `.trivial.rst` news marker since this is a test-only change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments