Skip to content

Commit fc9b162

Browse files
authored
Merge pull request #974 from pganssle/release_2.8.1
Prepare 2.8.1 release
2 parents 5fdbdbb + 4ccc8bb commit fc9b162

30 files changed

Lines changed: 80 additions & 53 deletions

NEWS

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,83 @@
1+
Version 2.8.1 (2019-11-03)
2+
==========================
3+
4+
Data updates
5+
------------
6+
7+
- Updated tzdata version to 2019c.
8+
9+
10+
Bugfixes
11+
--------
12+
13+
- Fixed a race condition in the ``tzoffset`` and ``tzstr`` "strong" caches on
14+
Python 2.7. Reported by @kainjow (gh issue #901).
15+
- Parsing errors will now raise ``ParserError``, a subclass of ``ValueError``,
16+
which has a nicer string representation. Patch by @gfyoung (gh pr #881).
17+
- ``parser.parse`` will now raise ``TypeError`` when ``tzinfos`` is passed a
18+
type that cannot be interpreted as a time zone. Prior to this change, it
19+
would raise an ``UnboundLocalError`` instead. Patch by @jbrockmendel (gh pr
20+
#891).
21+
- Changed error message raised when when passing a ``bytes`` object as the time
22+
zone name to gettz in Python 3. Reported and fixed by @labrys () (gh issue
23+
#927, gh pr #935).
24+
- Changed compatibility logic to support a potential Python 4.0 release. Patch
25+
by Hugo van Kemenade (gh pr #950).
26+
- Updated many modules to use ``tz.UTC`` in favor of ``tz.tzutc()`` internally,
27+
to avoid an unnecessary function call. (gh pr #910).
28+
- Fixed issue where ``dateutil.tz`` was using a backported version of
29+
``contextlib.nullcontext`` even in Python 3.7 due to a malformed import
30+
statement. (gh pr #963).
31+
32+
33+
Tests
34+
-----
35+
36+
- Switched from using assertWarns to using pytest.warns in the test suite. (gh
37+
pr #969).
38+
- Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly
39+
specified as an error in the warnings filter. (gh pr #966)
40+
- Fixed issue where ``test_tzlocal_offset_equal`` would fail in certain
41+
environments (such as FreeBSD) due to an invalid assumption about what time
42+
zone names are provided. Reported and fixed by Kubilay Kocak (gh issue #918,
43+
pr #928).
44+
- Fixed a minor bug in ``test_isoparser`` related to ``bytes``/``str``
45+
handling. Fixed by @fhuang5 (gh issue #776, gh pr #879).
46+
- Explicitly listed all markers used in the pytest configuration. (gh pr #915)
47+
- Extensive improvements to the parser test suite, including the adoption of
48+
``pytest``-style tests and the addition of parametrization of several test
49+
cases. Patches by @jbrockmendel (gh prs #735, #890, #892, #894).
50+
- Added tests for tzinfos input types. Patch by @jbrockmendel (gh pr #891).
51+
- Fixed failure of test suite when changing the TZ variable is forbidden.
52+
Patch by @shadchin (gh pr #893).
53+
- Pinned all test dependencies on Python 3.3. (gh prs #934, #962)
54+
55+
56+
Documentation changes
57+
---------------------
58+
59+
- Fixed many misspellings, typos and styling errors in the comments and
60+
documentation. Patch by Hugo van Kemenade (gh pr #952).
61+
62+
63+
Misc
64+
----
65+
66+
- Added Python 3.8 to the trove classifiers. (gh pr #970)
67+
- Moved as many keys from ``setup.py`` to ``setup.cfg`` as possible. Fixed by
68+
@FakeNameSE, @aquinlan82, @jachen20, and @gurgenz221 (gh issue #871, gh pr
69+
#880).
70+
- Reorganized ``parser`` methods by functionality. Patch by @jbrockmendel (gh
71+
pr #882).
72+
- Switched ``release.py`` over to using ``pep517.build`` for creating releases,
73+
rather than direct invocations of ``setup.py``. Fixed by @smeng10 (gh issue
74+
#869, gh pr #875).
75+
- Added a "build" environment into the tox configuration, to handle dependency
76+
management when making releases. Fixed by @smeng10 (gh issue #870,r
77+
gh pr #876).
78+
- GH #916, GH #971
79+
80+
181
Version 2.8.0 (2019-02-04)
282
==========================
383

changelog.d/735.misc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/871.misc.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/875.misc.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/876.misc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/879.misc.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/881.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog.d/882.misc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/890.misc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

changelog.d/891.bugfix.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)