[Bug 810859] Review Request: python3-dateutil - Powerful extensions to the standard datetime module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=810859

--- Comment #3 from Thomas Spura <tomspur@xxxxxxxxxxxxxxxxx> 2012-04-09 09:09:48 EDT ---
(In reply to comment #2)
> Is there a compelling reason to do this as a
> separate SRPM and not simply a subpackage of python-dateutil?

On the webpage is mentioned that 2.0 version is for Python >= 3.0:
http://labix.org/python-dateutil#head-2f49784d6b27bae60cde1cff6a535663cf87497b

Ignoring that, I tried to get it working with python2, but without success...

The testsuite fails badly because of many, many unicode vs strings errors and I
don't think it makes sense to get it working somehow with python2 because
upstream doesn't support it...

To redo it, just change "_thread" to "thread" and run the test.py with python2,
e.g.:

ERROR: testZoneInfoFileStart1 (__main__.TZTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test.py", line 3888, in testZoneInfoFileStart1
    self.assertEqual(datetime(2003, 4, 6, 1, 59, tzinfo=tz).tzname(), "EST")
TypeError: tzinfo.tzname() must return None or a string, not 'unicode'

----------------------------------------------------------------------
Ran 478 tests in 0.819s

FAILED (errors=456)

(In reply to comment #2)
> Has there been discussion of this?

Not yet, but I hope the reason from above is enough to have a separate
package... :(

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]