Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using Python money #2145

Merged
merged 2 commits into from
Oct 30, 2024
Merged

Stop using Python money #2145

merged 2 commits into from
Oct 30, 2024

Conversation

jonathangreen
Copy link
Member

Description

The Python money package is the only one that is stopping us from testing with Python 3.12. Its effectively abandoned, its last update was in 2016. This PR moves to using the python decimal.Decimal objects instead, since Money was just a small wrapper around this class anyway.

Motivation and Context

Allow us to run tests against Python 3.12.

How Has This Been Tested?

  • Running tests in CI

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@jonathangreen jonathangreen changed the title Stop using Python Money objects Stop using Python money Oct 30, 2024
@jonathangreen jonathangreen requested a review from a team October 30, 2024 18:42
Copy link
Contributor

@tdilauro tdilauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧

@jonathangreen jonathangreen merged commit f3568c1 into main Oct 30, 2024
18 checks passed
@jonathangreen jonathangreen deleted the chore/drop-python-money branch October 30, 2024 21:35
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.

2 participants