Skip to content

Conversation

@McKeev
Copy link

@McKeev McKeev commented Jun 27, 2025

✅ Pull Request: Stable 1.0.0 Release — Modernized & Backward Compatible

Summary

This PR upgrades the Global Macro Database Python package from 0.3.1 to 1.0.0, marking it as a stable, production-ready release.

Key improvements:

  • ✅ Rename gmd() to get_data(); more pythonic, results in clearer calls such as gmd.get_data()
  • ✅ Refactor list functions from old gmd() function to standalone functions.
  • ✅ Modify list_countries and list_variables to return DFs (default) or dict.
  • ✅ Add ability to use country name instead of ISO code in get_data().
  • ✅ Remove print statements in favour of logging and custom error handling for easier debugging.
  • ✅ Migrated to pyproject.toml (PEP 621) with setuptools.build_meta.
  • ✅ Cleaned up legacy setup.py usage — fully PEP 517 compatible.
  • ✅ Confirmed backward compatibility for Python 3.8+ (pip 19+, setuptools 42+).
  • ✅ Improved tox matrix for cross-version testing — Python 3.8 onwards
  • ✅ Robust test coverage for all main functions.
  • ✅ Removed local .egg-info and ensured .gitignore is clean.

Highlights

  • Version bump1.0.0 reflects stable, documented API.
  • Better install experience → no setup.py needed, works out-of-the-box with modern Python.
  • Compatible with older Python 3.8+ environments.
  • Test matrix confirmed across multiple Python/Pandas combos.
  • Ready for future PyPI packaging.

Notes

  • This PR does not introduce breaking changes — only standardizes and modernizes packaging.
  • Please check that your local environment uses pip>=19 to fully respect pyproject.toml.
  • Recommend tagging this PR with Release: 1.0.0 once merged.

✅ Ready to merge

Kindly review & merge when convenient — happy to tweak anything if you need adjustments!


Thanks!
— Cedric

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.

1 participant