diff --git a/cftime-1.0.4.2.tar.gz b/cftime-1.0.4.2.tar.gz deleted file mode 100644 index a51b7a0..0000000 --- a/cftime-1.0.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ac64f8f9066ea756ea27d67cedaf064e7c866275218fa7c84684066a5890f70 -size 48264 diff --git a/cftime-1.2.0.tar.gz b/cftime-1.2.0.tar.gz new file mode 100644 index 0000000..87e9b35 --- /dev/null +++ b/cftime-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff0a175edda260357ff7d24a32bbe0a8c72eafd5f6a404ce487127f9d01836db +size 52792 diff --git a/python-cftime.changes b/python-cftime.changes index 6d0980b..baab04e 100644 --- a/python-cftime.changes +++ b/python-cftime.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Thu Jul 9 04:32:49 UTC 2020 - Steve Kowalik + +- Update to 1.2.0: + * Return the default values of dayofwk and dayofyr when calendar + is '' (issue #173). + * fix treatment of masked arrays in num2date and date2num (issue #175). + Also make sure masked arrays are output from num2date/date2num if + masked arrays are input. + * Where possible, use timedelta arithmetic to decode times exactly within + num2date (issue #171). + * Make taking the difference between two cftime datetimes to produce a + timedelta exact to the microsecond; depending on the units encoding, + this enables date2num to be exact as well (issue #109). + * utime.date2num/utime.num2date now just call module level functions. + JulianDayFromDate/DateFromJulianDay no longer used internally (PR #180). + * add isoformat method for compatibility with python datetime (issue #152). + * make 'standard' default calendar for cftime.datetime + so that dayofwk,dayofyr methods don't fail (issue #169). + * change dayofwk and dayofyr attributes into properties (issue #158) + * fix for issue #165 (python datetime should be returned when + only_use_cftime_datimes=False). + * include pyproject.toml in MANIFEST.in so it gets + included in source tarball (issue #154). + * fix microsecond formatting issue, ensure identical results + computed for arrays and scales (issue #143, PR #146). + * improved exceptions for time differences (issue #128, PR #131). + * fix intersphinx entries (issue #133, PR #133) + * make only_use_cftime_datetimes=True by default, so cftime datetime + instances are returned by default by num2date (instead of returning python + datetime instances where possible). Issue #136, PR #135. + * Add daysinmonth attribute (issue #137, PR #138). + * If only_use_python_datetimes=True and only_use_cftime_datetimes=False, + num2date only returns python datetime instances and raises an exception + if this is not possible. + * Fix for fractional seconds in reference date in units string +- Add numpy-devel to BuildRequires. + ------------------------------------------------------------------- Fri Jan 24 15:13:06 UTC 2020 - Marketa Calabkova diff --git a/python-cftime.spec b/python-cftime.spec index 82fc49c..f603912 100644 --- a/python-cftime.spec +++ b/python-cftime.spec @@ -18,14 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cftime -Version: 1.0.4.2 +Version: 1.2.0 Release: 0 Summary: Time-handling functionality from netcdf4-python License: MIT -Group: Development/Languages/Python URL: https://github.com/Unidata/cftime Source: https://files.pythonhosted.org/packages/source/c/cftime/cftime-%{version}.tar.gz BuildRequires: %{python_module Cython} +BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 18.0}