[Bug 772035] New: devel:languages:python/python-dateutil: Bug
https://bugzilla.novell.com/show_bug.cgi?id=772035 https://bugzilla.novell.com/show_bug.cgi?id=772035#c0 Summary: devel:languages:python/python-dateutil: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse@dnb6.de ReportedBy: ocefpaf@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: jmatejek@suse.com, speilicke@suse.com Found By: Third Party Developer/Partner Blocker: --- Hi, if I understand correctly the announcement for dateutil 2.x is that they do not support python 2.x anymore. I think that we should keep packaging 1.5 until python3 is standard. http://labix.org/python-dateutil#head-b57873b28af6ab8b1c4ae48d522ce0c691abbd... Thanks, Filipe. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=772035 https://bugzilla.novell.com/show_bug.cgi?id=772035#c1 Sascha Peilicke <speilicke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |INVALID --- Comment #1 from Sascha Peilicke <speilicke@suse.com> 2012-07-18 12:31:39 UTC --- Doing the "Quick Example" from http://labix.org/python-dateutil#head-b57873b28af6ab8b1c4ae48d522ce0c691abbd... on Factory: saschpe@bort:~% rpm -qi python-dateutil Name : python-dateutil Version : 2.1 Release : 3.3 ... saschpe@bort:~% python Python 2.7.3 (default, Apr 14 2012, 08:58:41) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information.
from dateutil.relativedelta import * from dateutil.easter import * from dateutil.rrule import * from dateutil.parser import * from datetime import * import commands import os now = parse(commands.getoutput("date")) today = now.date() year = rrule(YEARLY,bymonth=8,bymonthday=13,byweekday=FR)[0].year rdelta = relativedelta(easter(year), today) print "Today is:", today Today is: 2012-07-18 print "Year with next Aug 13th on a Friday is:", year Year with next Aug 13th on a Friday is: 2021 print "How far is the Easter of that year:", rdelta How far is the Easter of that year: relativedelta(years=+8, months=+8, days=+17) print "And the Easter of that year is:", today+rdelta And the Easter of that year is: 2021-04-04
Seems like it still works with Python-2.7.3, thus I think there's no issue here ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=772035 https://bugzilla.novell.com/show_bug.cgi?id=772035#c2 --- Comment #2 from Filipe Fernandes <ocefpaf@gmail.com> 2012-07-18 12:44:41 UTC --- You are right, even though they say the opposite. I just downloaded the full "491" tests and all of them work fine. However, now I must convince pandas people to remove this from their code: https://github.com/pydata/pandas/blob/master/pandas/tseries/tools.py#L16 Thanks, Filipe. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com