Skip to content

Bump py-moneyed from 0.8.0 to 1.1#94

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 18, 2021

Bumps py-moneyed from 0.8.0 to 1.1.

Changelog

Sourced from py-moneyed's changelog.

============ Change log

Significant or incompatible changes listed here.

Unreleased - TBA

  • 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 (2020-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.

      Note especially that you need to specify locale (e.g. locale="en_US"), or you will get the LC_NUMERIC default.

    • Deprecated the format_money function in moneyed.localization. There is no immediate plan to remove, but it should not be relied on. Also, this function relies on our own manually entered data for formatting of currencies in different locales. This data is very incomplete and will not be updated any more.

      So you need to use moneyed.l10n.format_money instead now.

      If you were relying on the decimal_places argument to the old function, there is no exact equivalent in the new format_money function, but see the decimal_quantization option (documented in babel.numbers.format_currency <http://babel.pocoo.org/en/latest/api/numbers.html#babel.numbers.format_currency>_)

    • Money.__str__ (Money.__unicode__ on Python 2) now uses new

... (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 Jan 18, 2021
@coveralls
Copy link

coveralls commented Jan 18, 2021

Coverage Status

Coverage remained the same at 98.79% when pulling 4366616 on dependabot/pip/py-moneyed-1.1 into 131a22a on master.

@dependabot dependabot bot force-pushed the dependabot/pip/py-moneyed-1.1 branch from 49e4a2f to 4366616 Compare January 29, 2021 21:53
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 24, 2021

Superseded by #100.

@dependabot dependabot bot closed this Feb 24, 2021
@dependabot dependabot bot deleted the dependabot/pip/py-moneyed-1.1 branch February 24, 2021 06: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