Permalink
Browse files

Merge pull request #983 from mdboom/update_pytz_and_dateutil

Issues with dateutil and pytz
  • Loading branch information...
2 parents 42878d2 + 07d8416 commit 354721b1be30b910022fda37565ba96da3ba8818 @mdboom mdboom committed Aug 22, 2012
Showing with 6,494 additions and 74 deletions.
  1. +10 −0 doc/users/whats_new.rst
  2. 0 lib/{dateutil → dateutil_py2}/LICENSE
  3. 0 lib/{dateutil → dateutil_py2}/NEWS
  4. 0 lib/{dateutil → dateutil_py2}/README
  5. 0 lib/{dateutil → dateutil_py2}/__init__.py
  6. 0 lib/{dateutil → dateutil_py2}/easter.py
  7. 0 lib/{dateutil → dateutil_py2}/parser.py
  8. 0 lib/{dateutil → dateutil_py2}/relativedelta.py
  9. 0 lib/{dateutil → dateutil_py2}/rrule.py
  10. 0 lib/{dateutil → dateutil_py2}/tz.py
  11. 0 lib/{dateutil → dateutil_py2}/tzwin.py
  12. 0 lib/{dateutil → dateutil_py2}/zoneinfo/__init__.py
  13. BIN lib/{dateutil → dateutil_py2}/zoneinfo/zoneinfo-2010g.tar.gz
  14. +30 −0 lib/dateutil_py3/LICENSE
  15. +164 −0 lib/dateutil_py3/NEWS
  16. +1,970 −0 lib/dateutil_py3/README
  17. +10 −0 lib/dateutil_py3/__init__.py
  18. +91 −0 lib/dateutil_py3/easter.py
  19. +909 −0 lib/dateutil_py3/parser.py
  20. +436 −0 lib/dateutil_py3/relativedelta.py
  21. +1,112 −0 lib/dateutil_py3/rrule.py
  22. +353 −0 lib/dateutil_py3/six.py
  23. +960 −0 lib/dateutil_py3/tz.py
  24. +179 −0 lib/dateutil_py3/tzwin.py
  25. +90 −0 lib/dateutil_py3/zoneinfo/__init__.py
  26. BIN lib/dateutil_py3/zoneinfo/zoneinfo--latest.tar.gz
  27. BIN lib/dateutil_py3/zoneinfo/zoneinfo-2011d.tar.gz
  28. +2 −3 lib/pytz/README.txt
  29. +13 −8 lib/pytz/__init__.py
  30. +99 −2 lib/pytz/tests/test_tzinfo.py
  31. +3 −1 lib/pytz/tzfile.py
  32. +5 −0 lib/pytz/tzinfo.py
  33. BIN lib/pytz/zoneinfo/Africa/Casablanca
  34. BIN lib/pytz/zoneinfo/America/Atikokan
  35. BIN lib/pytz/zoneinfo/America/Bahia
  36. BIN lib/pytz/zoneinfo/America/Blanc-Sablon
  37. BIN lib/pytz/zoneinfo/America/Coral_Harbour
  38. BIN lib/pytz/zoneinfo/America/Creston
  39. BIN lib/pytz/zoneinfo/America/Dawson_Creek
  40. BIN lib/pytz/zoneinfo/America/Edmonton
  41. BIN lib/pytz/zoneinfo/America/Glace_Bay
  42. BIN lib/pytz/zoneinfo/America/Goose_Bay
  43. BIN lib/pytz/zoneinfo/America/Halifax
  44. BIN lib/pytz/zoneinfo/America/Havana
  45. BIN lib/pytz/zoneinfo/America/Moncton
  46. BIN lib/pytz/zoneinfo/America/Montreal
  47. BIN lib/pytz/zoneinfo/America/Nipigon
  48. BIN lib/pytz/zoneinfo/America/Port-au-Prince
  49. BIN lib/pytz/zoneinfo/America/Rainy_River
  50. BIN lib/pytz/zoneinfo/America/Regina
  51. BIN lib/pytz/zoneinfo/America/Santiago
  52. BIN lib/pytz/zoneinfo/America/Sitka
  53. BIN lib/pytz/zoneinfo/America/St_Johns
  54. BIN lib/pytz/zoneinfo/America/Swift_Current
  55. BIN lib/pytz/zoneinfo/America/Toronto
  56. BIN lib/pytz/zoneinfo/America/Vancouver
  57. BIN lib/pytz/zoneinfo/America/Winnipeg
  58. BIN lib/pytz/zoneinfo/Antarctica/Casey
  59. BIN lib/pytz/zoneinfo/Antarctica/Davis
  60. BIN lib/pytz/zoneinfo/Antarctica/Palmer
  61. BIN lib/pytz/zoneinfo/Asia/Damascus
  62. BIN lib/pytz/zoneinfo/Asia/Gaza
  63. BIN lib/pytz/zoneinfo/Asia/Hebron
  64. BIN lib/pytz/zoneinfo/Asia/Yerevan
  65. BIN lib/pytz/zoneinfo/Atlantic/Stanley
  66. BIN lib/pytz/zoneinfo/Canada/Atlantic
  67. BIN lib/pytz/zoneinfo/Canada/Central
  68. BIN lib/pytz/zoneinfo/Canada/East-Saskatchewan
  69. BIN lib/pytz/zoneinfo/Canada/Eastern
  70. BIN lib/pytz/zoneinfo/Canada/Mountain
  71. BIN lib/pytz/zoneinfo/Canada/Newfoundland
  72. BIN lib/pytz/zoneinfo/Canada/Pacific
  73. BIN lib/pytz/zoneinfo/Canada/Saskatchewan
  74. BIN lib/pytz/zoneinfo/Chile/Continental
  75. BIN lib/pytz/zoneinfo/Chile/EasterIsland
  76. BIN lib/pytz/zoneinfo/Cuba
  77. BIN lib/pytz/zoneinfo/Europe/Kiev
  78. BIN lib/pytz/zoneinfo/Europe/Simferopol
  79. BIN lib/pytz/zoneinfo/Europe/Uzhgorod
  80. BIN lib/pytz/zoneinfo/Europe/Zaporozhye
  81. BIN lib/pytz/zoneinfo/Pacific/Easter
  82. BIN lib/pytz/zoneinfo/Pacific/Fakaofo
  83. BIN lib/pytz/zoneinfo/Pacific/Fiji
  84. +0 −1 lib/pytz/zoneinfo/iso3166.tab
  85. +2 −2 lib/pytz/zoneinfo/zone.tab
  86. +50 −41 setup.py
  87. +6 −16 setupext.py
View
@@ -127,6 +127,16 @@ local intensity of the vector field.
.. plot:: mpl_examples/pylab_examples/streamplot_demo.py
+Updated shipped dependencies
+----------------------------
+
+The following dependencies that ship with matplotlib and are
+optionally installed alongside it have been updated:
+
+ - `pytz <http://pytz.sf.net/>` 2012d
+
+ - `dateutil <http://labix.org/python-dateutil>` 1.5 on Python 2.x,
+ and 2.1 on Python 3.x
.. _whats-new-1-1:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,30 @@
+dateutil - Extensions to the standard Python datetime module.
+
+Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net>
+Copyright (c) 2012 - Tomi Pieviläinen <tomi.pievilainen@iki.fi>
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1,164 @@
+Version 2.1
+-----------
+
+- New maintainer
+
+- Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
+
+- #704047: Ismael Carnales' patch for a new time format
+
+- Small bug fixes, thanks for reporters!
+
+
+Version 2.0
+-----------
+
+- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
+ please continue using the 1.X series.
+
+- There's no such thing as a "PSF License". This source code is now
+ made available under the Simplified BSD license. See LICENSE for
+ details.
+
+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
+-------------
+
+- Updated timezone information.
+
+
+Version 1.4
+-----------
+
+- Fixed another parser precision problem on conversion of decimal seconds
+ to microseconds, as reported by Erik Brown. Now these issues are gone
+ for real since it's not using floating point arithmetic anymore.
+
+- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
+ to a date being used where a datetime was expected (reported and fixed
+ by Lennart Regebro).
+
+- Prevent tzstr from introducing daylight timings in strings that didn't
+ specify them (reported by Lennart Regebro).
+
+- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
+ expected values, instead of the TZ variable behavior.
+
+- Fixed DST signal handling in zoneinfo files. Reported by
+ Nicholas F. Fabry and John-Mark Gurney.
+
+
+Version 1.3
+-----------
+
+- Fixed precision problem on conversion of decimal seconds to
+ microseconds, as reported by Skip Montanaro.
+
+- Fixed bug in constructor of parser, and converted parser classes to
+ new-style classes. Original report and patch by Michael Elsd�rfer.
+
+- Initialize tzid and comps in tz.py, to prevent the code from ever
+ raising a NameError (even with broken files). Johan Dahlin suggested
+ the fix after a pyflakes run.
+
+- Version is now published in dateutil.__version__, as requested
+ by Darren Dale.
+
+- All code is compatible with new-style division.
+
+
+Version 1.2
+-----------
+
+- Now tzfile will round timezones to full-minutes if necessary,
+ since Python's datetime doesn't support sub-minute offsets.
+ Thanks to Ilpo Nyyss�nen for reporting the issue.
+
+- Removed bare string exceptions, as reported and fixed by
+ Wilfredo S�nchez Vega.
+
+- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
+
+
+Version 1.1
+-----------
+
+- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
+ RFC2445 allows negative numbers.
+
+- Fixed --prefix handling in setup.py (by Sidnei da Silva).
+
+- Now tz.gettz() returns a tzlocal instance when not given any
+ arguments and no other timezone information is found.
+
+- Updating timezone information to version 2005q.
+
+
+Version 1.0
+-----------
+
+- Fixed parsing of XXhXXm formatted time after day/month/year
+ has been parsed.
+
+- Added patch by Jeffrey Harris optimizing rrule.__contains__.
+
+
+Version 0.9
+-----------
+
+- Fixed pickling of timezone types, as reported by
+ Andreas K�hler.
+
+- Implemented internal timezone information with binary
+ timezone files [1]. datautil.tz.gettz() function will now
+ try to use the system timezone files, and fallback to
+ the internal versions. It's also possible to ask for
+ the internal versions directly by using
+ dateutil.zoneinfo.gettz().
+
+- New tzwin timezone type, allowing access to Windows
+ internal timezones (contributed by Jeffrey Harris).
+
+- Fixed parsing of unicode date strings.
+
+- Accept parserinfo instances as the parser constructor
+ parameter, besides parserinfo (sub)classes.
+
+- Changed weekday to spell the not-set n value as None
+ instead of 0.
+
+- Fixed other reported bugs.
+
+[1] http://www.twinsun.com/tz/tz-link.htm
+
+
+Version 0.5
+-----------
+
+- Removed FREQ_ prefix from rrule frequency constants
+ WARNING: this breaks compatibility with previous versions.
+
+- Fixed rrule.between() for cases where "after" is achieved
+ before even starting, as reported by Andreas K�hler.
+
+- Fixed two digit zero-year parsing (such as 31-Dec-00), as
+ reported by Jim Abramson, and included test case for this.
+
+- Sort exdate and rdate before iterating over them, so that
+ it's not necessary to sort them before adding to the rruleset,
+ as reported by Nicholas Piper.
+
Oops, something went wrong.

0 comments on commit 354721b

Please sign in to comment.