Skip to content

Fix pkg_resources, modernize packaging, add CI#109

Merged
jdidion merged 3 commits into
developfrom
maintenance/modernize-packaging
Jun 14, 2026
Merged

Fix pkg_resources, modernize packaging, add CI#109
jdidion merged 3 commits into
developfrom
maintenance/modernize-packaging

Conversation

@jdidion

@jdidion jdidion commented Mar 22, 2026

Copy link
Copy Markdown
Owner

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>
@jdidion jdidion merged commit ada919a into develop Jun 14, 2026
3 checks passed
@jdidion jdidion deleted the maintenance/modernize-packaging branch June 14, 2026 14:07
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