Skip to content

Remove pkg_resources version lookup#40

Draft
Mirochill wants to merge 1 commit into
bookieio:masterfrom
Mirochill:fix-39-remove-pkg-resources
Draft

Remove pkg_resources version lookup#40
Mirochill wants to merge 1 commit into
bookieio:masterfrom
Mirochill:fix-39-remove-pkg-resources

Conversation

@Mirochill

Copy link
Copy Markdown

Summary

  • Remove the import-time pkg_resources lookup from breadability.__version__.
  • Keep the package version available without adding a new runtime dependency, preserving the existing old-Python compatibility surface.
  • Add a small regression test for the exposed package version.

Fixes #39

Validation

  • git diff --check HEAD~1..HEAD
  • rg -n pkg_resources|get_distribution|DistributionNotFound|resource_filename|load_entry_point breadability tests setup.py requirements.txt (no matches)
  • Not run locally: test suite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tip: ModuleNotFoundError: No module named 'pkg_resources' with setuptools >= 82.0.0

1 participant