Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update python-dateutil to 2.9.0.post0 #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Mar 1, 2024

This PR updates python-dateutil from 2.8.1 to 2.9.0.post0.

Changelog

2.9.0.post0

================================

Bugfixes
--------

- Pinned ``setuptools_scm`` to ``<8``, which should make the generated ``_version.py`` file compatible with all supported versions of Python.

2.9.0

==========================

Data updates
------------

- Updated tzdata version to 2024a. (gh pr 1342)


Features
--------

- Made all ``dateutil`` submodules lazily imported using `PEP 562
<https://www.python.org/dev/peps/pep-0562/>`_. On Python 3.7+, things like
``import dateutil; dateutil.tz.gettz("America/New_York")`` will now work
without explicitly importing ``dateutil.tz``, with the import occurring behind
the scenes on first use. The old behavior remains on Python 3.6 and earlier.
Fixed by Orson Adams. (gh issue 771, gh pr 1007)


Bugfixes
--------

- Removed a call to ``datetime.utcfromtimestamp``, which is deprecated as of Python 3.12. Reported by Hugo van Kemenade (gh pr 1284), fixed by Thomas Grainger (gh pr 1285).


Documentation changes
---------------------

- Added note into docs and tests where relativedelta would return last day of the month
only if the same day on a different month resolves to a date that doesn't exist.
Reported by hawkEye-01 (gh issue 1167). Fixed by Mifrill (gh pr 1168)

2.8.2

==========================

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).
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant