Skip to content

Conversation

@oschwald
Copy link
Member

Summary

  • The version is now retrieved from package metadata at runtime using importlib.metadata
  • This reduces the chance of version inconsistencies during releases
  • Follows the pattern already established in maxminddb

Test plan

  • All tests pass (uv run tox)
  • Verified geoip2.__version__ returns correct value at runtime
  • Verify Read the Docs builds correctly (RTD config already has python.install section)

🤖 Generated with Claude Code

The version is now retrieved from package metadata at runtime using
importlib.metadata. This reduces the chance of version inconsistencies
during releases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@oschwald
Copy link
Member Author

I did a test Read the Docs build with this and it seemed to work fine.

@horgh horgh merged commit 322bdff into main Nov 26, 2025
47 checks passed
@horgh horgh deleted the greg/eng-2777 branch November 26, 2025 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants