Skip to content

Commit

Permalink
fix: Pin pymoneyed<1.0
Browse files Browse the repository at this point in the history
It changed `Money.__repr__` which is a minor, but incompatible change.
  • Loading branch information
Stranger6667 committed Jan 9, 2021
1 parent 63088db commit 1eefe22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Changelog

- Improved localization: New setting ``CURRENCY_DECIMAL_PLACES_DISPLAY`` configures decimal places to display for each configured currency `#521`_ (`wearebasti`_)

**Fixed**

- Pin ``pymoneyed<1.0`` as it changed the ``repr`` output of the ``Money`` class.

`1.2.2`_ - 2020-12-29
---------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def find_version():
maintainer_email="greg@reinbach.com",
license="BSD",
packages=find_packages(include=["djmoney", "djmoney.*"]),
install_requires=["setuptools", "Django>=1.11", "py-moneyed>=0.8"],
install_requires=["setuptools", "Django>=1.11", "py-moneyed>=0.8,<1.0"],
python_requires=">=3.5",
platforms=["Any"],
keywords=["django", "py-money", "money"],
Expand Down

0 comments on commit 1eefe22

Please sign in to comment.