pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/time/py-dateutil



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Mar  3 11:42:57 UTC 2024

Modified Files:
        pkgsrc/time/py-dateutil: Makefile distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/time/py-dateutil/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/time/py-dateutil/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/time/py-dateutil/Makefile
diff -u pkgsrc/time/py-dateutil/Makefile:1.36 pkgsrc/time/py-dateutil/Makefile:1.37
--- pkgsrc/time/py-dateutil/Makefile:1.36       Wed Mar 29 09:34:14 2023
+++ pkgsrc/time/py-dateutil/Makefile    Sun Mar  3 11:42:57 2024
@@ -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-
 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}

Index: pkgsrc/time/py-dateutil/distinfo
diff -u pkgsrc/time/py-dateutil/distinfo:1.20 pkgsrc/time/py-dateutil/distinfo:1.21
--- pkgsrc/time/py-dateutil/distinfo:1.20       Tue Oct 26 11:24:32 2021
+++ pkgsrc/time/py-dateutil/distinfo    Sun Mar  3 11:42:57 2024
@@ -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



Home | Main Index | Thread Index | Old Index