Path to this page:
Subject: CVS commit: pkgsrc/time/py-dateutil
From: Adam Ciarcinski
Date: 2021-07-14 22:27:22
Message id: 20210714202722.18714FA95@cvs.NetBSD.org
Log Message:
py-dateutil: updated to 2.8.2
Version 2.8.2 (2021-07-08)
==========================
Data updates
------------
- Updated tzdata version to 2021a.
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 the custom ``repr`` for ``dateutil.parser.ParserError``, which was not
defined due to an indentation error.
- 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.
- Fixed ``tz.gettz()`` not returning local time when passed an empty string.
Documentation changes
---------------------
- Rearranged parser documentation into "Functions", \
"Classes" and "Warnings and
Exceptions" categories.
- Updated ``parser.parse`` documentation to reflect the switch from
``ValueError`` to ``ParserError``.
- Fixed methods in the ``rrule`` module not being displayed in the docs.
- 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).
Misc
----
- Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to
pytest.
- Added project_urls for documentation and source.
- Simplified handling of bytes and bytearray in ``_parser._timelex``.
- 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.
- Moved sdist and wheel generation to use `python-build`.
Files: