Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 07d8416

Browse files
committed
Update pytz to 2012d and update dateutil to 1.5 for Python 2.x and 2.1 for Python 3.x
Update setup.py so that it assume datetime is always there (as it should be on the versions of Python we support). Update setup.py to not 2to3 pytz. Update setup.py to install the correct version of dateutil that matches the version of Python.
1 parent 8ab4318 commit 07d8416

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6494
-74
lines changed

doc/users/whats_new.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ local intensity of the vector field.
127127

128128
.. plot:: mpl_examples/pylab_examples/streamplot_demo.py
129129

130+
Updated shipped dependencies
131+
----------------------------
132+
133+
The following dependencies that ship with matplotlib and are
134+
optionally installed alongside it have been updated:
135+
136+
- `pytz <http://pytz.sf.net/>` 2012d
137+
138+
- `dateutil <http://labix.org/python-dateutil>` 1.5 on Python 2.x,
139+
and 2.1 on Python 3.x
130140

131141
.. _whats-new-1-1:
132142

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.

lib/dateutil_py3/LICENSE

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
dateutil - Extensions to the standard Python datetime module.
2+
3+
Copyright (c) 2003-2011 - Gustavo Niemeyer <[email protected]>
4+
Copyright (c) 2012 - Tomi Pieviläinen <[email protected]>
5+
6+
All rights reserved.
7+
8+
Redistribution and use in source and binary forms, with or without
9+
modification, are permitted provided that the following conditions are met:
10+
11+
* Redistributions of source code must retain the above copyright notice,
12+
this list of conditions and the following disclaimer.
13+
* Redistributions in binary form must reproduce the above copyright notice,
14+
this list of conditions and the following disclaimer in the documentation
15+
and/or other materials provided with the distribution.
16+
* Neither the name of the copyright holder nor the names of its
17+
contributors may be used to endorse or promote products derived from
18+
this software without specific prior written permission.
19+
20+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
27+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
28+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
29+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

lib/dateutil_py3/NEWS

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,164 @@
1+
Version 2.1
2+
-----------
3+
4+
- New maintainer
5+
6+
- Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six)
7+
8+
- #704047: Ismael Carnales' patch for a new time format
9+
10+
- Small bug fixes, thanks for reporters!
11+
12+
13+
Version 2.0
14+
-----------
15+
16+
- Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X,
17+
please continue using the 1.X series.
18+
19+
- There's no such thing as a "PSF License". This source code is now
20+
made available under the Simplified BSD license. See LICENSE for
21+
details.
22+
23+
Version 1.5
24+
-----------
25+
26+
- As reported by Mathieu Bridon, rrules were matching the bysecond rules
27+
incorrectly against byminute in some circumstances when the SECONDLY
28+
frequency was in use, due to a copy & paste bug. The problem has been
29+
unittested and corrected.
30+
31+
- Adam Ryan reported a problem in the relativedelta implementation which
32+
affected the yearday parameter in the month of January specifically.
33+
This has been unittested and fixed.
34+
35+
- Updated timezone information.
36+
37+
38+
Version 1.4.1
39+
-------------
40+
41+
- Updated timezone information.
42+
43+
44+
Version 1.4
45+
-----------
46+
47+
- Fixed another parser precision problem on conversion of decimal seconds
48+
to microseconds, as reported by Erik Brown. Now these issues are gone
49+
for real since it's not using floating point arithmetic anymore.
50+
51+
- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
52+
to a date being used where a datetime was expected (reported and fixed
53+
by Lennart Regebro).
54+
55+
- Prevent tzstr from introducing daylight timings in strings that didn't
56+
specify them (reported by Lennart Regebro).
57+
58+
- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
59+
expected values, instead of the TZ variable behavior.
60+
61+
- Fixed DST signal handling in zoneinfo files. Reported by
62+
Nicholas F. Fabry and John-Mark Gurney.
63+
64+
65+
Version 1.3
66+
-----------
67+
68+
- Fixed precision problem on conversion of decimal seconds to
69+
microseconds, as reported by Skip Montanaro.
70+
71+
- Fixed bug in constructor of parser, and converted parser classes to
72+
new-style classes. Original report and patch by Michael Elsd�rfer.
73+
74+
- Initialize tzid and comps in tz.py, to prevent the code from ever
75+
raising a NameError (even with broken files). Johan Dahlin suggested
76+
the fix after a pyflakes run.
77+
78+
- Version is now published in dateutil.__version__, as requested
79+
by Darren Dale.
80+
81+
- All code is compatible with new-style division.
82+
83+
84+
Version 1.2
85+
-----------
86+
87+
- Now tzfile will round timezones to full-minutes if necessary,
88+
since Python's datetime doesn't support sub-minute offsets.
89+
Thanks to Ilpo Nyyss�nen for reporting the issue.
90+
91+
- Removed bare string exceptions, as reported and fixed by
92+
Wilfredo S�nchez Vega.
93+
94+
- Fix bug in leap count parsing (reported and fixed by Eugene Oden).
95+
96+
97+
Version 1.1
98+
-----------
99+
100+
- Fixed rrule byyearday handling. Abramo Bagnara pointed out that
101+
RFC2445 allows negative numbers.
102+
103+
- Fixed --prefix handling in setup.py (by Sidnei da Silva).
104+
105+
- Now tz.gettz() returns a tzlocal instance when not given any
106+
arguments and no other timezone information is found.
107+
108+
- Updating timezone information to version 2005q.
109+
110+
111+
Version 1.0
112+
-----------
113+
114+
- Fixed parsing of XXhXXm formatted time after day/month/year
115+
has been parsed.
116+
117+
- Added patch by Jeffrey Harris optimizing rrule.__contains__.
118+
119+
120+
Version 0.9
121+
-----------
122+
123+
- Fixed pickling of timezone types, as reported by
124+
Andreas K�hler.
125+
126+
- Implemented internal timezone information with binary
127+
timezone files [1]. datautil.tz.gettz() function will now
128+
try to use the system timezone files, and fallback to
129+
the internal versions. It's also possible to ask for
130+
the internal versions directly by using
131+
dateutil.zoneinfo.gettz().
132+
133+
- New tzwin timezone type, allowing access to Windows
134+
internal timezones (contributed by Jeffrey Harris).
135+
136+
- Fixed parsing of unicode date strings.
137+
138+
- Accept parserinfo instances as the parser constructor
139+
parameter, besides parserinfo (sub)classes.
140+
141+
- Changed weekday to spell the not-set n value as None
142+
instead of 0.
143+
144+
- Fixed other reported bugs.
145+
146+
[1] http://www.twinsun.com/tz/tz-link.htm
147+
148+
149+
Version 0.5
150+
-----------
151+
152+
- Removed FREQ_ prefix from rrule frequency constants
153+
WARNING: this breaks compatibility with previous versions.
154+
155+
- Fixed rrule.between() for cases where "after" is achieved
156+
before even starting, as reported by Andreas K�hler.
157+
158+
- Fixed two digit zero-year parsing (such as 31-Dec-00), as
159+
reported by Jim Abramson, and included test case for this.
160+
161+
- Sort exdate and rdate before iterating over them, so that
162+
it's not necessary to sort them before adding to the rruleset,
163+
as reported by Nicholas Piper.
164+

0 commit comments

Comments
 (0)