• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 19048408849

03 Nov 2025 08:30PM UTC coverage: 80.3% (+0.005%) from 80.295%
19048408849

push

github

web-flow
remove plugin support for `pkg_resources`-style  namespace packages (#22854)

Remove support for `pkg_resources`-style namespace packages for Pants
plugins.

Given Pants rule code uses Python 3, plugins should instead just use
["native namespace
packages"](https://packaging.python.org/en/latest/guides/packaging-namespace-packages/#native-namespace-packages)
as per [PEP 420](https://peps.python.org/pep-0420/). This basically just
means omitting the top-level `__int__.py` file.

This removes the final `pkg_resources` usage which also was causing a
deprecation warning.

77992 of 97126 relevant lines covered (80.3%)

3.35 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.69
/src/python/pants/pantsd/lock_test.py


Build SHA Not Found

The commit SHA "86579fb37bd4e0d1f7d8a4a39c5f3f354560db3f" was not found in your repository, so the file cannot be loaded. This may be because you posted from a local development environment, or your CI created an ephemeral commit.

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc