diff options
author | Mario Corchero <mariocj89@gmail.com> | 2021-07-08 10:35:54 +0200 |
---|---|---|
committer | Mario Corchero <mcorcherojim@bloomberg.net> | 2021-07-13 13:14:01 +0200 |
commit | 561167183d4cad190059975e5c0826e3587d3c97 (patch) | |
tree | 265f8328b20fae80d15cff3dfc53e71efbec1d6b | |
parent | 584b58d58abc7c23aa3c5177f465464cf90d10d7 (diff) | |
download | dateutil-git-561167183d4cad190059975e5c0826e3587d3c97.tar.gz |
Automatic generation of NEWS entries for 2.8.2
-rw-r--r-- | NEWS | 57 | ||||
-rw-r--r-- | changelog.d/1015.misc.rst | 2 | ||||
-rw-r--r-- | changelog.d/1017.misc.rst | 2 | ||||
-rw-r--r-- | changelog.d/1020.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1024.misc.rst | 2 | ||||
-rw-r--r-- | changelog.d/1025.doc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1034.data.rst | 1 | ||||
-rw-r--r-- | changelog.d/1060.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1068.misc.rst | 2 | ||||
-rw-r--r-- | changelog.d/1076.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1078.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1083.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/1104.misc.rst | 3 | ||||
-rw-r--r-- | changelog.d/1122.bugfix.rst | 1 | ||||
-rw-r--r-- | changelog.d/1125.bugfix.rst | 1 | ||||
-rw-r--r-- | changelog.d/1128.data.rst | 1 | ||||
-rw-r--r-- | changelog.d/1133.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/975.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/978.misc.rst | 2 | ||||
-rw-r--r-- | changelog.d/982.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/985.doc.rst | 1 | ||||
-rw-r--r-- | changelog.d/987.bugfix.rst | 4 | ||||
-rw-r--r-- | changelog.d/990.misc.rst | 1 | ||||
-rw-r--r-- | changelog.d/991.bugfix.rst | 1 | ||||
-rw-r--r-- | changelog.d/992.doc.rst | 2 | ||||
-rw-r--r-- | changelog.d/994.doc.rst | 2 |
26 files changed, 57 insertions, 37 deletions
@@ -1,3 +1,60 @@ +Version 2.8.2 (2021-07-08) +Data updates +------------ + +- Updated tzdata version to 2020a. (gh pr #1034) + + +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. +- Make `isoparse` raise when trying to parse times with inconsistent use of `:` separator. Reported and fixed by @mariocj89 (gh pr #1125). + + +Documentation changes +--------------------- + +- - Fixes a small typo in dateutil/utils.py. +- 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) + + +Misc +---- + +- Added project_urls for documentation and source. Patch by @andriyor (gh pr #975). +- Move test suite towards pytest and away from unittest. + Reported and fixed by @jpurviance (gh pr #978) +- Dropped Python 3.3 and added Python 3.7 and 3.8 to the Appveyor builds. +- Python 3.4 coverage is no longer uploaded on Appveyor. +- Fixed tox not testing solutions under docs/exercises. + Reported and fixed by @ffe4 (gh pr #1015) +- Removed broken link to pgp mirror that made the travis build fail. + Reported and fixed by @ffe4 (gh pr #1017) +- Migrate PyPy CI from Travis to Github Actions. (gh issue #1019) +- 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) +- Simplify handling of bytes and bytearray in _parser._timelex. Reported and fixed by @frenzymadness (gh issue #1060). +- Use the already created len variable instead of calling len. + Reported and fixed by @arclightslavik (gh issue #1067 gh pr #1068) +- 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. +- 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. +- Added Python 3.9 to the test matrix and trove classifiers. Fixed by @michael-k (gh pr #1083) +- 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) +- Move sdist and wheel generation to use `python-build`. Reported and fixed by @mariocj89 (gh pr #1133). + + Version 2.8.1 (2019-11-03) ========================== 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). |