Hello community,

here is the log from the commit of package python-intervals for 
openSUSE:Factory checked in at 2020-11-17 21:26:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-intervals (Old)
 and      /work/SRC/openSUSE:Factory/.python-intervals.new.24930 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-intervals"

Tue Nov 17 21:26:32 2020 rev:5 rq:848976 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-intervals/python-intervals.changes        
2020-05-07 14:49:53.665886026 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-intervals.new.24930/python-intervals.changes 
    2020-11-17 21:26:33.957454021 +0100
@@ -1,0 +2,7 @@
+Mon Nov 16 13:49:23 UTC 2020 - Marketa Machova <[email protected]>
+
+- update to 0.9.0
+  * Fixed interval coercion (#42)
+  * Dropped py27 and py34 support
+
+-------------------------------------------------------------------

Old:
----
  intervals-0.8.1.tar.gz

New:
----
  intervals-0.9.0.tar.gz

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

Other differences:
------------------
++++++ python-intervals.spec ++++++
--- /var/tmp/diff_new_pack.GLOcs6/_old  2020-11-17 21:26:34.809454866 +0100
+++ /var/tmp/diff_new_pack.GLOcs6/_new  2020-11-17 21:26:34.809454866 +0100
@@ -17,8 +17,9 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:           python-intervals
-Version:        0.8.1
+Version:        0.9.0
 Release:        0
 Summary:        Python tools for handling intervals
 License:        BSD-3-Clause

++++++ intervals-0.8.1.tar.gz -> intervals-0.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/CHANGES.rst 
new/intervals-0.9.0/CHANGES.rst
--- old/intervals-0.8.1/CHANGES.rst     2017-12-06 17:55:21.000000000 +0100
+++ new/intervals-0.9.0/CHANGES.rst     2020-07-16 13:39:52.000000000 +0200
@@ -4,6 +4,13 @@
 Here you can see the full list of changes between each intervals release.
 
 
+0.9.0 (2020-07-16)
+^^^^^^^^^^^^^^^^^^
+
+- Fixed interval coercion (#42)
+- Dropped py27 and py34 support
+
+
 0.8.1 (2017-12-06)
 ^^^^^^^^^^^^^^^^^^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/PKG-INFO new/intervals-0.9.0/PKG-INFO
--- old/intervals-0.8.1/PKG-INFO        2017-12-06 18:01:48.000000000 +0100
+++ new/intervals-0.9.0/PKG-INFO        2020-07-16 13:40:12.000000000 +0200
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: intervals
-Version: 0.8.1
+Version: 0.9.0
 Summary: Python tools for handling intervals (ranges of comparable objects).
 Home-page: https://github.com/kvesteri/intervals
 Author: Konsta Vesterinen
 Author-email: [email protected]
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: 
         intervals
         ---------
@@ -19,13 +18,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-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: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/intervals/__init__.py 
new/intervals-0.9.0/intervals/__init__.py
--- old/intervals-0.8.1/intervals/__init__.py   2017-12-06 17:55:33.000000000 
+0100
+++ new/intervals-0.9.0/intervals/__init__.py   2020-07-16 13:39:52.000000000 
+0200
@@ -32,4 +32,4 @@
 )
 
 
-__version__ = '0.8.1'
+__version__ = '0.9.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/intervals/interval.py 
new/intervals-0.9.0/intervals/interval.py
--- old/intervals-0.8.1/intervals/interval.py   2017-12-06 17:53:05.000000000 
+0100
+++ new/intervals-0.9.0/intervals/interval.py   2020-07-16 13:39:52.000000000 
+0200
@@ -100,7 +100,7 @@
                 return NotImplemented
         try:
             arg = type(self)(self.type(arg))
-        except (ValueError, TypeError):
+        except (ValueError, TypeError, OverflowError):
             pass
         return func(self, arg)
     return wrapper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/intervals.egg-info/PKG-INFO 
new/intervals-0.9.0/intervals.egg-info/PKG-INFO
--- old/intervals-0.8.1/intervals.egg-info/PKG-INFO     2017-12-06 
18:01:48.000000000 +0100
+++ new/intervals-0.9.0/intervals.egg-info/PKG-INFO     2020-07-16 
13:40:12.000000000 +0200
@@ -1,12 +1,11 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: intervals
-Version: 0.8.1
+Version: 0.9.0
 Summary: Python tools for handling intervals (ranges of comparable objects).
 Home-page: https://github.com/kvesteri/intervals
 Author: Konsta Vesterinen
 Author-email: [email protected]
 License: BSD
-Description-Content-Type: UNKNOWN
 Description: 
         intervals
         ---------
@@ -19,13 +18,12 @@
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
-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: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/setup.py new/intervals-0.9.0/setup.py
--- old/intervals-0.8.1/setup.py        2016-03-05 10:00:10.000000000 +0100
+++ new/intervals-0.9.0/setup.py        2020-07-16 13:39:52.000000000 +0200
@@ -57,12 +57,10 @@
         'License :: OSI Approved :: BSD License',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
+        'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/intervals-0.8.1/tests/interval/test_operators.py 
new/intervals-0.9.0/tests/interval/test_operators.py
--- old/intervals-0.8.1/tests/interval/test_operators.py        2017-12-06 
17:47:40.000000000 +0100
+++ new/intervals-0.9.0/tests/interval/test_operators.py        2020-07-16 
13:39:52.000000000 +0200
@@ -19,7 +19,12 @@
             DateInterval([date(2011, 1, 1), date(2011, 1, 1)]),
             False
         ),
-        (IntInterval.from_string('(,)') == None, False)  # noqa
+        (IntInterval.from_string('(,)') == None, False),  # noqa
+        (
+            DateInterval(date(2000, 1, 1), date(2001, 1, 1)) ==
+            -12312321312312312312123123,
+            False
+        )
     ))
     def test_eq_operator(self, comparison, result):
         assert comparison is result
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to