Skip to content

Bump py-moneyed from 0.8.0 to 2.0#109

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/py-moneyed-2.0
Closed

Bump py-moneyed from 0.8.0 to 2.0#109
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/py-moneyed-2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 27, 2021

Bumps py-moneyed from 0.8.0 to 2.0.

Release notes

Sourced from py-moneyed's releases.

Release 2.0

  • Dropped support for Python 2.7 and 3.5 and PyPy 2.
  • Added pyupgrade pre-commit hook.
  • Added black pre-commit hook and reformatted codebase.
  • Updated pre-commit hooks.
  • Replaced custom flake8, sort, and check-manifest Github Action jobs with a generic pre-commit job.
  • Dropped the moneyed.localization module that was deprecated and announced for removal in 1.0.
  • Added type hints along with a mypy pre-commit hook.
  • Added action for building and publishing releases, along with the check-github-workflows pre-commit hook for validating Github Action workflow files.
  • Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE constants, and change to make instantiating Money without providing a currency a type error. This used to result in an object with a made-up "XYZ" currency, which could lead to surprising behaviors and bugs.
  • Added zero property to Currency to conveniently access the zero value of a given currency.
  • Moved to use setuptool's declarative packaging config and PEP 517 isolated builds.
  • Removed requirements files and instead specified test requirements using extras.
Changelog

Sourced from py-moneyed's changelog.

2.0 (2021-05-26)

  • Dropped support for Python 2.7 and 3.5 and PyPy 2.
  • Added pyupgrade pre-commit hook.
  • Added black pre-commit hook and reformatted codebase.
  • Updated pre-commit hooks.
  • Replaced custom flake8, isort and check-manifest Github Action jobs with a generic pre-commit job.
  • Dropped the moneyed.localization module that was deprecated and announced for removal in 1.0.
  • Added type hints along with a mypy pre-commit hook.
  • Added action for building and publishing releases, along with the check-github-workflows pre-commit hook for validating Github Action workflow files.
  • Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE constants, and change to make instantiating Money without providing a currency a type error. This used to result in an object with a made-up "XYZ" currency, which could lead to surprising behaviors and bugs.
  • Added zero property to Currency to conveniently access the zero value of a given currency.
  • Moved to use setuptool's declarative packaging config and PEP 517 isolated builds.
  • Removed requirements files and instead specified test requirements using extras.

1.2 (2021-02-23)

  • Money.__add__ returns NotImplemented instead of raising an exception when another operand has unsupported type.

1.1 (2021-01-15)

  • Changed the numeric attribute values to None for currencies that don't have assigned ISO numeric codes: IMP, TVD, XFO, XFU.
  • Restored the previous definition for the XXX currency, including its name and countries attributes.
  • Fixed get_currency returning obsolete currencies.

1.0 (2021-01-09)

  • Dropped official support for Python 2.6, 3.2, 3.3, 3.4 (mainly because our test tools don't support them any more).

  • Added support for getting amount in sub units (fixed point)

  • Format Money instances using CLDR and Babel. This is a large change with lots of parts. Many thanks to @​pooyamb for all the hard work that went into this and other related changes.

    • Added new moneyed.l10n module, containing a new format_money function. This is a very thin wrapper around babel.numbers.format_currency <http://babel.pocoo.org/en/latest/api/numbers.html#babel.numbers.format_currency>_ and has all the same options. This allows us to get the official CLDR formats for currencies, in all the different locales.

      See docs in README.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 27, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.8%) to 97.984% when pulling cba17fd on dependabot/pip/py-moneyed-2.0 into 131a22a on master.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 28, 2022

Superseded by #152.

@dependabot dependabot bot closed this Nov 28, 2022
@dependabot dependabot bot deleted the dependabot/pip/py-moneyed-2.0 branch November 28, 2022 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant