Skip to content

Fix pkg_resources, modernize packaging, add CI#109

Draft
jdidion wants to merge 3 commits intodevelopfrom
maintenance/modernize-packaging
Draft

Fix pkg_resources, modernize packaging, add CI#109
jdidion wants to merge 3 commits intodevelopfrom
maintenance/modernize-packaging

Conversation

@jdidion
Copy link
Copy Markdown
Owner

@jdidion jdidion commented Mar 22, 2026

Note: This MR was largely generated by Claude and has not been completely reviewed by me (the human). You should feel free to defer your review until this warning has been removed.

Summary

  • Fix pkg_resources is deprecated #108: Replace deprecated pkg_resources with importlib.metadata
  • Add pyproject.toml (PEP 621) alongside existing setup.py
  • Add GitHub Actions CI with Python 3.10/3.11/3.12 matrix + ruff lint

Test plan

  • Verify pkg_resources is no longer imported
  • Verify pip install -e . works
  • Verify tests pass on CI
  • Verify version detection works correctly

🤖 Generated with Claude Code

jdidion and others added 3 commits March 22, 2026 07:11
- Replace deprecated pkg_resources with importlib.metadata (fixes #108)
- Add pyproject.toml (PEP 621) alongside existing setup.py
- Add GitHub Actions CI with Python 3.10/3.11/3.12 matrix + ruff lint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pokrok 0.2.0 on PyPI uses versioneer which calls
configparser.SafeConfigParser() removed in Python 3.12.
Install from git branch with the fix until a new PyPI release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

pkg_resources is deprecated

1 participant