2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263) |
Log message:
time: Remove SHA1 hashes for distfiles
|
2021-07-14 22:27:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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`.
|
2020-10-06 12:51:22 by Thomas Klausner | Files touched by this commit (13) |
Log message:
*: use py-hypothesis via versioned_dependencies.mk
|
2020-05-18 12:40:11 by Adam Ciarcinski | Files touched by this commit (5) |
Log message:
pytest from versioned depends
|
2019-11-06 21:49:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2019-02-06 11:07:46 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2018-10-29 12:10:07 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-dateutil: updated to 2.7.5
Version 2.7.5:
Data updates
- Update tzdata to 2018g
|
2018-10-26 10:06:11 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-dateutil: updated to 2.7.4
Version 2.7.4:
Data updates
- Updated tzdata version to 2018f.
|
2018-05-14 10:10:37 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2018-04-02 15:27:23 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|