Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Bump arrow from 0.16.0 to 1.2.1 #284

Closed
wants to merge 1 commit into from
Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 28, 2021

Bumps arrow from 0.16.0 to 1.2.1.

Release notes

Sourced from arrow's releases.

Version 1.2.1

  • [NEW] Added quarter granularity to humanize, for example:
    >>> import arrow
    >>> now = arrow.now()
    >>> four_month_shift = now.shift(months=4)
    >>> now.humanize(four_month_shift, granularity="quarter")
    'a quarter ago'
    >>> four_month_shift.humanize(now, granularity="quarter")
    'in a quarter'
    >>> thirteen_month_shift = now.shift(months=13)
    >>> thirteen_month_shift.humanize(now, granularity="quarter")
    'in 4 quarters'
    >>> now.humanize(thirteen_month_shift, granularity="quarter")
    '4 quarters ago'
  • [NEW] Added Sinhala and Urdu locales.
  • [NEW] Added official support for Python 3.10.
  • [CHANGED] Updated Azerbaijani, Hebrew, and Serbian locales and added tests.
  • [CHANGED] Passing an empty granularity list to humanize now raises a ValueError.

Commits since last release

New Contributors

Full Diff: arrow-py/arrow@1.2.0...1.2.1

Version 1.2.0

  • [NEW] Added Albanian, Tamil and Zulu locales.
  • [NEW] Added support for Decimal as input to arrow.get().

... (truncated)

Changelog

Sourced from arrow's changelog.

1.2.1 (2021-10-24)

  • [NEW] Added quarter granularity to humanize, for example:

.. code-block:: python

>>> import arrow
>>> now = arrow.now()
>>> four_month_shift = now.shift(months=4)
>>> now.humanize(four_month_shift, granularity="quarter")
'a quarter ago'
>>> four_month_shift.humanize(now, granularity="quarter")
'in a quarter'
>>> thirteen_month_shift = now.shift(months=13)
>>> thirteen_month_shift.humanize(now, granularity="quarter")
'in 4 quarters'
>>> now.humanize(thirteen_month_shift, granularity="quarter")
'4 quarters ago'
  • [NEW] Added Sinhala and Urdu locales.
  • [NEW] Added official support for Python 3.10.
  • [CHANGED] Updated Azerbaijani, Hebrew, and Serbian locales and added tests.
  • [CHANGED] Passing an empty granularity list to humanize now raises a ValueError.

1.2.0 (2021-09-12)

  • [NEW] Added Albanian, Tamil and Zulu locales.
  • [NEW] Added support for Decimal as input to arrow.get().
  • [FIX] The Estonian, Finnish, Nepali and Zulu locales now support dehumanize.
  • [FIX] Improved validation checks when using parser tokens A and hh.
  • [FIX] Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.

1.1.1 (2021-06-24)

  • [NEW] Added Odia, Maltese, Serbian, Sami, and Luxembourgish locales.
  • [FIXED] All calls to arrow.get() should now properly pass the tzinfo argument to the Arrow constructor. See PR [#968](https://github.com/arrow-py/arrow/issues/968) <https://github.com/arrow-py/arrow/pull/968/>_ for more info.
  • [FIXED] Humanize output is now properly truncated when a locale class overrides _format_timeframe().
  • [CHANGED] Renamed requirements.txt to requirements-dev.txt to prevent confusion with the dependencies in setup.py.
  • [CHANGED] Updated Turkish locale and added tests.

1.1.0 (2021-04-26)

  • [NEW] Implemented the dehumanize method for Arrow objects. This takes human readable input and uses it to perform relative time shifts, for example:

.. code-block:: python

... (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)

Bumps [arrow](https://github.com/arrow-py/arrow) from 0.16.0 to 1.2.1.
- [Release notes](https://github.com/arrow-py/arrow/releases)
- [Changelog](https://github.com/arrow-py/arrow/blob/master/CHANGELOG.rst)
- [Commits](arrow-py/arrow@0.16.0...1.2.1)

---
updated-dependencies:
- dependency-name: arrow
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 28, 2021
@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #284 (6d736c7) into main (b6d7e88) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #284   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files           8        8           
  Lines         357      357           
=======================================
  Hits          339      339           
  Misses         18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6d7e88...6d736c7. Read the comment docs.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 27, 2022

Superseded by #294.

@dependabot dependabot bot closed this Jan 27, 2022
@dependabot dependabot bot deleted the dependabot/pip/arrow-1.2.1 branch January 27, 2022 20:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants