summaryrefslogtreecommitdiff
path: root/time/py-dateutil
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-11-06 20:49:22 +0000
committeradam <adam@pkgsrc.org>2019-11-06 20:49:22 +0000
commit8ced9d209bf5c7eefc9c858fa06079ef23265246 (patch)
treea39dbf4d61873e9275ac38b893d871ab8f5837a6 /time/py-dateutil
parent0809678ca52f1c13b6f2a4893dfa3fc76ab4db99 (diff)
downloadpkgsrc-8ced9d209bf5c7eefc9c858fa06079ef23265246.tar.gz
py-dateutil: updated to 2.8.1
Version 2.8.1: Data updates - Updated tzdata version to 2019c. Bugfixes - Fixed a race condition in the ``tzoffset`` and ``tzstr`` "strong" caches on Python 2.7. - Parsing errors will now raise ``ParserError``, a subclass of ``ValueError``, which has a nicer string representation. - ``parser.parse`` will now raise ``TypeError`` when ``tzinfos`` is passed a type that cannot be interpreted as a time zone. Prior to this change, it would raise an ``UnboundLocalError`` instead. - Changed error message raised when when passing a ``bytes`` object as the time zone name to gettz in Python 3. - Changed compatibility logic to support a potential Python 4.0 release. - Updated many modules to use ``tz.UTC`` in favor of ``tz.tzutc()`` internally, to avoid an unnecessary function call. - Fixed issue where ``dateutil.tz`` was using a backported version of ``contextlib.nullcontext`` even in Python 3.7 due to a malformed import statement. Tests - Switched from using assertWarns to using pytest.warns in the test suite. - Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly specified as an error in the warnings filter. - Fixed issue where ``test_tzlocal_offset_equal`` would fail in certain environments (such as FreeBSD) due to an invalid assumption about what time zone names are provided. - Fixed a minor bug in ``test_isoparser`` related to ``bytes``/``str`` handling. - Explicitly listed all markers used in the pytest configuration. - Extensive improvements to the parser test suite, including the adoption of ``pytest``-style tests and the addition of parametrization of several test cases. - Added tests for tzinfos input types. - Fixed failure of test suite when changing the TZ variable is forbidden. - Pinned all test dependencies on Python 3.3. Documentation changes - Fixed many misspellings, typos and styling errors in the comments and documentation. Misc - Added Python 3.8 to the trove classifiers. - Moved as many keys from ``setup.py`` to ``setup.cfg`` as possible. - Reorganized ``parser`` methods by functionality. - Switched ``release.py`` over to using ``pep517.build`` for creating releases, rather than direct invocations of ``setup.py``. - Added a "build" environment into the tox configuration, to handle dependency management when making releases.
Diffstat (limited to 'time/py-dateutil')
-rw-r--r--time/py-dateutil/Makefile6
-rw-r--r--time/py-dateutil/distinfo10
2 files changed, 8 insertions, 8 deletions
diff --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile
index 6c747f47600..50c6b76ae81 100644
--- a/time/py-dateutil/Makefile
+++ b/time/py-dateutil/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2019/02/06 10:07:46 adam Exp $
+# $NetBSD: Makefile,v 1.27 2019/11/06 20:49:22 adam Exp $
-DISTNAME= python-dateutil-2.8.0
+DISTNAME= python-dateutil-2.8.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/}
@@ -17,7 +17,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
do-test:
- cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo
index 1afdb800228..2f697e683c3 100644
--- a/time/py-dateutil/distinfo
+++ b/time/py-dateutil/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2019/02/06 10:07:46 adam Exp $
+$NetBSD: distinfo,v 1.17 2019/11/06 20:49:22 adam Exp $
-SHA1 (python-dateutil-2.8.0.tar.gz) = 140cbe261ba86ff30970bd8ca3326f543de91e4d
-RMD160 (python-dateutil-2.8.0.tar.gz) = 2fda28c33329be5ccee005ca6cce55bd9500f0df
-SHA512 (python-dateutil-2.8.0.tar.gz) = ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81
-Size (python-dateutil-2.8.0.tar.gz) = 327134 bytes
+SHA1 (python-dateutil-2.8.1.tar.gz) = bd26127e57f83a10f656b62c46524c15aeb844dd
+RMD160 (python-dateutil-2.8.1.tar.gz) = 8e14a1fac932b4062904a05c11da0d1ffb5a2bbb
+SHA512 (python-dateutil-2.8.1.tar.gz) = 337000216e0f8ce32d6363768444144183ab9268f69082f20858f2b3322b1c449e53b2f2b5dcb3645be22294659ce7838f74ace2fd7a7c4f2adc6cf806a9fa2c
+Size (python-dateutil-2.8.1.tar.gz) = 331745 bytes