Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump python-dateutil from 1.5 to 2.8.1 #4826

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2021

Bumps python-dateutil from 1.5 to 2.8.1.

Release notes

Sourced from python-dateutil's releases.

2.8.1

Version 2.8.1 (2019-11-03)

Data updates

  • Updated tzdata version to 2019c.

Bugfixes

  • Fixed a race condition in the tzoffset and tzstr "strong" caches on Python 2.7. Reported by @​kainjow (gh issue #901).
  • Parsing errors will now raise ParserError, a subclass of ValueError, which has a nicer string representation. Patch by @​gfyoung (gh pr #881).
  • 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. Patch by @​jbrockmendel (gh pr #891).
  • Changed error message raised when when passing a bytes object as the time zone name to gettz in Python 3. Reported and fixed by @​labrys () (gh issue #927, gh pr #935).
  • Changed compatibility logic to support a potential Python 4.0 release. Patch by Hugo van Kemenade (gh pr #950).
  • Updated many modules to use tz.UTC in favor of tz.tzutc() internally, to avoid an unnecessary function call. (gh pr #910).
  • Fixed issue where dateutil.tz was using a backported version of contextlib.nullcontext even in Python 3.7 due to a malformed import statement. (gh pr #963).

Tests

  • Switched from using assertWarns to using pytest.warns in the test suite. (gh pr #969).
  • Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly specified as an error in the warnings filter. (gh pr #966)
  • 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. Reported and fixed by Kubilay Kocak (gh issue #918, pr #928).
  • Fixed a minor bug in test_isoparser related to bytes/str handling. Fixed by @​fhuang5 (gh issue #776, gh pr #879).
  • Explicitly listed all markers used in the pytest configuration. (gh pr #915)
  • Extensive improvements to the parser test suite, including the adoption of pytest-style tests and the addition of parametrization

... (truncated)

Changelog

Sourced from python-dateutil's changelog.

Version 2.8.1 (2019-11-03)

Data updates

  • Updated tzdata version to 2019c.

Bugfixes

  • Fixed a race condition in the tzoffset and tzstr "strong" caches on Python 2.7. Reported by @​kainjow (gh issue #901).
  • Parsing errors will now raise ParserError, a subclass of ValueError, which has a nicer string representation. Patch by @​gfyoung (gh pr #881).
  • 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. Patch by @​jbrockmendel (gh pr #891).
  • Changed error message raised when when passing a bytes object as the time zone name to gettz in Python 3. Reported and fixed by @​labrys () (gh issue #927, gh pr #935).
  • Changed compatibility logic to support a potential Python 4.0 release. Patch by Hugo van Kemenade (gh pr #950).
  • Updated many modules to use tz.UTC in favor of tz.tzutc() internally, to avoid an unnecessary function call. (gh pr #910).
  • Fixed issue where dateutil.tz was using a backported version of contextlib.nullcontext even in Python 3.7 due to a malformed import statement. (gh pr #963).

Tests

  • Switched from using assertWarns to using pytest.warns in the test suite. (gh pr #969).
  • Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly specified as an error in the warnings filter. (gh pr #966)
  • 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. Reported and fixed by Kubilay Kocak (gh issue #918, pr #928).
  • Fixed a minor bug in test_isoparser related to bytes/str handling. Fixed by @​fhuang5 (gh issue #776, gh pr #879).
  • Explicitly listed all markers used in the pytest configuration. (gh pr #915)
  • Extensive improvements to the parser test suite, including the adoption of pytest-style tests and the addition of parametrization of several test cases. Patches by @​jbrockmendel (gh prs #735, #890, #892, #894).
  • Added tests for tzinfos input types. Patch by @​jbrockmendel (gh pr #891).

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 16, 2021
@cclauss
Copy link
Contributor

cclauss commented Mar 16, 2021

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/pip/python-dateutil-2.8.1 branch from add0d91 to f802d33 Compare March 16, 2021 17:51
Copy link
Contributor

@cclauss cclauss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many date-related fixes.

@cclauss cclauss self-assigned this Mar 16, 2021
@cclauss cclauss merged commit 51d7392 into master Mar 16, 2021
@cclauss cclauss deleted the dependabot/pip/python-dateutil-2.8.1 branch March 16, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant