Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-cftime for openSUSE:Factory 
checked in at 2022-09-27 20:14:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cftime (Old)
 and      /work/SRC/openSUSE:Factory/.python-cftime.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cftime"

Tue Sep 27 20:14:00 2022 rev:7 rq:1006300 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cftime/python-cftime.changes      
2022-03-28 17:01:44.769065962 +0200
+++ /work/SRC/openSUSE:Factory/.python-cftime.new.2275/python-cftime.changes    
2022-09-27 20:14:04.201845455 +0200
@@ -1,0 +2,7 @@
+Mon Sep 26 19:50:01 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to version 1.6.1
+ * fix failing tests on windows with numpy 1.23.0 (issue #278)
+ * expose to_tuple module function in public API.
+ 
+-------------------------------------------------------------------

Old:
----
  cftime-1.6.0.tar.gz

New:
----
  cftime-1.6.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cftime.spec ++++++
--- /var/tmp/diff_new_pack.S6JNKh/_old  2022-09-27 20:14:04.645846434 +0200
+++ /var/tmp/diff_new_pack.S6JNKh/_new  2022-09-27 20:14:04.649846443 +0200
@@ -20,7 +20,7 @@
 # no numpy for Python 3.6
 %define skip_python36 1
 Name:           python-cftime
-Version:        1.6.0
+Version:        1.6.1
 Release:        0
 Summary:        Time-handling functionality from netcdf4-python
 License:        MIT

++++++ cftime-1.6.0.tar.gz -> cftime-1.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/Changelog new/cftime-1.6.1/Changelog
--- old/cftime-1.6.0/Changelog  2022-03-03 14:59:14.000000000 +0100
+++ new/cftime-1.6.1/Changelog  2022-06-30 16:34:49.000000000 +0200
@@ -1,3 +1,8 @@
+version 1.6.1 (release tag v1.6.1rel)
+=====================================
+ * fix failing tests on windows with numpy 1.23.0 (issue #278)
+ * expose to_tuple module function in public API.
+
 version 1.6.0 (release tag v1.6.0rel)
 =====================================
  * fix for masked array inputs (issue #267).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/PKG-INFO new/cftime-1.6.1/PKG-INFO
--- old/cftime-1.6.0/PKG-INFO   2022-03-03 14:59:52.000000000 +0100
+++ new/cftime-1.6.1/PKG-INFO   2022-06-30 16:35:24.000000000 +0200
@@ -1,23 +1,23 @@
 Metadata-Version: 2.1
 Name: cftime
-Version: 1.6.0
+Version: 1.6.1
 Summary: Time-handling functionality from netcdf4-python
 Author: Jeff Whitaker
 Author-email: jeffrey.s.whita...@noaa.gov
 License: License :: OSI Approved :: MIT License
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Operating System :: Microsoft :: Windows
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
 Classifier: Topic :: Scientific/Engineering
 Classifier: License :: OSI Approved :: MIT License
+Requires-Python: >=3.7
 Description-Content-Type: text/markdown
 License-File: LICENSE
 
@@ -35,6 +35,8 @@
 ## News
 For details on the latest updates, see the 
[Changelog](https://github.com/Unidata/cftime/blob/master/Changelog).
 
+6/30/2022:  Version 1.6.1 released.  Fixes for numpy 1.23.0, updated CI/CD.
+
 3/4/2022:  Version 1.6.0 released.  Big speed-ups for num2date, date2index 
bugfix for select != 'exact' when select='exact' works, fix for date2num with 
masked array inputs.
 
 1/22/2022: Version 1.5.2 released (wheels for Apple M1 available on pypi for 
python 3.8,3.9 and 3.10). is_leap_year
@@ -132,5 +134,3 @@
 
 ## Documentation
 See the online [docs](http://unidata.github.io/cftime) for more details.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/README.md new/cftime-1.6.1/README.md
--- old/cftime-1.6.0/README.md  2022-03-03 14:59:14.000000000 +0100
+++ new/cftime-1.6.1/README.md  2022-06-30 16:34:49.000000000 +0200
@@ -12,6 +12,8 @@
 ## News
 For details on the latest updates, see the 
[Changelog](https://github.com/Unidata/cftime/blob/master/Changelog).
 
+6/30/2022:  Version 1.6.1 released.  Fixes for numpy 1.23.0, updated CI/CD.
+
 3/4/2022:  Version 1.6.0 released.  Big speed-ups for num2date, date2index 
bugfix for select != 'exact' when select='exact' works, fix for date2num with 
masked array inputs.
 
 1/22/2022: Version 1.5.2 released (wheels for Apple M1 available on pypi for 
python 3.8,3.9 and 3.10). is_leap_year
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/setup.py new/cftime-1.6.1/setup.py
--- old/cftime-1.6.0/setup.py   2022-03-03 14:59:04.000000000 +0100
+++ new/cftime-1.6.1/setup.py   2022-06-30 16:34:49.000000000 +0200
@@ -113,17 +113,18 @@
     install_requires=load('requirements.txt'),
     tests_require=load('requirements-dev.txt'),
     license='License :: OSI Approved :: MIT License',
+    python_requires=">=3.7",
     classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Operating System :: MacOS :: MacOS X',
         'Operating System :: Microsoft :: Windows',
         'Operating System :: POSIX :: Linux',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
+        'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
         'Topic :: Scientific/Engineering',
         'License :: OSI Approved :: MIT License'],
     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/src/cftime/__init__.py 
new/cftime-1.6.1/src/cftime/__init__.py
--- old/cftime-1.6.0/src/cftime/__init__.py     2022-03-03 14:59:04.000000000 
+0100
+++ new/cftime-1.6.1/src/cftime/__init__.py     2022-06-30 16:34:49.000000000 
+0200
@@ -1,6 +1,6 @@
 from ._cftime import (datetime, real_datetime,
                       _parse_date, _dateparse, _datesplit, is_leap_year)
-from ._cftime import num2date, date2num, date2index, time2index, num2pydate
+from ._cftime import num2date, date2num, date2index, time2index, num2pydate, 
to_tuple
 from ._cftime import (microsec_units, millisec_units,
                      sec_units, hr_units, day_units, min_units,
                      UNIT_CONVERSION_FACTORS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/src/cftime/_cftime.pyx 
new/cftime-1.6.1/src/cftime/_cftime.pyx
--- old/cftime-1.6.0/src/cftime/_cftime.pyx     2022-03-03 14:59:04.000000000 
+0100
+++ new/cftime-1.6.1/src/cftime/_cftime.pyx     2022-06-30 16:34:49.000000000 
+0200
@@ -38,7 +38,7 @@
 cdef int[13] _cumdayspermonth = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 
304, 334, 365]
 cdef int[13] _cumdayspermonth_leap = [0, 31, 60, 91, 121, 152, 182, 213, 244, 
274, 305, 335, 366]
 
-__version__ = '1.6.0'
+__version__ = '1.6.1'
 
 # Adapted from http://delete.me.uk/2005/03/iso8601.html
 # Note: This regex ensures that all ISO8601 timezone formats are accepted - 
but, due to legacy support for other timestrings, not all incorrect formats can 
be rejected.
@@ -379,7 +379,9 @@
     if num.dtype.kind in "iu":
         return num
     else:
-        if np.any(num < _MIN_INT64) or np.any(num > _MAX_INT64):
+        #if np.any(num < _MIN_INT64) or np.any(num > _MAX_INT64):
+        # use this instead to avoid test failures on windows with numpy 1.23.0 
(issue #279)
+        if np.any(np.less(num,_MIN_INT64,casting='same_kind')) or 
np.any(np.greater(num,_MAX_INT64,casting='same_kind')):
             raise OverflowError('time values outside range of 64 bit signed 
integers')
         if isinstance(num, np.ma.core.MaskedArray):
             int_num = np.ma.masked_array(np.rint(num), dtype=np.int64)
@@ -985,7 +987,7 @@
     else:
         return a
 
-cdef to_tuple(dt):
+def to_tuple(dt):
     """Turn a datetime.datetime instance into a tuple of integers. Elements go
     in the order of decreasing significance, making it easy to compare
     datetime instances. Parts of the state that don't affect ordering
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cftime-1.6.0/src/cftime.egg-info/PKG-INFO 
new/cftime-1.6.1/src/cftime.egg-info/PKG-INFO
--- old/cftime-1.6.0/src/cftime.egg-info/PKG-INFO       2022-03-03 
14:59:50.000000000 +0100
+++ new/cftime-1.6.1/src/cftime.egg-info/PKG-INFO       2022-06-30 
16:35:21.000000000 +0200
@@ -1,23 +1,23 @@
 Metadata-Version: 2.1
 Name: cftime
-Version: 1.6.0
+Version: 1.6.1
 Summary: Time-handling functionality from netcdf4-python
 Author: Jeff Whitaker
 Author-email: jeffrey.s.whita...@noaa.gov
 License: License :: OSI Approved :: MIT License
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Operating System :: MacOS :: MacOS X
 Classifier: Operating System :: Microsoft :: Windows
 Classifier: Operating System :: POSIX :: Linux
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
 Classifier: Topic :: Scientific/Engineering
 Classifier: License :: OSI Approved :: MIT License
+Requires-Python: >=3.7
 Description-Content-Type: text/markdown
 License-File: LICENSE
 
@@ -35,6 +35,8 @@
 ## News
 For details on the latest updates, see the 
[Changelog](https://github.com/Unidata/cftime/blob/master/Changelog).
 
+6/30/2022:  Version 1.6.1 released.  Fixes for numpy 1.23.0, updated CI/CD.
+
 3/4/2022:  Version 1.6.0 released.  Big speed-ups for num2date, date2index 
bugfix for select != 'exact' when select='exact' works, fix for date2num with 
masked array inputs.
 
 1/22/2022: Version 1.5.2 released (wheels for Apple M1 available on pypi for 
python 3.8,3.9 and 3.10). is_leap_year
@@ -132,5 +134,3 @@
 
 ## Documentation
 See the online [docs](http://unidata.github.io/cftime) for more details.
-
-

Reply via email to