| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This rare parse() KeyError occurred for me running dateutil 2.8.1 on Python 2.7 (Google App Engine). It doesn't seem like this bug is fixed. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary of changes
This updates the changelog for the 2.8.1 release, which includes the following changes:
Version 2.8.1 (2019-11-03)
Data updates
Bugfixes
caches on Python 2.7. Reported by @kainjow (gh issue Intermittent parse() KeyError failure with 2.8.0 #901).
ValueError, which has a nicer string representation. Patch by
@gfyoung (gh pr Use custom ParserError class in parser exceptions #881).
type that cannot be interpreted as a time zone. Prior to this
change, it would raise an UnboundLocalError instead. Patch by
@jbrockmendel (gh pr Add+collect tests for tzinfos input types, fix missed case of invalid… #891).
the time zone name to gettz in Python 3. Reported and fixed by
@labrys () (gh issue gettz on Python 3 fails with TypeError when passed bytes #927, gh pr Fix error message for gettz when passed bytes #935).
release. Patch by Hugo van Kemenade (gh pr Fix for Python 4 #950).
internally, to avoid an unnecessary function call. (gh pr Use tz.UTC in favor of tz.tzutc() where possible. #910).
contextlib.nullcontext even in Python 3.7 due to a malformed
import statement. (gh pr Fix incorrect import in Python 3.7+ #963).
Tests
suite. (gh pr Remove WarningTestMixin in favor of pytest.warns #969).
explicitly specified as an error in the warnings filter. (gh pr
Fix typo in setup.cfg warning configuration #966)
environments (such as FreeBSD) due to an invalid assumption about
what time zone names are provided. Reported and fixed by Kubilay
Kocak (gh issue Test failure: test_tzlocal_offset_equal[GMT-tzoff1] (dateutil 2.8.0) #918, pr Fix test_tzlocal_offset_equal[GMT-tzoff1] #928).
handling. Fixed by @fhuang5 (gh issue bytes/str conversion lines not hit in test_isoparser #776, gh pr Improve coverage in test_isoparser #879).
pr Register pytest markers #915)
adoption of pytest-style tests and the addition of parametrization
of several test cases. Patches by @jbrockmendel (gh prs use setup_class instead of setUp #735,
Remove duplicate tests #890, Add several parser test cases #892, Parametrize tests for ignore_tz, dayfirst, yearfirst #894).
Add+collect tests for tzinfos input types, fix missed case of invalid… #891).
forbidden. Patch by @shadchin (gh pr Fix tests if not TZ change allowed #893).
Documentation changes
and documentation. Patch by Hugo van Kemenade (gh pr Fix typos #952).
Misc
by @FakeNameSE, @aquinlan82, @jachen20, and @gurgenz221 (gh
issue Move all simple constants from setup.py into setup.cfg #871, gh pr Convert setup.py to declarative build file when possible #880).
@jbrockmendel (gh pr REF: collect parser methods by function #882).
releases, rather than direct invocations of setup.py. Fixed by
@smeng10 (gh issue Use pep517.build in release.py #869, gh pr add fix for 2019hackIllinois Use pep517.build in release.py #869 #875).
dependency management when making releases. Fixed by @smeng10 (gh
issue Add a "build" job in tox #870,r gh pr Fix the add a build job in tox #870 #876).
If you are listed here and would like to make any changes, unfortunately I'm springing this on you quite late in the game, as I plan to make a release tonight some time between 2019-11-03T05:00Z and 2019-11-03T06:59Z because I find it funny to make a release during an ambiguous datetime in my current local time zone (America/New_York).