Skip to content

Update humanize to 2.2.0#325

Open
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-humanize-0.5.1-to-2.2.0
Open

Update humanize to 2.2.0#325
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-humanize-0.5.1-to-2.2.0

Conversation

@pyup-bot
Copy link
Contributor

This PR updates humanize from 0.5.1 to 2.2.0.

Changelog

2.2.0

Added

* Add Ukrainian (125) tuxlabore

Changed

* Update translations (126) hugovk

2.1.0

Added

* Add `ndigits` option to `intcomma` (123) hugovk
* Show more than bytes for negative file sizes (122) hugovk

Fixed

* Fix: AP style for 0 is 'zero' (121) hugovk

2.0.0

**Note: Humanize 1.1.0 was meant to be tagged 2.0.0 because it drops support for Python 2, so is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.**

Added

* Disambiguate naturaldate return: only append year if more than ~5 months away (107) hugovk
* Add scientific notation to string support (110) Thx3r hugovk
* Add micro- and millisecond units to naturaldelta and naturaltime (104) hugovk

Changed

* Disambiguate naturaldate return: only append year if more than ~5 months away (107) hugovk
* Convert remaining tests to use pytest.mark.parametrize (109) hugovk
* Refactor some tests to use pytest.mark.parametrize (108) hugovk

Removed

* Drop support for EOL Python 2 (102) hugovk

Fixed

* Fix intword returning 1000.0 million instead of 1.0 billion (113) Jasarin-V hugovk

1.1.0

**Note: This was meant to be tagged 2.0.0 because it drops support for Python 2, and is also released as 2.0.0. If you still support Python 2, use Humanize 1.0.0.**

Added

* Disambiguate naturaldate return: only append year if more than ~5 months away (107) hugovk
* Add scientific notation to string support (110) Thx3r hugovk
* Add micro- and millisecond units to naturaldelta and naturaltime (104) hugovk

Changed

* Disambiguate naturaldate return: only append year if more than ~5 months away (107) hugovk
* Convert remaining tests to use pytest.mark.parametrize (109) hugovk
* Refactor some tests to use pytest.mark.parametrize (108) hugovk

Removed

* Drop support for EOL Python 2 (102) hugovk

Fixed

* Fix intword returning 1000.0 million instead of 1.0 billion (113) Jasarin-V hugovk

1.0.0

* Supports Python 2.7 and 3.5+
* Version 1.x is the last to support EOL Python 2.7
* Add new translations:
* German
* Persian
* Dutch
* Finnish
* Brazilian Portuguese
* Indonesian
* Italian
* Japanese
* Simplified Chinese
* Slovak
* Turkish
* Vietnamese
* Update translations:
* French
* Korean
* Russian
* Include tests in release source tarball
* Python 3.6 invalid escape sequence deprecation fixes
* Use built-in mock from unittest when available (Python 3.4+)
Links

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

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