Hello community, here is the log from the commit of package python-arrow for openSUSE:Factory checked in at 2019-03-08 11:01:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-arrow (Old) and /work/SRC/openSUSE:Factory/.python-arrow.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-arrow" Fri Mar 8 11:01:15 2019 rev:7 rq:682132 version:0.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-arrow/python-arrow.changes 2019-01-28 20:48:58.181871938 +0100 +++ /work/SRC/openSUSE:Factory/.python-arrow.new.28833/python-arrow.changes 2019-03-08 11:01:16.696541984 +0100 @@ -1,0 +2,7 @@ +Wed Mar 6 12:14:38 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 0.13.1: + * Support for python3.7 +- Remove merged patch arrow-py37.patch + +------------------------------------------------------------------- Old: ---- arrow-0.13.0.tar.gz arrow-py37.patch New: ---- arrow-0.13.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-arrow.spec ++++++ --- /var/tmp/diff_new_pack.9idTFP/_old 2019-03-08 11:01:17.140541913 +0100 +++ /var/tmp/diff_new_pack.9idTFP/_new 2019-03-08 11:01:17.140541913 +0100 @@ -19,14 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-arrow -Version: 0.13.0 +Version: 0.13.1 Release: 0 Summary: Better dates and times for Python License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/crsmithdev/arrow Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz -Patch0: arrow-py37.patch BuildRequires: %{python_module chai} BuildRequires: %{python_module nose} BuildRequires: %{python_module python-dateutil} @@ -57,7 +56,6 @@ %prep %setup -q -n arrow-%{version} -%patch0 -p1 rm -rf arrow.egg-info %build @@ -68,7 +66,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}:$PYTHONPATH" $python %{_bindir}/nosetests +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v %files %{python_files} %license LICENSE ++++++ arrow-0.13.0.tar.gz -> arrow-0.13.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/HISTORY.md new/arrow-0.13.1/HISTORY.md --- old/arrow-0.13.0/HISTORY.md 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/HISTORY.md 2019-02-13 05:32:51.000000000 +0100 @@ -1,5 +1,22 @@ ## History +### 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. + ### 0.12.1 - [FIX] Allow universal wheels to be generated and reliably installed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/PKG-INFO new/arrow-0.13.1/PKG-INFO --- old/arrow-0.13.0/PKG-INFO 2019-01-08 02:22:12.000000000 +0100 +++ new/arrow-0.13.1/PKG-INFO 2019-02-13 05:54:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: arrow -Version: 0.13.0 +Version: 0.13.1 Summary: Better dates and times for Python Home-page: https://github.com/crsmithdev/arrow/ Author: Chris Smith @@ -20,7 +20,7 @@ .. image:: https://img.shields.io/pypi/v/arrow.svg :target: https://pypi.python.org/pypi/arrow :alt: downloads - + Documentation: `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ --------------------------------------------------------------------------------- @@ -38,15 +38,15 @@ - Too many modules: datetime, time, calendar, dateutil, pytz and more - Too many types: date, time, datetime, tzinfo, timedelta, relativedelta, etc. - - Time zones and timestamp conversions are verbose and unpleasant + - Time zones and timestamp conversions are verbose and unpleasant - Time zone naievety is the norm - Gaps in functionality: ISO-8601 parsing, timespans, humanization - Features + Features -------- - - Fully implemented, drop-in replacement for datetime - - Supports Python 2.7, 3.4, 3.5 and 3.6 + - Fully implemented, drop-in replacement for datetime + - Supports Python 2.7, 3.4, 3.5, 3.6 and 3.7 - Time zone-aware & UTC by default - Provides super-simple creation options for many common input scenarios - Updated .replace method with support for relative offsets, including weeks @@ -101,7 +101,7 @@ >>> local.humanize(locale='ko_kr') '1시간 전' - + Further documentation can be found at `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ Contributing @@ -117,5 +117,6 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/README.rst new/arrow-0.13.1/README.rst --- old/arrow-0.13.0/README.rst 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/README.rst 2019-02-13 05:32:52.000000000 +0100 @@ -12,7 +12,7 @@ .. image:: https://img.shields.io/pypi/v/arrow.svg :target: https://pypi.python.org/pypi/arrow :alt: downloads - + Documentation: `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ --------------------------------------------------------------------------------- @@ -30,15 +30,15 @@ - Too many modules: datetime, time, calendar, dateutil, pytz and more - Too many types: date, time, datetime, tzinfo, timedelta, relativedelta, etc. -- Time zones and timestamp conversions are verbose and unpleasant +- Time zones and timestamp conversions are verbose and unpleasant - Time zone naievety is the norm - Gaps in functionality: ISO-8601 parsing, timespans, humanization -Features +Features -------- -- Fully implemented, drop-in replacement for datetime -- Supports Python 2.7, 3.4, 3.5 and 3.6 +- Fully implemented, drop-in replacement for datetime +- Supports Python 2.7, 3.4, 3.5, 3.6 and 3.7 - Time zone-aware & UTC by default - Provides super-simple creation options for many common input scenarios - Updated .replace method with support for relative offsets, including weeks @@ -93,7 +93,7 @@ >>> local.humanize(locale='ko_kr') '1시간 전' - + Further documentation can be found at `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ Contributing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow/__init__.py new/arrow-0.13.1/arrow/__init__.py --- old/arrow-0.13.0/arrow/__init__.py 2019-01-08 02:13:08.000000000 +0100 +++ new/arrow-0.13.1/arrow/__init__.py 2019-02-13 05:46:16.000000000 +0100 @@ -4,5 +4,5 @@ from .factory import ArrowFactory from .api import get, now, utcnow -__version__ = '0.13.0' +__version__ = '0.13.1' VERSION = __version__ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow/arrow.py new/arrow-0.13.1/arrow/arrow.py --- old/arrow-0.13.0/arrow/arrow.py 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/arrow/arrow.py 2019-02-13 05:32:51.000000000 +0100 @@ -77,6 +77,11 @@ :param tzinfo: (optional) a ``tzinfo`` object. Defaults to local time. + Usage:: + + >>> arrow.now('Asia/Baku') + <Arrow [2019-01-24T20:26:31.146412+04:00]> + ''' tzinfo = tzinfo if tzinfo is not None else dateutil_tz.tzlocal() @@ -90,6 +95,11 @@ ''' Constructs an :class:`Arrow <arrow.arrow.Arrow>` object, representing "now" in UTC time. + Usage:: + + >>> arrow.utcnow() + <Arrow [2019-01-24T16:31:40.651108+00:00]> + ''' dt = datetime.now(dateutil_tz.tzutc()) @@ -183,6 +193,11 @@ :param tzinfo: (optional) A :ref:`timezone expression <tz-expr>`. Defaults to the parsed timezone if ``fmt`` contains a timezone directive, otherwise UTC. + Usage:: + + >>> arrow.Arrow.strptime('20-01-2019 15:49:10', '%d-%m-%Y %H:%M:%S') + <Arrow [2019-01-20T15:49:10+00:00]> + ''' dt = datetime.strptime(date_str, fmt) @@ -195,7 +210,6 @@ # factories: ranges and spans @classmethod - @util.list_to_iter_deprecation def range(cls, frame, start, end=None, tz=None, limit=None): ''' Returns an iterator of :class:`Arrow <arrow.arrow.Arrow>` objects, representing points in time between two inputs. @@ -267,7 +281,6 @@ @classmethod - @util.list_to_iter_deprecation def span_range(cls, frame, start, end, tz=None, limit=None): ''' Returns an iterator of tuples, each :class:`Arrow <arrow.arrow.Arrow>` objects, representing a series of timespans between two inputs. @@ -319,7 +332,6 @@ return (r.span(frame) for r in _range) @classmethod - @util.list_to_iter_deprecation def interval(cls, frame, start, end, interval=1, tz=None): ''' Returns an iterator of tuples, each :class:`Arrow <arrow.arrow.Arrow>` objects, representing a series of intervals between two inputs. @@ -360,10 +372,13 @@ spanRange = iter(cls.span_range(frame, start, end, tz)) while True: - intvlStart, intvlEnd = next(spanRange) # StopIteration when exhausted - for _ in range(interval-1): - _, intvlEnd = next(spanRange) # StopIteration when exhausted - yield intvlStart, intvlEnd + try: + intvlStart, intvlEnd = next(spanRange) + for _ in range(interval-1): + _, intvlEnd = next(spanRange) + yield intvlStart, intvlEnd + except StopIteration: + return # representations @@ -404,7 +419,15 @@ @property def tzinfo(self): - ''' Gets the ``tzinfo`` of the :class:`Arrow <arrow.arrow.Arrow>` object. ''' + ''' Gets the ``tzinfo`` of the :class:`Arrow <arrow.arrow.Arrow>` object. + + Usage:: + + >>> arw=arrow.utcnow() + >>> arw.tzinfo + tzutc() + + ''' return self._datetime.tzinfo @@ -416,28 +439,60 @@ @property def datetime(self): - ''' Returns a datetime representation of the :class:`Arrow <arrow.arrow.Arrow>` object. ''' + ''' Returns a datetime representation of the :class:`Arrow <arrow.arrow.Arrow>` object. + + Usage:: + + >>> arw=arrow.utcnow() + >>> arw.datetime + datetime.datetime(2019, 1, 24, 16, 35, 27, 276649, tzinfo=tzutc()) + + ''' return self._datetime @property def naive(self): ''' Returns a naive datetime representation of the :class:`Arrow <arrow.arrow.Arrow>` - object. ''' + object. + + Usage:: + + >>> nairobi = arrow.now('Africa/Nairobi') + >>> nairobi + <Arrow [2019-01-23T19:27:12.297999+03:00]> + >>> nairobi.naive + datetime.datetime(2019, 1, 23, 19, 27, 12, 297999) + + ''' return self._datetime.replace(tzinfo=None) @property def timestamp(self): ''' Returns a timestamp representation of the :class:`Arrow <arrow.arrow.Arrow>` object, in - UTC time. ''' + UTC time. + + Usage:: + + >>> arrow.utcnow().timestamp + 1548260567 + + ''' return calendar.timegm(self._datetime.utctimetuple()) @property def float_timestamp(self): ''' Returns a floating-point representation of the :class:`Arrow <arrow.arrow.Arrow>` - object, in UTC time. ''' + object, in UTC time. + + Usage:: + + >>> arrow.utcnow().float_timestamp + 1548260516.830896 + + ''' return self.timestamp + float(self.microsecond) / 1000000 @@ -716,13 +771,14 @@ :param locale: (optional) a ``str`` specifying a locale. Defaults to 'en_us'. :param only_distance: (optional) returns only time difference eg: "11 seconds" without "in" or "ago" part. :param granularity: (optional) defines the precision of the output. Set it to strings 'second', 'minute', 'hour', 'day', 'month' or 'year'. + Usage:: >>> earlier = arrow.utcnow().shift(hours=-2) >>> earlier.humanize() '2 hours ago' - >>> later = later = earlier.shift(hours=4) + >>> later = earlier.shift(hours=4) >>> later.humanize(earlier) 'in 4 hours' @@ -903,18 +959,39 @@ # datetime methods def date(self): - ''' Returns a ``date`` object with the same year, month and day. ''' + ''' Returns a ``date`` object with the same year, month and day. + + Usage:: + + >>> arrow.utcnow().date() + datetime.date(2019, 1, 23) + + ''' return self._datetime.date() def time(self): - ''' Returns a ``time`` object with the same hour, minute, second, microsecond. ''' + ''' Returns a ``time`` object with the same hour, minute, second, microsecond. + + Usage:: + + >>> arrow.utcnow().time() + datetime.time(12, 15, 34, 68352) + + ''' return self._datetime.time() def timetz(self): ''' Returns a ``time`` object with the same hour, minute, second, microsecond and - tzinfo. ''' + tzinfo. + + Usage:: + + >>> arrow.utcnow().timetz() + datetime.time(12, 5, 18, 298893, tzinfo=tzutc()) + + ''' return self._datetime.timetz() @@ -923,72 +1000,161 @@ :param tz: a ``tzinfo`` object. + Usage:: + + >>> pacific=arrow.now('US/Pacific') + >>> nyc=arrow.now('America/New_York').tzinfo + >>> pacific.astimezone(nyc) + datetime.datetime(2019, 1, 20, 10, 24, 22, 328172, tzinfo=tzfile('/usr/share/zoneinfo/America/New_York')) + ''' return self._datetime.astimezone(tz) def utcoffset(self): ''' Returns a ``timedelta`` object representing the whole number of minutes difference from - UTC time. ''' + UTC time. + + Usage:: + + >>> arrow.now('US/Pacific').utcoffset() + datetime.timedelta(-1, 57600) + + ''' return self._datetime.utcoffset() def dst(self): - ''' Returns the daylight savings time adjustment. ''' + ''' Returns the daylight savings time adjustment. + + Usage:: + + >>> arrow.utcnow().dst() + datetime.timedelta(0) + + ''' return self._datetime.dst() def timetuple(self): - ''' Returns a ``time.struct_time``, in the current timezone. ''' + ''' Returns a ``time.struct_time``, in the current timezone. + + Usage:: + + >>> arrow.utcnow().timetuple() + time.struct_time(tm_year=2019, tm_mon=1, tm_mday=20, tm_hour=15, tm_min=17, tm_sec=8, tm_wday=6, tm_yday=20, tm_isdst=0) + + ''' return self._datetime.timetuple() def utctimetuple(self): - ''' Returns a ``time.struct_time``, in UTC time. ''' + ''' Returns a ``time.struct_time``, in UTC time. + + Usage:: + + >>> arrow.utcnow().utctimetuple() + time.struct_time(tm_year=2019, tm_mon=1, tm_mday=19, tm_hour=21, tm_min=41, tm_sec=7, tm_wday=5, tm_yday=19, tm_isdst=0) + + ''' return self._datetime.utctimetuple() def toordinal(self): - ''' Returns the proleptic Gregorian ordinal of the date. ''' + ''' Returns the proleptic Gregorian ordinal of the date. + + Usage:: + + >>> arrow.utcnow().toordinal() + 737078 + + ''' return self._datetime.toordinal() def weekday(self): - ''' Returns the day of the week as an integer (0-6). ''' + ''' Returns the day of the week as an integer (0-6). + + Usage:: + + >>> arrow.utcnow().weekday() + 5 + + ''' return self._datetime.weekday() def isoweekday(self): - ''' Returns the ISO day of the week as an integer (1-7). ''' + ''' Returns the ISO day of the week as an integer (1-7). + + Usage:: + + >>> arrow.utcnow().isoweekday() + 6 + + ''' return self._datetime.isoweekday() def isocalendar(self): - ''' Returns a 3-tuple, (ISO year, ISO week number, ISO weekday). ''' + ''' Returns a 3-tuple, (ISO year, ISO week number, ISO weekday). + + Usage:: + + >>> arrow.utcnow().isocalendar() + (2019, 3, 6) + + ''' return self._datetime.isocalendar() def isoformat(self, sep='T'): - '''Returns an ISO 8601 formatted representation of the date and time. ''' + '''Returns an ISO 8601 formatted representation of the date and time. + + Usage:: + + >>> arrow.utcnow().isoformat() + '2019-01-19T18:30:52.442118+00:00' + + ''' return self._datetime.isoformat(sep) def ctime(self): - ''' Returns a ctime formatted representation of the date and time. ''' + ''' Returns a ctime formatted representation of the date and time. + + Usage:: + + >>> arrow.utcnow().ctime() + 'Sat Jan 19 18:26:50 2019' + + ''' return self._datetime.ctime() def strftime(self, format): - ''' Formats in the style of ``datetime.strptime``. + ''' Formats in the style of ``datetime.strftime``. :param format: the format string. + Usage:: + + >>> arrow.utcnow().strftime('%d-%m-%Y %H:%M:%S') + '23-01-2019 12:28:17' + ''' return self._datetime.strftime(format) def for_json(self): - '''Serializes for the ``for_json`` protocol of simplejson.''' + '''Serializes for the ``for_json`` protocol of simplejson. + + Usage:: + + >>> arrow.utcnow().for_json() + '2019-01-19T18:25:36.760079+00:00' + + ''' return self.isoformat() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow/locales.py new/arrow-0.13.1/arrow/locales.py --- old/arrow-0.13.0/arrow/locales.py 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/arrow/locales.py 2019-02-13 05:32:51.000000000 +0100 @@ -1132,7 +1132,7 @@ day_names = ['', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت', 'الأحد'] day_abbreviations = ['', 'إثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت', 'أحد'] - + def _format_timeframe(self, timeframe, delta): form = self.timeframes[timeframe] delta = abs(delta) @@ -2194,6 +2194,5 @@ else: form = form['past'] return form.format(abs(delta)) - - + _locales = _map_locales() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow/util.py new/arrow-0.13.1/arrow/util.py --- old/arrow-0.13.0/arrow/util.py 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/arrow/util.py 2019-02-13 05:32:51.000000000 +0100 @@ -86,12 +86,4 @@ del _wrap_method -def list_to_iter_deprecation(f): - warn_text = '{0}() will return an iterator in a future release, convert to list({0}())'.format(f.__name__) - @functools.wraps(f) - def wrapper(*args, **kwargs): - return list_to_iter_shim(f(*args, **kwargs), warn_text=warn_text) - return wrapper - - __all__ = ['total_seconds', 'is_timestamp', 'isstr', 'list_to_iter_shim', 'list_to_iter_deprecation'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow.egg-info/PKG-INFO new/arrow-0.13.1/arrow.egg-info/PKG-INFO --- old/arrow-0.13.0/arrow.egg-info/PKG-INFO 2019-01-08 02:22:12.000000000 +0100 +++ new/arrow-0.13.1/arrow.egg-info/PKG-INFO 2019-02-13 05:54:13.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: arrow -Version: 0.13.0 +Version: 0.13.1 Summary: Better dates and times for Python Home-page: https://github.com/crsmithdev/arrow/ Author: Chris Smith @@ -20,7 +20,7 @@ .. image:: https://img.shields.io/pypi/v/arrow.svg :target: https://pypi.python.org/pypi/arrow :alt: downloads - + Documentation: `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ --------------------------------------------------------------------------------- @@ -38,15 +38,15 @@ - Too many modules: datetime, time, calendar, dateutil, pytz and more - Too many types: date, time, datetime, tzinfo, timedelta, relativedelta, etc. - - Time zones and timestamp conversions are verbose and unpleasant + - Time zones and timestamp conversions are verbose and unpleasant - Time zone naievety is the norm - Gaps in functionality: ISO-8601 parsing, timespans, humanization - Features + Features -------- - - Fully implemented, drop-in replacement for datetime - - Supports Python 2.7, 3.4, 3.5 and 3.6 + - Fully implemented, drop-in replacement for datetime + - Supports Python 2.7, 3.4, 3.5, 3.6 and 3.7 - Time zone-aware & UTC by default - Provides super-simple creation options for many common input scenarios - Updated .replace method with support for relative offsets, including weeks @@ -101,7 +101,7 @@ >>> local.humanize(locale='ko_kr') '1시간 전' - + Further documentation can be found at `arrow.readthedocs.org <http://arrow.readthedocs.org/en/latest/>`_ Contributing @@ -117,5 +117,6 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/arrow.egg-info/SOURCES.txt new/arrow-0.13.1/arrow.egg-info/SOURCES.txt --- old/arrow-0.13.0/arrow.egg-info/SOURCES.txt 2019-01-08 02:22:12.000000000 +0100 +++ new/arrow-0.13.1/arrow.egg-info/SOURCES.txt 2019-02-13 05:54:13.000000000 +0100 @@ -43,4 +43,18 @@ tests/locales_tests.pyc tests/parser_tests.py tests/parser_tests.pyc -tests/util_tests.pyc \ No newline at end of file +tests/util_tests.pyc +tests/__pycache__/__init__.cpython-36.pyc +tests/__pycache__/__init__.cpython-37.pyc +tests/__pycache__/api_tests.cpython-36.pyc +tests/__pycache__/api_tests.cpython-37.pyc +tests/__pycache__/arrow_tests.cpython-36.pyc +tests/__pycache__/arrow_tests.cpython-37.pyc +tests/__pycache__/factory_tests.cpython-36.pyc +tests/__pycache__/factory_tests.cpython-37.pyc +tests/__pycache__/formatter_tests.cpython-36.pyc +tests/__pycache__/formatter_tests.cpython-37.pyc +tests/__pycache__/locales_tests.cpython-36.pyc +tests/__pycache__/locales_tests.cpython-37.pyc +tests/__pycache__/parser_tests.cpython-36.pyc +tests/__pycache__/parser_tests.cpython-37.pyc \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/docs/conf.py new/arrow-0.13.1/docs/conf.py --- old/arrow-0.13.0/docs/conf.py 2017-11-24 18:23:24.000000000 +0100 +++ new/arrow-0.13.1/docs/conf.py 2019-02-13 05:32:51.000000000 +0100 @@ -41,16 +41,16 @@ # General information about the project. project = u'Arrow' -copyright = u'2013, Chris Smith' +copyright = u'2019, Chris Smith' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.11.0' +version = '0.13.0' # The full version, including alpha/beta/rc tags. -release = '0.11.0' +release = '0.13.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/docs/index.rst new/arrow-0.13.1/docs/index.rst --- old/arrow-0.13.0/docs/index.rst 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/docs/index.rst 2019-02-13 05:32:51.000000000 +0100 @@ -26,7 +26,7 @@ -------- - Fully implemented, drop-in replacement for datetime -- Supports Python 2.7, 3.4, 3.5 and 3.6 +- Supports Python 2.7, 3.4, 3.5, 3.6 and 3.7 - Timezone-aware & UTC by default - Provides super-simple creation options for many common input scenarios - Updated .replace method with support for relative offsets, including weeks @@ -34,7 +34,7 @@ - Partial ISO-8601 support - Timezone conversion - Timestamp available as a property -- Generates time spans, ranges, floors and ceilings in time frames from year to microsecond +- Generates time spans, ranges, floors and ceilings in time frames from year to microsecond precision - Humanizes and supports a growing list of contributed locales - Extensible for your own Arrow-derived types @@ -454,6 +454,14 @@ .. [#t3] the result is truncated to microseconds, with `half-to-even rounding <https://en.wikipedia.org/wiki/IEEE_floating_point#Roundings_to_nearest>`_. .. [#t4] timezone names from `tz database <https://www.iana.org/time-zones>`_ provided via dateutil package +Any token can be escaped when parsing by enclosing it within square brackets: + +.. code-block:: python + + >>> arrow.get("2018-03-09 8 h 40", "YYYY-MM-DD h [h] m") + <Arrow [2018-03-09T08:40:00+00:00]> + + --------- API Guide --------- @@ -481,3 +489,4 @@ .. automodule:: arrow.locales :members: + :undoc-members: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/arrow-0.13.0/setup.py new/arrow-0.13.1/setup.py --- old/arrow-0.13.0/setup.py 2018-12-31 17:29:15.000000000 +0100 +++ new/arrow-0.13.1/setup.py 2019-02-13 05:32:52.000000000 +0100 @@ -53,6 +53,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Software Development :: Libraries :: Python Modules' ] ) Binary files old/arrow-0.13.0/tests/__pycache__/__init__.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/__init__.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/__init__.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/__init__.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/api_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/api_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/api_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/api_tests.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/arrow_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/arrow_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/arrow_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/arrow_tests.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/factory_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/factory_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/factory_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/factory_tests.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/formatter_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/formatter_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/formatter_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/formatter_tests.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/locales_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/locales_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/locales_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/locales_tests.cpython-37.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/parser_tests.cpython-36.pyc and new/arrow-0.13.1/tests/__pycache__/parser_tests.cpython-36.pyc differ Binary files old/arrow-0.13.0/tests/__pycache__/parser_tests.cpython-37.pyc and new/arrow-0.13.1/tests/__pycache__/parser_tests.cpython-37.pyc differ
