diff options
author | adam <adam@pkgsrc.org> | 2019-02-06 10:07:46 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-02-06 10:07:46 +0000 |
commit | c0ded16e77856c437ebca5a419d47f0d96bdef55 (patch) | |
tree | 64c418ad407af1dab88f274f6727957e2b0f2466 /time | |
parent | 6f0a5413116325fdc67173e5c6fd3e46fc37199e (diff) | |
download | pkgsrc-c0ded16e77856c437ebca5a419d47f0d96bdef55.tar.gz |
py-dateutil: updated to 2.8.0
Version 2.8.0 (2019-02-04)
Data updates
- Updated tzdata version to to 2018i.
Features
- Added support for EXDATE parameters when parsing rrule strings.
- Added support for sub-minute time zone offsets in Python 3.6+.
- Switched the tzoffset, tzstr and gettz caches over to using weak
references, so that the cache expires when no other references to the
original tzinfo objects exist. This cache-expiry behavior is not
guaranteed in the public interface and may change in the future. To improve
performance in the case where transient references to the same time zones
are repeatedly created but no strong reference is continuously held, a
smaller "strong value" cache was also added.
Bugfixes
- Added time zone inference when initializing an rrule with a specified
UNTIL but without an explicitly specified DTSTART; the time zone
of the generated DTSTART will now be taken from the UNTIL rule.
- Fixed an issue where parser.parse would raise Decimal-specific errors
instead of a standard ValueError if certain malformed values were parsed
(e.g. NaN or infinite values).
- Fixed issue in parser where a tzinfos call explicitly returning
None would throw a ValueError.
- Fixed incorrect parsing of certain dates earlier than 100 AD when repesented
in the form "%B.%Y.%d", e.g. "December.0031.30".
- Add support for ISO 8601 times with comma as the decimal separator in the
dateutil.parser.isoparse function.
- Changed handling of T24:00 to be compliant with the standard. T24:00
now represents midnight on the *following* day.
- Fixed an issue where isoparser.parse_isotime was unable to handle the
24:00 variant representation of midnight.
- Added support for more than 6 fractional digits in isoparse.
- Added 'z' (lower case Z) as valid UTC time zone in isoparser.
- Fixed a bug with base offset changes during DST in tzfile, and refactored
the way base offset changes are detected.
- Fixed error condition in tz.gettz when a non-ASCII timezone is passed on
Windows in Python 2.7.
- Improved performance and inspection properties of tzname methods.
- Removed unnecessary binary_type compatibility shims.
- Changed python setup.py test to print an error to stderr and exit
with 1 instead of 0.
- Added a pyproject.toml file with build requirements and an explicitly
specified build backend.
Documentation changes
- Added documentation for the rrule.rrulestr function.
- Added documentation for dateutil.tz.gettz.
- Add documentation for the dateutil.tz.win module and mocked out certain
Windows-specific modules so that autodoc can still be run on non-Windows
systems.
- Added changelog to documentation.
- Changed order of keywords in the rrule docstring.
- Improved documentation on the use of until and count parameters in
rrule.
- Added an example of how to use a custom parserinfo subclass to parse
non-standard datetime formats in the examples documentation for parser.
- Added doctest examples to tzfile documentation.
- Updated the documentation for relativedelta's weekday arguments.
- Improved explanation of the order that relativedelta components are
applied in.
- Expanded the description and examples in the relativedelta class.
- Improved the contributing documentation to clarify where to put new changelog
files.
- Fixed a broken doctest in the relativedelta module.
- Changed the default theme to sphinx_rtd_theme, and changed the sphinx
configuration accordingly.
- Reorganized dateutil.tz documentation and fixed issue with the
dateutil.tz docstring.
- Cleaned up malformed RST in the tz documentation.
- Corrected link syntax and updated URL to https for ISO year week number
notation in relativedelta examples.
Diffstat (limited to 'time')
-rw-r--r-- | time/py-dateutil/Makefile | 6 | ||||
-rw-r--r-- | time/py-dateutil/distinfo | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/time/py-dateutil/Makefile b/time/py-dateutil/Makefile index 1323631ad2c..6c747f47600 100644 --- a/time/py-dateutil/Makefile +++ b/time/py-dateutil/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.25 2018/10/29 11:10:07 adam Exp $ +# $NetBSD: Makefile,v 1.26 2019/02/06 10:07:46 adam Exp $ -DISTNAME= python-dateutil-2.7.5 +DISTNAME= python-dateutil-2.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} CATEGORIES= time python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-dateutil/} @@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/dateutil/dateutil COMMENT= Extensions to the standard datetime module LICENSE= modified-bsd -DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-six>=1.5:../../lang/py-six BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis diff --git a/time/py-dateutil/distinfo b/time/py-dateutil/distinfo index 70d6a0776e1..1afdb800228 100644 --- a/time/py-dateutil/distinfo +++ b/time/py-dateutil/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.15 2018/10/29 11:10:07 adam Exp $ +$NetBSD: distinfo,v 1.16 2019/02/06 10:07:46 adam Exp $ -SHA1 (python-dateutil-2.7.5.tar.gz) = c99d3a05d0ac220bc736e5e6c169be0ab4a75298 -RMD160 (python-dateutil-2.7.5.tar.gz) = 50fbd5d6bfc873b2b1d020b3bc78b3307da0938b -SHA512 (python-dateutil-2.7.5.tar.gz) = 762752191d584a3995b55bbcfadc829261a263e0e6515a52db2fc32157bf0b3f96f787107c49bbd77cab9ce7e3f692ab3e8f392260fc18e6456b74eb190b44d3 -Size (python-dateutil-2.7.5.tar.gz) = 316043 bytes +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 |