summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Corchero <mariocj89@gmail.com>2021-07-13 17:58:48 +0200
committerGitHub <noreply@github.com>2021-07-13 17:58:48 +0200
commit6b035517571e63b6a63a493740c5506ec1e5da44 (patch)
treec718e63384566370ef2ecacb0a8d052da9599040
parent584b58d58abc7c23aa3c5177f465464cf90d10d7 (diff)
parentcf44dd0c66827070cf9dd7b30f126b3ab2e110b5 (diff)
downloaddateutil-git-6b035517571e63b6a63a493740c5506ec1e5da44.tar.gz
Merge pull request #1143 from mariocj89/pu/2.8.22.8.2
Prepare 2.8.2 release
-rw-r--r--NEWS64
-rw-r--r--changelog.d/1015.misc.rst2
-rw-r--r--changelog.d/1017.misc.rst2
-rw-r--r--changelog.d/1020.misc.rst1
-rw-r--r--changelog.d/1024.misc.rst2
-rw-r--r--changelog.d/1025.doc.rst1
-rw-r--r--changelog.d/1034.data.rst1
-rw-r--r--changelog.d/1060.misc.rst1
-rw-r--r--changelog.d/1068.misc.rst2
-rw-r--r--changelog.d/1076.misc.rst1
-rw-r--r--changelog.d/1078.misc.rst1
-rw-r--r--changelog.d/1083.misc.rst1
-rw-r--r--changelog.d/1104.misc.rst3
-rw-r--r--changelog.d/1122.bugfix.rst1
-rw-r--r--changelog.d/1125.bugfix.rst1
-rw-r--r--changelog.d/1128.data.rst1
-rw-r--r--changelog.d/1133.misc.rst1
-rw-r--r--changelog.d/975.misc.rst1
-rw-r--r--changelog.d/978.misc.rst2
-rw-r--r--changelog.d/982.misc.rst1
-rw-r--r--changelog.d/985.doc.rst1
-rw-r--r--changelog.d/987.bugfix.rst4
-rw-r--r--changelog.d/990.misc.rst1
-rw-r--r--changelog.d/991.bugfix.rst1
-rw-r--r--changelog.d/992.doc.rst2
-rw-r--r--changelog.d/994.doc.rst2
26 files changed, 61 insertions, 40 deletions
diff --git a/NEWS b/NEWS
index 293f0ca..446979d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,61 @@
+Version 2.8.2 (2021-07-08)
+==========================
+
+Data updates
+------------
+
+- Updated tzdata version to 2021a. (gh pr #1128)
+
+
+Bugfixes
+--------
+
+- Fixed a bug in the parser where non-``ValueError`` exceptions would be raised
+ during exception handling; this would happen, for example, if an
+ ``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey.
+ (gh issue #981, pr #987).
+- Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not
+ defined due to an indentation error. (gh issue #991, gh pr #993)
+- Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception
+ messages. Reported and fixed by Paul Brown (@pawl) (gh pr #1122)
+- Make ``isoparse`` raise when trying to parse times with inconsistent use of
+ `:` separator. Reported and fixed by @mariocj89 (gh pr #1125).
+- Fixed ``tz.gettz()`` not returning local time when passed an empty string.
+ Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024)
+
+
+Documentation changes
+---------------------
+
+- Rearranged parser documentation into "Functions", "Classes" and "Warnings and
+ Exceptions" categories. (gh issue #992, pr #994).
+- Updated ``parser.parse`` documentation to reflect the switch from
+ ``ValueError`` to ``ParserError``. (gh issue #992, pr #994).
+- Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr
+ #1025)
+- Changed some relative links in the exercise documentation to refer to the
+ document locations in the input tree, rather than the generated HTML files in
+ the HTML output tree (which presumably will not exist in non-HTML output
+ formats). (gh pr #1078).
+
+
+Misc
+----
+
+- Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to
+ pytest. Reported and fixed by @jpurviance (gh pr #978)
+- Added project_urls for documentation and source. Patch by @andriyor (gh pr
+ #975).
+- Simplified handling of bytes and bytearray in ``_parser._timelex``. Reported
+ and fixed by @frenzymadness (gh issue #1060).
+- Changed the tests against the upstream tz database to always generate fat
+ binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries
+ will cause problems in many zones, causing the tests to fail. This also
+ updates ``zoneinfo.rebuild`` to always generate fat binaries. (gh pr #1076).
+- Moved sdist and wheel generation to use `python-build`. Reported and fixed by
+ @mariocj89 (gh pr #1133).
+
+
Version 2.8.1 (2019-11-03)
==========================
@@ -300,7 +358,7 @@ Version 2.7.0
reported by @nealmcb (gh issue #94)
- Added dedicated ISO 8601 parsing function isoparse (gh issue #424).
Initial implementation by @pganssle in gh pr #489 and #622, with a
- pre-release fix by @kirit93 (gh issue #546, gh pr #573).
+ pre-release fix by @kirit93 (gh issue #546, gh pr #573).
- Moved parser module into parser/_parser.py and officially deprecated the use
of several private functions and classes from that module. (gh pr #501, #515)
- Tweaked parser error message to include rejected string format, added by
@@ -334,7 +392,7 @@ Version 2.7.0
- Significantly refactored parser code by @jbrockmendel (gh prs #419, #436,
#490, #498, #539) and @pganssle (gh prs #435, #468)
- Implemented of __hash__ for relativedelta and weekday, reported and fixed
- by @mrigor (gh pr #389)
+ by @mrigor (gh pr #389)
- Implemented __abs__ for relativedelta. Reported by @binnisb and @pferreir
(gh issue #350, pr #472)
- Fixed relativedelta.weeks property getter and setter to work for both
@@ -369,7 +427,7 @@ Version 2.7.0
gh pr #581)
- Fixed issue with tz.gettz for TZ variables that start with a colon. Reported
and fixed by @lapointexavier (gh pr #601)
-- Added a lock to tz.tzical's cache. Reported and fixed by @Unrud (gh pr #430)
+- Added a lock to tz.tzical's cache. Reported and fixed by @Unrud (gh pr #430)
- Fixed an issue with fold support on certain Python 3 implementations that
used the pre-3.6 pure Python implementation of datetime.replace, most
notably pypy3 (gh pr #446).
diff --git a/changelog.d/1015.misc.rst b/changelog.d/1015.misc.rst
deleted file mode 100644
index 22b8d29..0000000
--- a/changelog.d/1015.misc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed tox not testing solutions under docs/exercises.
-Reported and fixed by @ffe4 (gh pr #1015)
diff --git a/changelog.d/1017.misc.rst b/changelog.d/1017.misc.rst
deleted file mode 100644
index 9409f92..0000000
--- a/changelog.d/1017.misc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Removed broken link to pgp mirror that made the travis build fail.
-Reported and fixed by @ffe4 (gh pr #1017)
diff --git a/changelog.d/1020.misc.rst b/changelog.d/1020.misc.rst
deleted file mode 100644
index 1a4b361..0000000
--- a/changelog.d/1020.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Migrate PyPy CI from Travis to Github Actions. (gh issue #1019) \ No newline at end of file
diff --git a/changelog.d/1024.misc.rst b/changelog.d/1024.misc.rst
deleted file mode 100644
index d55f738..0000000
--- a/changelog.d/1024.misc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Fixed tz.gettz() not returning local time when passed an empty string.
-Reported by @labrys (gh issues #925, #926). Fixed by @ffe4 (gh pr #1024) \ No newline at end of file
diff --git a/changelog.d/1025.doc.rst b/changelog.d/1025.doc.rst
deleted file mode 100644
index 5c6dfc9..0000000
--- a/changelog.d/1025.doc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed methods in the ``rrule`` module not being displayed in the docs. (gh pr #1025) \ No newline at end of file
diff --git a/changelog.d/1034.data.rst b/changelog.d/1034.data.rst
deleted file mode 100644
index 8854a33..0000000
--- a/changelog.d/1034.data.rst
+++ /dev/null
@@ -1 +0,0 @@
-Updated tzdata version to 2020a. (gh pr #1034)
diff --git a/changelog.d/1060.misc.rst b/changelog.d/1060.misc.rst
deleted file mode 100644
index 916a01c..0000000
--- a/changelog.d/1060.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Simplify handling of bytes and bytearray in _parser._timelex. Reported and fixed by @frenzymadness (gh issue #1060).
diff --git a/changelog.d/1068.misc.rst b/changelog.d/1068.misc.rst
deleted file mode 100644
index 542a8d6..0000000
--- a/changelog.d/1068.misc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Use the already created len variable instead of calling len.
-Reported and fixed by @arclightslavik (gh issue #1067 gh pr #1068)
diff --git a/changelog.d/1076.misc.rst b/changelog.d/1076.misc.rst
deleted file mode 100644
index 2b0a4b6..0000000
--- a/changelog.d/1076.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Changed the tests against the upstream tz database to always generate fat binaries, since until GH-590 and GH-1059 are resolved, "slim" zic binaries will cause problems in many zones, causing the tests to fail. This also updates ``zoneinfo.rebuild`` to always generate fat binaries. GH PR #1076.
diff --git a/changelog.d/1078.misc.rst b/changelog.d/1078.misc.rst
deleted file mode 100644
index b293fc2..0000000
--- a/changelog.d/1078.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Changed some relative links in the exercise documentation to refer to the document locations in the input tree, rather than the generated HTML files in the HTML output tree (which presumably will not exist in non-HTML output formats). GH PR #1078.
diff --git a/changelog.d/1083.misc.rst b/changelog.d/1083.misc.rst
deleted file mode 100644
index c59c0c9..0000000
--- a/changelog.d/1083.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Added Python 3.9 to the test matrix and trove classifiers. Fixed by @michael-k (gh pr #1083)
diff --git a/changelog.d/1104.misc.rst b/changelog.d/1104.misc.rst
deleted file mode 100644
index 1109412..0000000
--- a/changelog.d/1104.misc.rst
+++ /dev/null
@@ -1,3 +0,0 @@
-Added two explicit tests for ``relativedelta(day=31)`` to test that it really returns the last
-day of the month for February, which doesn't have 31 days, including leap years.
-Reported by @MrRawbin (gh issue #1104). Fixed by @MrRawbin (gh pr #1105)
diff --git a/changelog.d/1122.bugfix.rst b/changelog.d/1122.bugfix.rst
deleted file mode 100644
index f27d245..0000000
--- a/changelog.d/1122.bugfix.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed a bug that caused b' prefixes to appear in parse_isodate exception messages.
diff --git a/changelog.d/1125.bugfix.rst b/changelog.d/1125.bugfix.rst
deleted file mode 100644
index 6ed0449..0000000
--- a/changelog.d/1125.bugfix.rst
+++ /dev/null
@@ -1 +0,0 @@
-Make `isoparse` raise when trying to parse times with inconsistent use of `:` separator. Reported and fixed by @mariocj89 (gh pr #1125).
diff --git a/changelog.d/1128.data.rst b/changelog.d/1128.data.rst
deleted file mode 100644
index 8854a33..0000000
--- a/changelog.d/1128.data.rst
+++ /dev/null
@@ -1 +0,0 @@
-Updated tzdata version to 2020a. (gh pr #1034)
diff --git a/changelog.d/1133.misc.rst b/changelog.d/1133.misc.rst
deleted file mode 100644
index 08e99b3..0000000
--- a/changelog.d/1133.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Move sdist and wheel generation to use `python-build`. Reported and fixed by @mariocj89 (gh pr #1133).
diff --git a/changelog.d/975.misc.rst b/changelog.d/975.misc.rst
deleted file mode 100644
index e57dbd0..0000000
--- a/changelog.d/975.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Added project_urls for documentation and source. Patch by @andriyor (gh pr #975).
diff --git a/changelog.d/978.misc.rst b/changelog.d/978.misc.rst
deleted file mode 100644
index c6b2996..0000000
--- a/changelog.d/978.misc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Move test suite towards pytest and away from unittest.
-Reported and fixed by @jpurviance (gh pr #978)
diff --git a/changelog.d/982.misc.rst b/changelog.d/982.misc.rst
deleted file mode 100644
index f3dc3c4..0000000
--- a/changelog.d/982.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Dropped Python 3.3 and added Python 3.7 and 3.8 to the Appveyor builds.
diff --git a/changelog.d/985.doc.rst b/changelog.d/985.doc.rst
deleted file mode 100644
index faf477d..0000000
--- a/changelog.d/985.doc.rst
+++ /dev/null
@@ -1 +0,0 @@
-- Fixes a small typo in dateutil/utils.py.
diff --git a/changelog.d/987.bugfix.rst b/changelog.d/987.bugfix.rst
deleted file mode 100644
index 8bc3cdd..0000000
--- a/changelog.d/987.bugfix.rst
+++ /dev/null
@@ -1,4 +0,0 @@
-Fixed a bug in the parser where non-``ValueError`` exceptions would be raised
-during exception handling; this would happen, for example, if an
-``IllegalMonthError`` was raised in ``dateutil`` code. Fixed by Mark Bailey.
-(gh issue #981, pr #987).
diff --git a/changelog.d/990.misc.rst b/changelog.d/990.misc.rst
deleted file mode 100644
index faf82d5..0000000
--- a/changelog.d/990.misc.rst
+++ /dev/null
@@ -1 +0,0 @@
-Python 3.4 coverage is no longer uploaded on Appveyor.
diff --git a/changelog.d/991.bugfix.rst b/changelog.d/991.bugfix.rst
deleted file mode 100644
index 473082e..0000000
--- a/changelog.d/991.bugfix.rst
+++ /dev/null
@@ -1 +0,0 @@
-Fixed the custom ``repr`` for ``dateutil.parser.ParserError``, which was not defined due to an indentation error. (gh issue #991, gh pr #993)
diff --git a/changelog.d/992.doc.rst b/changelog.d/992.doc.rst
deleted file mode 100644
index 60e29e1..0000000
--- a/changelog.d/992.doc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Rearranged parser documentation into "Functions", "Classes" and "Warnings and
-Exceptions" categories. (gh issue #992, pr #994).
diff --git a/changelog.d/994.doc.rst b/changelog.d/994.doc.rst
deleted file mode 100644
index 4ff6046..0000000
--- a/changelog.d/994.doc.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Updated ``parser.parse`` documentation to reflect the switch from
-``ValueError`` to ``ParserError``. (gh issue #992, pr #994).