- update to 1.3.0
* [ADDED] Added official support for Python 3.11 and 3.12.
* [ADDED] Added dependency on types-python-dateutil to improve Arrow mypy compatibility. PR #1102
* [FIX] Updates to Italian, Romansh, Hungarian, Finish and Arabic locales.
* [FIX] Handling parsing of UTC prefix in timezone strings.
* [CHANGED] Update documentation to improve readability.
* [CHANGED] Dropped support for Python 3.6 and 3.7, which are end-of-life.
* [INTERNAL Migrate from setup.py/Twine to pyproject.toml/Flit for packaging and distribution. (forwarded request 1126469 from mimi_vx)
OBS-URL: https://build.opensuse.org/request/show/1126470
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=29
- update to 1.3.0
* [ADDED] Added official support for Python 3.11 and 3.12.
* [ADDED] Added dependency on types-python-dateutil to improve Arrow mypy compatibility. PR #1102
* [FIX] Updates to Italian, Romansh, Hungarian, Finish and Arabic locales.
* [FIX] Handling parsing of UTC prefix in timezone strings.
* [CHANGED] Update documentation to improve readability.
* [CHANGED] Dropped support for Python 3.6 and 3.7, which are end-of-life.
* [INTERNAL Migrate from setup.py/Twine to pyproject.toml/Flit for packaging and distribution.
OBS-URL: https://build.opensuse.org/request/show/1126469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=63
- update to 1.2.1:
* Added quarter granularity to humanize
* Added Sinhala and Urdu locales
* Support Python 3.10
* Updated Azerbaijani, Hebrew, and Serbian locale
* Added Albanian, Tamil and Zulu locales.
* Added support for Decimal as input to arrow.get().
* The Estonian, Finnish, Nepali and Zulu locales now support dehumanize.
* Improved validation checks when using parser tokens A and hh.
* Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.
OBS-URL: https://build.opensuse.org/request/show/929904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=23
* Added quarter granularity to humanize
* Added Sinhala and Urdu locales
* Support Python 3.10
* Updated Azerbaijani, Hebrew, and Serbian locale
* Added Albanian, Tamil and Zulu locales.
* Added support for Decimal as input to arrow.get().
* The Estonian, Finnish, Nepali and Zulu locales now support dehumanize.
* Improved validation checks when using parser tokens A and hh.
* Minor bug fixes to Catalan, Cantonese, Greek and Nepali locales.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=53
* Added Odia, Maltese, Serbian, Sami, and Luxembourgish locales.
* All calls to ``arrow.get()`` should now properly pass the ``tzinfo``
argument to the Arrow constructor.
* Humanize output is now properly truncated when a locale class
overrides ``_format_timeframe()``.
* Updated Turkish locale and added tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=52
- update to 1.1.0:
* [NEW] Implemented the ``dehumanize`` method for ``Arrow`` objects.
* [NEW] Made the start of the week adjustable when using ``span("week")``
* [NEW] Added Croatian, Latin, Latvian, Lithuanian and Malay locales.
* [FIX] Internally standardize locales and improve locale validation.
* [FIX] Correct type checking for ``arrow.get(2021, 3, 9)`` construction.
* [FIX] Audited all docstrings for style, typos and outdated info.
OBS-URL: https://build.opensuse.org/request/show/894168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=21
* [NEW] Implemented the ``dehumanize`` method for ``Arrow`` objects.
* [NEW] Made the start of the week adjustable when using ``span("week")``
* [NEW] Added Croatian, Latin, Latvian, Lithuanian and Malay locales.
* [FIX] Internally standardize locales and improve locale validation.
* [FIX] Correct type checking for ``arrow.get(2021, 3, 9)`` construction.
* [FIX] Audited all docstrings for style, typos and outdated info.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=50
- Update to 1.0.3:
* [FIX] Updated internals to avoid issues when running mypy --strict.
* [FIX] Corrections to Swedish locale.
* [INTERNAL] Lowered required coverage limit until humanize month tests are
fixed.
* [FIXED] Fixed an OverflowError that could occur when running Arrow on a
32-bit OS.
* [FIXED] A py.typed file is now bundled with the Arrow package to conform
to PEP 561.
* [CHANGE] Arrow has dropped support for Python 2.7 and 3.5.
* [CHANGE] There are multiple breaking changes with this release, please see
the migration guide for a complete overview.
* [CHANGE] Made humanize granularity="auto" limits more accurate to reduce
strange results.
* [NEW] Added support for Python 3.9.
* [NEW] Added a new keyword argument "exact" to span, span_range and
interval methods. This makes timespans begin at the start time given and
not extend beyond the end time given.
* [NEW] Arrow now natively supports PEP 484-style type annotations.
* [FIX] Fixed handling of maximum permitted timestamp on Windows systems.
* [FIX] Corrections to French, German, Japanese and Norwegian locales.
OBS-URL: https://build.opensuse.org/request/show/877856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=19
* [FIX] Updated internals to avoid issues when running mypy --strict.
* [FIX] Corrections to Swedish locale.
* [INTERNAL] Lowered required coverage limit until humanize month tests are
fixed.
* [FIXED] Fixed an OverflowError that could occur when running Arrow on a
32-bit OS.
* [FIXED] A py.typed file is now bundled with the Arrow package to conform
to PEP 561.
* [CHANGE] Arrow has dropped support for Python 2.7 and 3.5.
* [CHANGE] There are multiple breaking changes with this release, please see
the migration guide for a complete overview.
* [CHANGE] Made humanize granularity="auto" limits more accurate to reduce
strange results.
* [NEW] Added support for Python 3.9.
* [NEW] Added a new keyword argument "exact" to span, span_range and
interval methods. This makes timespans begin at the start time given and
not extend beyond the end time given.
* [NEW] Arrow now natively supports PEP 484-style type annotations.
* [FIX] Fixed handling of maximum permitted timestamp on Windows systems.
* [FIX] Corrections to French, German, Japanese and Norwegian locales.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=45
added version requirement for dateutil
- update to version 0.16.0:
* [WARN] Arrow will drop support for Python 2.7 and 3.5 in the 1.0.0
release in late September. The 0.16.x and 0.17.x releases are the
last to support Python 2.7 and 3.5.
* [NEW] Implemented PEP 495 to handle ambiguous datetimes. This is
achieved by the addition of the fold attribute for Arrow objects.
* [NEW] Added normalize_whitespace flag to arrow.get. This is useful
for parsing log files and/or any files that may contain
inconsistent spacing.
OBS-URL: https://build.opensuse.org/request/show/835594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=41
- specfile:
* update copyright year
- update to version 0.15.5:
* [WARN] Python 2 reached EOL on 2020-01-01. arrow will drop support
for Python 2 in a future release to be decided (see #739).
* [NEW] Added bounds parameter to span_range, interval and span
methods. This allows you to include or exclude the start and end
values.
* [NEW] arrow.get() can now create arrow objects from a timestamp
with a timezone, for example:
>>> arrow.get(1367900664, tzinfo=tz.gettz('US/Pacific'))
<Arrow [2013-05-06T21:24:24-07:00]>
* [NEW] humanize can now combine multiple levels of granularity, for
example:
>>> later140 = arrow.utcnow().shift(seconds=+8400)
>>> later140.humanize(granularity="minute")
'in 139 minutes'
>>> later140.humanize(granularity=["hour", "minute"])
'in 2 hours and 19 minutes'
* [NEW] Added Hong Kong locale (zh_hk).
* [NEW] Added humanize week granularity translation for Dutch.
* [NEW] Numbers are now displayed when using the seconds granularity
in humanize.
* [CHANGE] range now supports both the singular and plural forms of
the frames argument (e.g. day and days).
* [FIX] Improved parsing of strings that contain punctuation.
* [FIX] Improved behaviour of humanize when singular seconds are
involved.
OBS-URL: https://build.opensuse.org/request/show/761075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=13