py-dateutil: update to 2.9.0.0.0.0.

Version 2.9.0.post0 (2024-03-01)
================================

Bugfixes
--------

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


Version 2.9.0 (2024-02-29)
==========================

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)
This commit is contained in:
wiz 2024-03-03 11:42:57 +00:00
parent eda7cd7b26
commit 7561e7b4d5
2 changed files with 8 additions and 9 deletions

View File

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.36 2023/03/29 09:34:14 wiz Exp $
# $NetBSD: Makefile,v 1.37 2024/03/03 11:42:57 wiz Exp $
DISTNAME= python-dateutil-2.8.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
PKGREVISION= 1
DISTNAME= python-dateutil-2.9.0.post0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//:S/post/0.0./}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
@ -23,7 +22,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
PYTHON_VERSIONED_DEPENDENCIES= test:test
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build
PYTHON_VERSIONED_DEPENDENCIES+= pip:build
PYTHON_VERSIONED_DEPENDENCIES+= pip:build
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

View File

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.20 2021/10/26 11:24:32 nia Exp $
$NetBSD: distinfo,v 1.21 2024/03/03 11:42:57 wiz Exp $
BLAKE2s (python-dateutil-2.8.2.tar.gz) = 8924489783ac39444bc8f61fbb6d6b7b14a49976b6aeed269b9808ecb1a76b83
SHA512 (python-dateutil-2.8.2.tar.gz) = 6538858e4a3e2d1de1bf25b6d8b25e3a8d20bf60fb85e32d07ac491c90ce193e268bb5641371b8a79fb0f033a184bac9896b3bc643c1aca9ee9c6478286ac20c
Size (python-dateutil-2.8.2.tar.gz) = 357324 bytes
BLAKE2s (python-dateutil-2.9.0.post0.tar.gz) = 853dce8ffa2bb628e0d82444793adb394e9962ddca529ce1dea814e30384b416
SHA512 (python-dateutil-2.9.0.post0.tar.gz) = f76522de0ff21547327eaf6966e80a15c57f8f92588d520eabd354a732e5c4b51d9c3ac5effd9eaa6dd451d1bce329a54a3f4c6bf4f1bd08ff06b0305c994e5a
Size (python-dateutil-2.9.0.post0.tar.gz) = 342432 bytes