Up to [cvs.NetBSD.org] / pkgsrc / time / py-dateutil
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 29 09:34:14 2023 UTC (2 months ago) by wiz
CVS Tags: HEAD
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)
*: use PYTHON_VERSION instead of _PYTHON_VERSION
Revision 1.35 / (download) - annotate - [select for diffs], Sat Nov 5 22:31:42 2022 UTC (6 months, 3 weeks ago) by joerg
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)
Revision 1.34 / (download) - annotate - [select for diffs], Thu May 12 08:20:36 2022 UTC (12 months, 2 weeks ago) by wiz
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)
*: fix == vs. != confusion Reported by adam
Revision 1.33 / (download) - annotate - [select for diffs], Thu May 12 08:05:28 2022 UTC (12 months, 2 weeks ago) by wiz
Changes since 1.32: +7 -1 lines
Diff to previous 1.32 (colored)
*: do not use py-freezegun with python 2.7
Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 13 19:31:24 2022 UTC (16 months, 2 weeks ago) by wiz
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)
*: setuptools_scm: switch to versioned_dependencies
Revision 1.31 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:11 2022 UTC (16 months, 3 weeks ago) by wiz
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Revision 1.30 / (download) - annotate - [select for diffs], Wed Jul 14 20:27:21 2021 UTC (22 months, 2 weeks ago) by adam
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)
py-dateutil: updated to 2.8.2 Version 2.8.2 (2021-07-08) ========================== Data updates ------------ - Updated tzdata version to 2021a. 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 the custom ``repr`` for ``dateutil.parser.ParserError``, which was not defined due to an indentation error. - Fixed a bug that caused ``b'`` prefixes to appear in parse_isodate exception messages. - Make ``isoparse`` raise when trying to parse times with inconsistent use of `:` separator. - Fixed ``tz.gettz()`` not returning local time when passed an empty string. Documentation changes --------------------- - Rearranged parser documentation into "Functions", "Classes" and "Warnings and Exceptions" categories. - Updated ``parser.parse`` documentation to reflect the switch from ``ValueError`` to ``ParserError``. - Fixed methods in the ``rrule`` module not being displayed in the docs. - 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). Misc ---- - Moved ``test_imports.py``, ``test_internals.py`` and ``test_utils.py`` to pytest. - Added project_urls for documentation and source. - Simplified handling of bytes and bytearray in ``_parser._timelex``. - 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. - Moved sdist and wheel generation to use `python-build`.
Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 6 10:51:22 2020 UTC (2 years, 7 months ago) by wiz
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)
*: use py-hypothesis via versioned_dependencies.mk
Revision 1.28 / (download) - annotate - [select for diffs], Mon May 18 10:40:11 2020 UTC (3 years ago) by adam
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored)
pytest from versioned depends
Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 6 20:49:22 2019 UTC (3 years, 6 months ago) by adam
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)
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.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 6 10:07:46 2019 UTC (4 years, 3 months ago) by adam
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)
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.
Revision 18.104.22.168 / (download) - annotate - [select for diffs], Mon Oct 29 15:00:44 2018 UTC (4 years, 7 months ago) by bsiegert
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)
Pullup ticket #5870 - requested by maya time/py-dateutil: timezone data update time/py-tzdata: timezone data update Revisions pulled up: - time/py-dateutil/Makefile 1.24-1.25 - time/py-dateutil/distinfo 1.14-1.15 - time/py-tzdata/Makefile 1.7 - time/py-tzdata/distinfo 1.7 --- Module Name: pkgsrc Committed By: adam Date: Fri Oct 26 08:06:11 UTC 2018 Modified Files: pkgsrc/time/py-dateutil: Makefile distinfo Log Message: py-dateutil: updated to 2.7.4 Version 2.7.4: Data updates - Updated tzdata version to 2018f. --- Module Name: pkgsrc Committed By: adam Date: Mon Oct 29 11:10:07 UTC 2018 Modified Files: pkgsrc/time/py-dateutil: Makefile distinfo Log Message: py-dateutil: updated to 2.7.5 Version 2.7.5: Data updates - Update tzdata to 2018g --- Module Name: pkgsrc Committed By: adam Date: Mon Oct 29 11:11:27 UTC 2018 Modified Files: pkgsrc/time/py-tzdata: Makefile distinfo Log Message: py-tzdata: updated to 2018.7 2018.7: Unknown changes
Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 29 11:10:07 2018 UTC (4 years, 7 months ago) by adam
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)
py-dateutil: updated to 2.7.5 Version 2.7.5: Data updates - Update tzdata to 2018g
Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 26 08:06:11 2018 UTC (4 years, 7 months ago) by adam
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)
py-dateutil: updated to 2.7.4 Version 2.7.4: Data updates - Updated tzdata version to 2018f.
Revision 1.23 / (download) - annotate - [select for diffs], Mon May 14 08:10:37 2018 UTC (5 years ago) by adam
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Branch point for: pkgsrc-2018Q3
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)
py-dateutil: updated to 2.7.3 Version 2.7.3: Data updates - Update tzdata to 2018e. Bugfixes - Fixed an issue where decimal.Decimal would cast NaN or infinite value in a parser.parse, which will raise decimal.Decimal-specific errors. - Fixed a ValueError being thrown if tzinfos call explicity returns None. - Fixed incorrect parsing of certain dates earlier than 100 AD when repesented in the form "%B.%Y.%d", e.g. "December.0031.30". - Fixed a bug where automatically generated DTSTART was naive even if a specified UNTIL had a time zone. Automatically generated DTSTART will now take on the timezone of an UNTIL date, if provided.
Revision 1.22 / (download) - annotate - [select for diffs], Mon Apr 2 13:27:23 2018 UTC (5 years, 1 month ago) by adam
Changes since 1.21: +4 -6 lines
Diff to previous 1.21 (colored)
py-dateutil: updated to 2.7.2 Version 2.7.2: Bugfixes - Fixed an issue with the setup script running in non-UTF-8 environment.
Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 15 07:16:48 2018 UTC (5 years, 2 months ago) by jperkin
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
py-dateutil: Fix BUILD_DEPENDS.
Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 13 11:07:20 2018 UTC (5 years, 2 months ago) by adam
Changes since 1.19: +11 -3 lines
Diff to previous 1.19 (colored)
py-dateutil: updated to 2.7.0 Version 2.7.0 - Dropped support for Python 2.6 - Dropped support for Python 3.2 - Updated zoneinfo file to 2018c - Changed licensing scheme so all new contributions are dual licensed under Apache 2.0 and BSD. - Added __all__ variable to the root package - Added python_requires to setup.py so that pip will distribute the right version of dateutil. - Added the utils submodule, for miscellaneous utilities. - Added within_delta function to utils - Added today function to utils - Added default_tzinfo function to utils - Added dedicated ISO 8601 parsing function isoparse - Moved parser module into parser/_parser.py and officially deprecated the use of several private functions and classes from that module. - Tweaked parser error message to include rejected string format - Add support for parsing bytesarray - Started raising a warning when the parser finds a timezone string that it cannot construct a tzinfo instance for (rather than succeeding with no indication of an error). - Dropped the use of assert in the parser. - Fixed to assertion logic in parser to support dates like '2015-15-May' - Fixed IndexError in parser on dates with trailing colons - Fixed bug where hours were not validated, leading to improper parse. - Fixed problem parsing strings in %b-%Y-%d format. - Fixed problem parsing strings in the %d%B%y format. - Fixed problem parsing certain unambiguous strings when year <99 - Fixed issue with parsing an unambiguous string representation of an ambiguous datetime such that if possible the correct value for fold is set. - Fixed issue with improper rounding of fractional components. - Performance improvement to parser from removing certain min() calls. - Significantly refactored parser code - Implementated of __hash__ for relativedelta and weekday - Implemented __abs__ for relativedelta. - Fixed relativedelta.weeks property getter and setter to work for both negative and positive values. - Fixed issue where passing whole number floats to the months or years arguments of the relativedelta constructor would lead to errors during addition. - Added a pre-built tz.UTC object representing UTC - Added a cache to tz.gettz so that by default it will return the same object for identical inputs. This will change the semantics of certain operations between datetimes constructed with tzinfo=tz.gettz(...). - Changed the behavior of tz.tzutc to return a singleton - Changed the behavior of tz.tzoffset to return the same object when passed the same inputs, with a corresponding performance improvement - Changed the behavior of tz.tzstr to return the same object when passed the same inputs. - Added .instance alternate constructors for tz.tzoffset and tz.tzstr, to allow the construction of a new instance if desired. - Added the tz.gettz.nocache function to allow explicit retrieval of a new instance of the relevant tzinfo. - Expand definition of tz.tzlocal equality so that the local zone is allow equality with tzoffset and tzutc. - Deprecated the idiosyncratic tzstr format mentioned in several examples but evidently designed exclusively for dateutil, and very likely not used by any current users. - Added the tz.resolve_imaginary function, which generates a real date from an imaginary one, if necessary. - Fixed issue where the tz.tzstr constructor would erroneously succeed if passed an invalid value for tzstr. - Fixed issue with tz.gettz for TZ variables that start with a colon. - Added a lock to tz.tzical's cache. - Fixed an issue with fold support on certain Python 3 implementations that used the pre-3.6 pure Python implementation of datetime.replace, most notably pypy3 - Added support for VALUE=DATE-TIME for DTSTART in rrulestr. - Started enforcing that within VTIMEZONE, the VALUE parameter can only be omitted or DATE-TIME, per RFC 5545. - Added support for TZID parameter for DTSTART in rrulestr. - Added 'RRULE:' prefix to rrule strings generated by rrule.__str__, in compliance with the RFC. - Switched to setuptools_scm for version management, automatically calculating a version number from the git metadata. - Switched setup.py to use find_packages, and started testing against pip installed versions of dateutil in CI. Fixed issue with parser import - Switched test suite to using pytest - Switched CI over to use tox. - Added a test-only dependency on freezegun. - Reduced number of CI builds on Appveyor. - Made xfails strict by default, so that an xpass is a failure. - Added a documentation generation stage to tox and CI. - Added an explicit warning when running python setup.py explaining how to run the test suites with pytest. - Added requirements-dev.txt for test dependency management - Fixed code coverage metrics to account for Windows builds - Fixed code coverage metrics to NOT count xfails. - Style improvement to zoneinfo.tzfile that was confusing to static type checkers. - Several unused imports were removed - Switched isinstance(*, collections.Callable) to callable, which is available on all supported Python versions. - Added CONTRIBUTING.md - Added AUTHORS.md - Corrected setup.py metadata to reflect author vs. maintainer - Corrected README to reflect that tests are now run in pytest. - Updated all references to RFC 2445 (iCalendar) to point to RFC 5545. - Corrected parse documentation to reflect proper integer offset units, - Fixed dangling parenthesis in tzoffset documentation - Started including the license file in wheels. - Indendation fixes to parser docstring - Moved many examples from the "examples" documentation into their appropriate module documentation pages. - Fixed documentation so that the parser.isoparse documentation displays. - Refactored build and release sections and added setup instructions to CONTRIBUTING. - Cleaned up various dead links in the documentation.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Sep 4 18:01:02 2017 UTC (5 years, 8 months ago) by wiz
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
Comment out dead sites.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 11 06:10:37 2017 UTC (5 years, 10 months ago) by adam
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Version 2.6.1 ------------- - Updated zoneinfo file to 2017b. - Added Python 3.6 to CI testing - Removed duplicate test name that was preventing a test from being run. - Fixed testing of folds and gaps, particularly on Windows - Fixed deprecated escape characters in regular expressions. - Many PEP8 style violations and other code smells were fixed. - Improved performance of tzutc and tzoffset objects. - Fixed issue with several time zone classes around DST transitions in any zones with +0 standard offset (e.g. Europe/London) - Fixed issue with fuzzy parsing where tokens similar to AM/PM that are in the end skipped were dropped in the fuzzy_with_tokens list. - Fixed issue with parsing dates of the form X m YY. - Added support for parser weekdays with less than 3 characters. - Fixed issue with the addition and subtraction of certain relativedeltas. - Fixed issue where the COUNT parameter of rrules was ignored if 0. - Updated documentation to include the new tz methods. - Update documentation to reflect that the parser can raise TypeError. - Fixed an incorrect year in a parser doctest. - Moved version information into _version.py and set up the versions more granularly.
Revision 1.17 / (download) - annotate - [select for diffs], Thu May 4 19:45:57 2017 UTC (6 years ago) by adam
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)
Version 2.6.0: * Added PEP-495-compatible methods to address ambiguous and imaginary dates in time zones in a backwards-compatible way. Ambiguous dates and times can now be safely represented by all dateutil time zones. * Added new methods for working with ambiguous and imaginary dates to the tz module. datetime_ambiguous() determines if a datetime is ambiguous for a given zone and datetime_exists() determines if a datetime exists in a given zone. This works for all fold-aware datetimes, not just those provided by dateutil. * Fixed an issue where dst() in Portugal in 1996 was returning the wrong value in tz.tzfile objects * Fixed an issue where zoneinfo.ZoneInfoFile errors were not being properly deep-copied. * Refactored tzwin and tzrange as a subclass of a common class, tzrangebase, as there was substantial overlapping functionality. As part of this change, tzrange and tzstr now expose a transitions() function, which returns the DST on and off transitions for a given year. * Deprecated zoneinfo.gettz() due to confusion with tz.gettz(), in favor of get() method of zoneinfo.ZoneInfoFile objects. * For non-character, non-stream arguments, parser.parse now raises TypeError instead of AttributeError. * Fixed an issue where tzfile objects were not properly handling dst() and tzname() when attached to datetime.time objects. * /usr/share/lib/zoneinfo was added to TZPATHS for compatibility with Solaris systems. * tzoffset and tzrange objects now accept either a number of seconds or a datetime.timedelta() object wherever previously only a number of seconds was allowed. * datetime.timedelta objects can now be added to relativedelta objects. * Refactored relativedelta.weekday and rrule.weekday into a common base class to reduce code duplication.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 17 15:39:02 2016 UTC (6 years, 9 months ago) by richard
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
update to python-dateutil-2.5.3 NEWS: Version 2.5.3 ------------- - Updated zoneinfo to 2016d - Fixed parser bug where unambiguous datetimes fail to parse when dayfirst is set to true. (gh issue #233, pr #234) - Bug in zoneinfo file on platforms such as Google App Engine which do not do not allow importing of subprocess.check_call was reported and fixed by @savraj (gh issue #239, gh pr #240) - Fixed incorrect version in documentation (gh issue #235, pr #243) Version 2.5.2 ------------- - Updated zoneinfo to 2016c - Fixed parser bug where yearfirst and dayfirst parameters were not being respected when no separator was present. (gh issue #81 and #217, pr #229) Version 2.5.1 ------------- - Updated zoneinfo to 2016b - Changed MANIFEST.in to explicitly include test suite in source distributions, with help from @koobs (gh issue #193, pr #194, #201, #221) - Explicitly set all line-endings to LF, except for the NEWS file, on a per-repository basis (gh pr #218) - Fixed an issue with improper caching behavior in rruleset objects (gh issue #104, pr #207) - Changed to an explicit error when rrulestr strings contain a missing BYDAY (gh issue #162, pr #211) - tzfile now correctly handles files containing leapcnt (although the leapcnt information is not actually used). Contributed by @hjoukl (gh issue #146, pr #147) - Fixed recursive import issue with tz module (gh pr #204) - Added compatibility between tzwin objects and datetime.time objects (gh issue #216, gh pr #219) - Refactored monolithic test suite by module (gh issue #61, pr #200 and #206) - Improved test coverage in the relativedelta module (gh pr #215) - Adjusted documentation to reflect possibly counter-intuitive properties of RFC-5545-compliant rrules, and other documentation improvements in the rrule module (gh issue #105, gh issue #149 - pointer to the solution by @phep, pr #213). Version 2.5.0 ------------- - Updated zoneinfo to 2016a - zoneinfo_metadata file version increased to 2.0 - the updated updatezinfo.py script will work with older zoneinfo_metadata.json files, but new metadata files will not work with older updatezinfo.py versions. Additionally, we have started hosting our own mirror of the Olson databases on a github pages site (https://dateutil.github.io/tzdata/) (gh pr #183) - dateutil zoneinfo tarballs now contain the full zoneinfo_metadata file used to generate them. (gh issue #27, gh pr #85) - relativedelta can now be safely subclassed without derived objects reverting to base relativedelta objects as a result of arithmetic operations. (lp:1010199, gh issue #44, pr #49) - relativedelta 'weeks' parameter can now be set and retrieved as a property of relativedelta instances. (lp: 727525, gh issue #45, pr #49) - relativedelta now explicitly supports fractional relative weeks, days, hours, minutes and seconds. Fractional values in absolute parameters (year, day, etc) are now deprecated. (gh issue #40, pr #190) - relativedelta objects previously did not use microseconds to determine of two relativedelta objects were equal. This oversight has been corrected. Contributed by @elprans (gh pr #113) - rrule now has an xafter() method for retrieving multiple recurrences after a specified date. (gh pr #38) - str(rrule) now returns an RFC2445-compliant rrule string, contributed by @schinckel and @armicron (lp:1406305, gh issue #47, prs #50, #62 and #160) - rrule performance under certain conditions has been significantly improved thanks to a patch contributed by @dekoza, based on an article by Brian Beck (@exogen) (gh pr #136) - The use of both the 'until' and 'count' parameters is now deprecated as inconsistent with RFC2445 (gh pr #62, #185) - Parsing an empty string will now raise a ValueError, rather than returning the datetime passed to the 'default' parameter. (gh issue #78, pr #187) - tzwinlocal objects now have a meaningful repr() and str() implementation (gh issue #148, prs #184 and #186) - Added equality logic for tzwin and tzwinlocal objects. (gh issue #151, pr #180, #184) - Added some flexibility in subclassing timelex, and switched the default behavior over to using string methods rather than comparing against a fixed list. (gh pr #122, #139) - An issue causing tzstr() to crash on Python 2.x was fixed. (lp: 1331576, gh issue #51, pr #55) - An issue with string encoding causing exceptions under certain circumstances when tzname() is called was fixed. (gh issue #60, #74, pr #75) - Parser issue where calling parse() on dates with no day specified when the day of the month in the default datetime (which is "today" if unspecified) is greater than the number of days in the parsed month was fixed (this issue tended to crop up between the 29th and 31st of the month, for obvious reasons) (canonical gh issue #25, pr #30, #191) - Fixed parser issue causing fuzzy_with_tokens to raise an unexpected exception in certain circumstances. Contributed by @MichaelAquilina (gh pr #91) - Fixed parser issue where years > 100 AD were incorrectly parsed. Contributed by @Bachmann1234 (gh pr #130) - Fixed parser issue where commas were not a valid separator between seconds and microseconds, preventing parsing of ISO 8601 dates. Contributed by @ryanss (gh issue #28, pr #106) - Fixed issue with tzwin encoding in locales with non-Latin alphabets (gh issue #92, pr #98) - Fixed an issue where tzwin was not being properly imported on Windows. Contributed by @labrys. (gh pr #134) - Fixed a problem causing issues importing zoneinfo in certain circumstances. Issue and solution contributed by @alexxv (gh issue #97, pr #99) - Fixed an issue where dateutil timezones were not compatible with basic time objects. One of many, many timezone related issues contributed and tested by @labrys. (gh issue #132, pr #181) - Fixed issue where tzwinlocal had an invalid utcoffset. (gh issue #135, pr #141, #142) - Fixed issue with tzwin and tzwinlocal where DST transitions were incorrectly parsed from the registry. (gh issue #143, pr #178) - updatezinfo.py no longer suppresses certain OSErrors. Contributed by @bjamesv (gh pr #164) - An issue that arose when timezone locale changes during runtime has been fixed by @carlosxl and @mjschultz (gh issue #100, prs #107, #109) - Python 3.5 was added to the supported platforms in the metadata (@tacaswell gh pr #159) and the test suites (@moreati gh pr #117). - An issue with tox failing without unittest2 installed in Python 2.6 was fixed by @moreati (gh pr #115) - Several deprecated functions were replaced in the tests by @moreati (gh pr #116) - Improved the logic in Travis and Appveyor to alleviate issues where builds were failing due to connection issues when downloading the IANA timezone files. In addition to adding our own mirror for the files (gh pr #183), the download is now retried a number of times (with a delay) (gh pr #177) - Many failing doctests were fixed by @moreati. (gh pr #120) - Many fixes to the documentation (gh pr #103, gh pr #87 from @radarhere, gh pr #154 from @gpoesia, gh pr #156 from @awsum, gh pr #168 from @ja8zyjits) - Added a code coverage tool to the CI to help improve the library. (gh pr #182) - We now have a mailing list - email@example.com, graciously hosted by Python.org. Version 2.4.2 ------------- - Updated zoneinfo to 2015b. - Fixed issue with parsing of tzstr on Python 2.7.x; tzstr will now be decoded if not a unicode type. gh #51 (lp:1331576), gh pr #55. - Fix a parser issue where AM and PM tokens were showing up in fuzzy date stamps, triggering inappropriate errors. gh #56 (lp: 1428895), gh pr #63. - Missing function "setcachesize" removed from zoneinfo __all__ list by @ryanss, fixing an issue with wildcard imports of dateutil.zoneinfo. (gh pr #66). - (PyPi only) Fix an issue with source distributions not including the test suite. Version 2.4.1 ------------- - Added explicit check for valid hours if AM/PM is specified in parser. (gh pr #22, issue #21) - Fix bug in rrule introduced in 2.4.0 where byweekday parameter was not handled properly. (gh pr #35, issue #34) - Fix error where parser allowed some invalid dates, overwriting existing hours with the last 2-digit number in the string. (gh pr #32, issue #31) - Fix and add test for Python 2.x compatibility with boolean checking of relativedelta objects. Implemented by @nimasmi (gh pr #43) and Cédric Krier (lp: 1035038) - Replaced parse() calls with explicit datetime objects in unit tests unrelated to parser. (gh pr #36) - Changed private _byxxx from sets to sorted tuples and fixed one currently unreachable bug in _construct_byset. (gh pr #54) - Additional documentation for parser (gh pr #29, #33, #41) and rrule. - Formatting fixes to documentation of rrule and README.rst. - Updated zoneinfo to 2015a.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:42 2016 UTC (6 years, 11 months ago) by wiz
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)
Switch to MASTER_SITES_PYPI.
Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 11 21:05:30 2015 UTC (8 years, 4 months ago) by wiz
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)
Update to 2.4.0: Version 2.4.0 ------------- - Fix an issue with relativedelta and freezegun (lp:1374022) - Fix tzinfo in windows for timezones without dst (lp:1010050, gh #2) - Ignore missing timezones in windows like in POSIX - Fix minimal version requirement for six (gh #6) - Many rrule changes and fixes by @pganssle (gh pull requests #13 #14 #17), including defusing some infinite loops (gh #4)
Revision 1.13 / (download) - annotate - [select for diffs], Wed Dec 31 13:57:30 2014 UTC (8 years, 5 months ago) by wiz
Changes since 1.12: +1 -3 lines
Diff to previous 1.12 (colored)
Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 13 09:28:01 2014 UTC (8 years, 5 months ago) by obache
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.11: +8 -6 lines
Diff to previous 1.11 (colored)
Update py-dateutil to 2.3. Version 2.3 ----------- - Cleanup directory structure, moved test.py to dateutil/tests/test.py - Changed many aspects of dealing with the zone info file. Instead of a cache, all the zones are loaded to memory, but symbolic links are loaded only once, so not much memory is used. - The package is now zip-safe, and universal-wheelable, thanks to changes in the handling of the zoneinfo file. - Fixed tzwin silently not imported on windows python2 - New maintainer, together with new hosting: GitHub, Travis, Read-The-Docs Version 2.2 ----------- - Updated zoneinfo to 2013h - fuzzy_with_tokens parse addon from Christopher Corley - Bug with LANG=C fixed by Mike Gilbert Version 2.1 ----------- - New maintainer - Dateutil now works on Python 2.6, 2.7 and 3.2 from same codebase (with six) - #704047: Ismael Carnales' patch for a new time format - Small bug fixes, thanks for reporters! Version 2.0 ----------- - Ported to Python 3, by Brian Jones. If you need dateutil for Python 2.X, please continue using the 1.X series. - There's no such thing as a "PSF License". This source code is now made available under the Simplified BSD license. See LICENSE for details.
Revision 1.11 / (download) - annotate - [select for diffs], Fri May 9 07:37:23 2014 UTC (9 years ago) by wiz
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 25 10:30:26 2014 UTC (9 years, 4 months ago) by wiz
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jan 16 10:25:03 2014 UTC (9 years, 4 months ago) by wiz
Changes since 1.8: +2 -3 lines
Diff to previous 1.8 (colored)
Mention that this is the Python-2.x version of the module.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 8 13:04:28 2012 UTC (10 years, 7 months ago) by asau
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 28 14:53:05 2011 UTC (12 years, 3 months ago) by wiz
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)
Reset maintainer for retired developers.
Revision 1.6 / (download) - annotate - [select for diffs], Sun May 2 13:30:46 2010 UTC (13 years, 1 month ago) by wiz
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
Update to 1.5. Uses 2010g timezone database.
Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 21 15:15:04 2009 UTC (14 years, 1 month ago) by wiz
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)
Update to 1.4.1: - Updated timezone information.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Apr 20 09:45:19 2009 UTC (14 years, 1 month ago) by wiz
Changes since 1.3: +4 -5 lines
Diff to previous 1.3 (colored)
Update to 1.4: Version 1.4 ----------- - Fixed another parser precision problem on conversion of decimal seconds to microseconds, as reported by Erik Brown. Now these issues are gone for real since it's not using floating point arithmetic anymore. - Fixed case where tzrange.utcoffset and tzrange.dst() might fail due to a date being used where a datetime was expected (reported and fixed by Lennart Regebro). - Prevent tzstr from introducing daylight timings in strings that didn't specify them (reported by Lennart Regebro). - Calls like gettz("GMT+3") and gettz("UTC-2") will now return the expected values, instead of the TZ variable behavior. - Fixed DST signal handling in zoneinfo files. Reported by Nicholas F. Fabry and John-Mark Gurney. Version 1.3 ----------- - Fixed precision problem on conversion of decimal seconds to microseconds, as reported by Skip Montanaro. - Fixed bug in constructor of parser, and converted parser classes to new-style classes. Original report and patch by Michael Elsd - Initialize tzid and comps in tz.py, to prevent the code from ever raising a NameError (even with broken files). Johan Dahlin suggested the fix after a pyflakes run. - Version is now published in dateutil.__version__, as requested by Darren Dale. - All code is compatible with new-style division.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:53 2008 UTC (14 years, 11 months ago) by joerg
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)
Add DESTDIR support.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Apr 25 20:39:13 2008 UTC (15 years, 1 month ago) by joerg
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)
Update PYTHON_VERSIONS_COMPATIBLE - assume that Python 2.4 and 2.5 are compatible and allow checking for fallout. - remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+ default. Modify the others to deal with the removals.
Revision 22.214.171.124 / (download) - annotate - [select for diffs] (vendor branch), Mon Jul 2 18:05:24 2007 UTC (15 years, 11 months ago) by wiz
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-20070702
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
Initial import of py-dateutil-1.2, from pkgsrc-wip, initially packaged by recht@ and updated by me. The dateutil module provides powerful extensions to the standard datetime module, available in Python 2.3+. Features * Computing of relative deltas (next month, next year, next monday, last week of month, etc); * Computing of relative deltas between two given date and/or datetime objects; * Computing of dates based on very flexible recurrence rules, using a superset of the iCalendar specification. Parsing of RFC strings is supported as well. * Generic parsing of dates in almost any string format; * Timezone (tzinfo) implementations for tzfile(5) format files (/etc/localtime, /usr/share/zoneinfo, etc), TZ environment string (in all known formats), iCalendar format files, given ranges (with help from relative deltas), local machine timezone, fixed offset timezone, and UTC timezone. * Computing of Easter Sunday dates for any given year, using Western, Orthodox or Julian algorithms; * More than 400 test cases.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 2 18:05:24 2007 UTC (15 years, 11 months ago) by wiz
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.