Hello community,
here is the log from the commit of package python-dateutil for openSUSE:Factory
checked in at Wed Apr 21 01:55:19 CEST 2010.
--------
--- python-dateutil/python-dateutil.changes 2009-08-13 13:03:32.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-dateutil/python-dateutil.changes 2010-04-20 14:32:42.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Apr 20 12:31:46 UTC 2010 - cstender@novell.com
+
+- updated to version 1.5
+ * See NEWS for all changes and fixes
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
python-dateutil-1.4.1.tar.gz
New:
----
python-dateutil-1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dateutil.spec ++++++
--- /var/tmp/diff_new_pack.THFajl/_old 2010-04-21 01:55:01.000000000 +0200
+++ /var/tmp/diff_new_pack.THFajl/_new 2010-04-21 01:55:01.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package python-dateutil (Version 1.4.1)
+# spec file for package python-dateutil (Version 1.5)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,8 +21,8 @@
Name: python-dateutil
BuildRequires: python-devel python-setuptools
Summary: A Python Datetime Library
-Version: 1.4.1
-Release: 2
+Version: 1.5
+Release: 1
Source0: %{name}-%{version}.tar.gz
License: Python License ..
Group: Development/Libraries/Python
++++++ python-dateutil-1.4.1.tar.gz -> python-dateutil-1.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/NEWS new/python-dateutil-1.5/NEWS
--- old/python-dateutil-1.4.1/NEWS 2008-08-07 01:47:11.000000000 +0200
+++ new/python-dateutil-1.5/NEWS 2010-03-29 23:39:33.000000000 +0200
@@ -1,3 +1,19 @@
+
+Version 1.5
+-----------
+
+- As reported by Mathieu Bridon, rrules were matching the bysecond rules
+ incorrectly against byminute in some circumstances when the SECONDLY
+ frequency was in use, due to a copy & paste bug. The problem has been
+ unittested and corrected.
+
+- Adam Ryan reported a problem in the relativedelta implementation which
+ affected the yearday parameter in the month of January specifically.
+ This has been unittested and fixed.
+
+- Updated timezone information.
+
+
Version 1.4.1
-------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/PKG-INFO new/python-dateutil-1.5/PKG-INFO
--- old/python-dateutil-1.4.1/PKG-INFO 2008-08-07 01:49:14.000000000 +0200
+++ new/python-dateutil-1.5/PKG-INFO 2010-03-30 00:00:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: python-dateutil
-Version: 1.4.1
+Version: 1.5
Summary: Extensions to the standard python 2.3+ datetime module
Home-page: http://labix.org/python-dateutil
Author: Gustavo Niemeyer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/dateutil/__init__.py new/python-dateutil-1.5/dateutil/__init__.py
--- old/python-dateutil-1.4.1/dateutil/__init__.py 2008-08-07 01:43:05.000000000 +0200
+++ new/python-dateutil-1.5/dateutil/__init__.py 2010-03-29 23:50:32.000000000 +0200
@@ -1,9 +1,9 @@
"""
-Copyright (c) 2003-2007 Gustavo Niemeyer
+Copyright (c) 2003-2010 Gustavo Niemeyer
This module offers extensions to the standard python 2.3+
datetime module.
"""
__author__ = "Gustavo Niemeyer "
__license__ = "PSF License"
-__version__ = "1.4.1"
+__version__ = "1.5"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/dateutil/relativedelta.py new/python-dateutil-1.5/dateutil/relativedelta.py
--- old/python-dateutil-1.4.1/dateutil/relativedelta.py 2007-11-19 23:03:05.000000000 +0100
+++ new/python-dateutil-1.5/dateutil/relativedelta.py 2010-03-29 23:50:48.000000000 +0200
@@ -1,5 +1,5 @@
"""
-Copyright (c) 2003-2007 Gustavo Niemeyer
+Copyright (c) 2003-2010 Gustavo Niemeyer
This module offers extensions to the standard python 2.3+
datetime module.
@@ -190,7 +190,7 @@
if yday <= ydays:
self.month = idx+1
if idx == 0:
- self.day = ydays
+ self.day = yday
else:
self.day = yday-ydayidx[idx-1]
break
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/dateutil/rrule.py new/python-dateutil-1.5/dateutil/rrule.py
--- old/python-dateutil-1.4.1/dateutil/rrule.py 2007-11-19 23:03:24.000000000 +0100
+++ new/python-dateutil-1.5/dateutil/rrule.py 2010-03-29 23:51:11.000000000 +0200
@@ -1,5 +1,5 @@
"""
-Copyright (c) 2003-2007 Gustavo Niemeyer
+Copyright (c) 2003-2010 Gustavo Niemeyer
This module offers extensions to the standard python 2.3+
datetime module.
@@ -439,7 +439,7 @@
(freq >= MINUTELY and
self._byminute and minute not in self._byminute) or
(freq >= SECONDLY and
- self._bysecond and minute not in self._bysecond)):
+ self._bysecond and second not in self._bysecond)):
timeset = ()
else:
timeset = gettimeset(hour, minute, second)
Files old/python-dateutil-1.4.1/dateutil/zoneinfo/zoneinfo-2008e.tar.gz and new/python-dateutil-1.5/dateutil/zoneinfo/zoneinfo-2008e.tar.gz differ
Files old/python-dateutil-1.4.1/dateutil/zoneinfo/zoneinfo-2010g.tar.gz and new/python-dateutil-1.5/dateutil/zoneinfo/zoneinfo-2010g.tar.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/python_dateutil.egg-info/PKG-INFO new/python-dateutil-1.5/python_dateutil.egg-info/PKG-INFO
--- old/python-dateutil-1.4.1/python_dateutil.egg-info/PKG-INFO 2008-08-07 01:49:14.000000000 +0200
+++ new/python-dateutil-1.5/python_dateutil.egg-info/PKG-INFO 2010-03-30 00:00:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: python-dateutil
-Version: 1.4.1
+Version: 1.5
Summary: Extensions to the standard python 2.3+ datetime module
Home-page: http://labix.org/python-dateutil
Author: Gustavo Niemeyer
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/python_dateutil.egg-info/SOURCES.txt new/python-dateutil-1.5/python_dateutil.egg-info/SOURCES.txt
--- old/python-dateutil-1.4.1/python_dateutil.egg-info/SOURCES.txt 2008-08-07 01:49:14.000000000 +0200
+++ new/python-dateutil-1.5/python_dateutil.egg-info/SOURCES.txt 2010-03-30 00:00:56.000000000 +0200
@@ -16,7 +16,7 @@
dateutil/tz.py
dateutil/tzwin.py
dateutil/zoneinfo/__init__.py
-dateutil/zoneinfo/zoneinfo-2008e.tar.gz
+dateutil/zoneinfo/zoneinfo-2010g.tar.gz
python_dateutil.egg-info/PKG-INFO
python_dateutil.egg-info/SOURCES.txt
python_dateutil.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/setup.py new/python-dateutil-1.5/setup.py
--- old/python-dateutil-1.4.1/setup.py 2008-08-07 01:47:45.000000000 +0200
+++ new/python-dateutil-1.5/setup.py 2010-01-11 10:43:22.000000000 +0100
@@ -11,8 +11,9 @@
os.unlink("MANIFEST")
+TOPDIR = os.path.dirname(__file__) or "."
VERSION = re.search('__version__ = "([^"]+)"',
- open("dateutil/__init__.py").read()).group(1)
+ open(TOPDIR + "/dateutil/__init__.py").read()).group(1)
setup(name="python-dateutil",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-dateutil-1.4.1/test.py new/python-dateutil-1.5/test.py
--- old/python-dateutil-1.4.1/test.py 2008-02-28 02:57:18.000000000 +0100
+++ new/python-dateutil-1.5/test.py 2010-03-29 23:38:10.000000000 +0200
@@ -131,6 +131,11 @@
self.assertEqual(self.today+relativedelta(yearday=261),
date(2003, 9, 18))
+ def testYearDayBug(self):
+ # Tests a problem reported by Adam Ryan.
+ self.assertEqual(date(2010, 1, 1)+relativedelta(yearday=15),
+ date(2010, 1, 15))
+
def testNonLeapYearDay(self):
self.assertEqual(date(2003, 1, 1)+relativedelta(nlyearday=260),
date(2003, 9, 17))
@@ -2372,6 +2377,17 @@
datetime(1997, 9, 2, 18, 6, 18),
datetime(1997, 9, 2, 18, 18, 6)])
+ def testSecondlyByHourAndMinuteAndSecondBug(self):
+ # This explores a bug found by Mathieu Bridon.
+ self.assertEqual(list(rrule(SECONDLY,
+ count=3,
+ bysecond=(0,),
+ byminute=(1,),
+ dtstart=parse("20100322120100"))),
+ [datetime(2010, 3, 22, 12, 1),
+ datetime(2010, 3, 22, 13, 1),
+ datetime(2010, 3, 22, 14, 1)])
+
def testUntilNotMatching(self):
self.assertEqual(list(rrule(DAILY,
count=3,
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org