------------------------------------------------------------------- Fri Jan 12 12:18:48 UTC 2024 - Ben Greiner - Don't require types-python-dateutil gh#arrow-py/arrow#1169 in order to shrink the Factory Ring1 ------------------------------------------------------------------- Tue Nov 14 20:53:06 UTC 2023 - Ondřej Súkup - 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. ------------------------------------------------------------------- Tue Sep 12 11:06:13 UTC 2023 - Dirk Müller - drop unnecessary test dependencies to chai (it uses pytest now) ------------------------------------------------------------------- Fri Apr 21 12:21:59 UTC 2023 - Dirk Müller - add sle15_python_module_pythons (jsc#PED-68) ------------------------------------------------------------------- Sat Sep 10 15:40:55 UTC 2022 - Arun Persaud - update to version 1.2.3: * [NEW] Added Amharic, Armenian, Georgian, Laotian and Uzbek locales. * [FIX] Updated Danish locale and associated tests. * [INTERNAl] Small fixes to CI. ------------------------------------------------------------------- Mon Mar 7 10:52:28 UTC 2022 - pgajdos@suse.com - python-mock is actually not required ------------------------------------------------------------------- Sat Jan 29 17:37:07 UTC 2022 - Arun Persaud - specfile: * update copyright year - update to version 1.2.2: * [NEW] Added Kazakh locale. * [FIX] The Belarusian, Bulgarian, Czech, Macedonian, Polish, Russian, Slovak and Ukrainian locales now support dehumanize. * [FIX] Minor bug fixes and improvements to ChineseCN, Indonesian, Norwegian, and Russian locales. * [FIX] Expanded testing for multiple locales. * [INTERNAL] Started using xelatex for pdf generation in documentation. * [INTERNAL] Split requirements file into requirements.txt, requirements-docs.txt and requirements-tests.txt. * [INTERNAL] Added flake8-annotations package for type linting in pre-commit. ------------------------------------------------------------------- Sat Nov 6 17:33:37 UTC 2021 - Dirk Müller - 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. ------------------------------------------------------------------- Sun Jul 4 19:48:33 UTC 2021 - Dirk Müller - update to 1.1.1: * 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. ------------------------------------------------------------------- Tue May 18 22:06:04 UTC 2021 - Dirk Müller - 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. ------------------------------------------------------------------- Thu Apr 15 12:33:30 UTC 2021 - John Paul Adrian Glaubitz - Disable Python2 builds which are no longer supported upstream ------------------------------------------------------------------- Tue Mar 9 05:13:18 UTC 2021 - Steve Kowalik - 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. ------------------------------------------------------------------- Fri Oct 30 22:27:20 UTC 2020 - Arun Persaud - update to version 0.17.0: * [WARN] Arrow will drop support for Python 2.7 and 3.5 in the upcoming 1.0.0 release. This is the last major release to support Python 2.7 and Python 3.5. * [NEW] Arrow now properly handles imaginary datetimes during DST shifts. * [NEW] Added humanize week granularity translation for Tagalog. * [CHANGE] Calls to the timestamp property now emit a DeprecationWarning. In a future release, timestamp will be changed to a method to align with Python’s datetime module. If you would like to continue using the property, please change your code to use the int_timestamp or float_timestamp properties instead. * [CHANGE] Expanded and improved Catalan locale. * [FIX] Fixed a bug that caused Arrow.range() to incorrectly cut off ranges in certain scenarios when using month, quarter, or year endings. * [FIX] Fixed a bug that caused day of week token parsing to be case sensitive. * [INTERNAL] A number of functions were reordered in arrow.py for better organization and grouping of related methods. This change will have no impact on usage. * [INTERNAL] A minimum tox version is now enforced for compatibility reasons. Contributors must use tox >3.18.0 going forward. ------------------------------------------------------------------- Sat Sep 19 15:29:03 UTC 2020 - Arun Persaud - 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. ------------------------------------------------------------------- Sat Jul 25 15:25:36 UTC 2020 - Arun Persaud - specfile: * updated url - update to version 0.15.8: * [WARN] arrow will drop support for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.15.x and 0.16.x releases are the last to support Python 2.7 and 3.5. * [NEW] Added humanize week granularity translation for Czech. * [FIX] arrow.get will now pick sane defaults when weekdays are passed with particular token combinations, see #446. * [INTERNAL] Moved arrow to an organization. The repo can now be found here. * [INTERNAL] Started issuing deprecation warnings for Python 2.7 and 3.5. * [INTERNAL] Added Python 3.9 to CI pipeline. ------------------------------------------------------------------- Sun Jul 12 21:40:32 UTC 2020 - Arun Persaud - update to version 0.15.7: * [NEW] Added a number of built-in format strings. See the docs for a complete list of supported formats. For example: >>> arw = arrow.utcnow() >>> arw.format(arrow.FORMAT_COOKIE) 'Wednesday, 27-May-2020 10:30:35 UTC' * [NEW] Arrow is now fully compatible with Python 3.9 and PyPy3. * [NEW] Added Makefile, tox.ini, and requirements.txt files to the distribution bundle. * [NEW] Added French Canadian and Swahili locales. * [NEW] Added humanize week granularity translation for Hebrew, Greek, Macedonian, Swedish, Slovak. * [FIX] ms and μs timestamps are now normalized in arrow.get(), arrow.fromtimestamp(), and arrow.utcfromtimestamp(). For example: >>> ts = 1591161115194556 >>> arw = arrow.get(ts) >>> arw.timestamp 1591161115 * [FIX] Refactored and updated Macedonian, Hebrew, Korean, and Portuguese locales. ------------------------------------------------------------------- Fri May 15 21:33:05 UTC 2020 - Benjamin Greiner - new version needs pytest instead of nose ------------------------------------------------------------------- Tue May 12 08:49:50 UTC 2020 - Dirk Mueller - update to 0.15.6: - [NEW] Added ``humanize`` week granularity translation for German, Italian, Polish & Taiwanese locales. - [FIX] Consolidated and simplified German locales. ------------------------------------------------------------------- Sun Jan 5 02:48:30 UTC 2020 - Arun Persaud - 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')) * [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. ------------------------------------------------------------------- Sat Dec 14 23:42:58 UTC 2019 - Stefan Brüns - Use _multibuild for tests to reduce the build dependencies and simplify bootstrap for e.g. rpmlint. ------------------------------------------------------------------- Sat Nov 9 14:44:41 UTC 2019 - Arun Persaud - update to version 0.15.4: * [FIX] Fixed an issue that caused package installs to fail on Conda Forge. - changes from version 0.15.3: * [NEW] factory.get() can now create arrow objects from a ISO calendar tuple, for example: >>> arrow.get((2013, 18, 7)) * [NEW] Added a new token x to allow parsing of integer timestamps with milliseconds and microseconds. * [NEW] Formatting now supports escaping of characters using the same syntax as parsing, for example: >>> arw = arrow.now() >>> fmt = "YYYY-MM-DD h [h] m" >>> arw.format(fmt) '2019-11-02 3 h 32' * [NEW] Added humanize week granularity translations for Chinese, Spanish and Vietnamese. * [CHANGE] Added ParserError to module exports. * [FIX] Added support for midnight at end of day. See #703 for details. * [INTERNAL] Created Travis build for macOS. * [INTERNAL] Test parsing and formatting against full timezone database. ------------------------------------------------------------------- Tue Sep 17 09:25:07 UTC 2019 - Tomáš Chvátal - Update to 0.15.2: * [NEW] Added humanize week granularity translations for Portuguese and Brazilian Portuguese. * [NEW] Embedded changelog within docs and added release dates to versions. * [FIX] Fixed a bug that caused test failures on Windows only, see #668 for details. ------------------------------------------------------------------- Fri Sep 13 12:10:56 UTC 2019 - Tomáš Chvátal - Update to 0.15.1: * Too many changes to enumerate, see CHANGELOG.rst ------------------------------------------------------------------- Sun Aug 4 15:07:17 UTC 2019 - Arun Persaud - update to version 0.14.4: * [FIX] Fixed a regression in 0.14.3 that prevented a tzinfo argument of type string to be passed to the get() function. Functionality such as arrow.get("2019072807", "YYYYMMDDHH", tzinfo="UTC") should work as normal again. * [CHANGE] Moved backports.functools_lru_cache dependency from extra_requires to install_requires for Python 2.7 installs to fix #495. ------------------------------------------------------------------- Sun Jul 28 16:10:58 UTC 2019 - Arun Persaud - update to version 0.14.3: * [NEW] Added full support for Python 3.8. * [CHANGE] Added warnings for upcoming factory.get() parsing changes in 0.15.0. Please see https://github.com/crsmithdev/arrow/issues/612 for full details. * [FIX] Extensive refactor and update of documentation. * [FIX] factory.get() can now construct from kwargs. * [FIX] Added meridians to Spanish Locale. ------------------------------------------------------------------- Sat Jun 8 23:19:40 UTC 2019 - Arun Persaud - update to version 0.14.2: * [CHANGE] Travis CI builds now use tox to lint and run tests. * [FIX] Fixed UnicodeDecodeError on certain locales (#600). - changes from version 0.14.1: * [FIX] Fixed "ImportError: No module named 'dateutil'" (#598). - changes from version 0.14.0: * [NEW] Added provisional support for Python 3.8. * [CHANGE] Removed support for EOL Python 3.4. * [FIX] Updated setup.py with modern Python standards. * [FIX] Upgraded dependencies to latest versions. * [FIX] Enabled flake8 and black on travis builds. * [FIX] Formatted code using black and isort. - changes from version 0.13.2: * [NEW] Add is_between method. * [FIX] Improved humanize behaviour for near zero durations (#416). * [FIX] Correct humanize behaviour with future days (#541). * [FIX] Documentation updates. * [FIX] Improvements to German Locale. ------------------------------------------------------------------- Wed Mar 6 12:14:38 UTC 2019 - Tomáš Chvátal - Update to 0.13.1: * Support for python3.7 - Remove merged patch arrow-py37.patch ------------------------------------------------------------------- Tue Jan 22 08:55:58 UTC 2019 - Tomáš Chvátal - Add patch to work with python 3.7: * arrow-py37.patch ------------------------------------------------------------------- Sun Jan 20 04:31:54 UTC 2019 - Arun Persaud - specfile: * update copyright year * be more specific in %files section * require pytz - update to version 0.13.0: * [NEW] Added support for Python 3.6. * [CHANGE] Drop support for Python 2.6/3.3. * [CHANGE] Return generator instead of list for Arrow.range(), Arrow.span_range() and Arrow.interval(). * [FIX] Make arrow.get() work with str & tzinfo combo. * [FIX] Make sure special RegEx characters are escaped in format string. * [NEW] Added support for ZZZ when formatting. * [FIX] Stop using datetime.utcnow() in internals, use datetime.now(UTC) instead. * [FIX] Return NotImplemented instead of TypeError in arrow math internals. * [NEW] Added Estonian Locale. * [FIX] Small fixes to Greek locale. * [FIX] TagalogLocale improvements. * [FIX] Added test requirements to setup. * [FIX] Improve docs for get, now and utcnow methods. * [FIX] Correct typo in depreciation warning. ------------------------------------------------------------------- Tue Dec 4 12:45:42 UTC 2018 - Matej Cepl - Remove superfluous devel dependency for noarch package ------------------------------------------------------------------- Tue Feb 20 20:59:15 UTC 2018 - arun@gmx.de - specfile: * also require python-backports.functools_lru_cache during installation ------------------------------------------------------------------- Sat Feb 17 18:29:14 UTC 2018 - arun@gmx.de - specfile: * update copyright year * require python-backports.functools_lru_cache for python2 - update to version 0.12.1: * Allow wheels to determine the required dependencies * Makes the only_distance paramter value equivalent to value given to function when granularity paramter is also provided by user - changes from version 0.12.0: * [FIX] Compatibility fix for Python 2.x - changes from version 0.11.0: * [FIX] Fix grammar of ArabicLocale * [NEW] Add Nepali Locale * [FIX] Fix month name + rename AustriaLocale -> AustrianLocale * [FIX] Fix typo in Basque Locale * [FIX] Fix grammar in PortugueseBrazilian locale * [FIX] Remove pip --user-mirrors flag * [NEW] Add Indonesian Locale ------------------------------------------------------------------- Sat Jul 15 18:33:22 UTC 2017 - aloisio@gmx.com - Update to 0.10.0 (see HISTORY.md) - Converted to singlespec ------------------------------------------------------------------- Fri Feb 26 12:54:58 UTC 2016 - tbechtold@suse.com - Require python-python-dateutil. package was renamed ------------------------------------------------------------------- Wed Aug 6 08:03:23 UTC 2014 - toddrme2178@gmail.com - Initial version