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
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
fc9b162 Merge pull request #974 from pganssle/release_2.8.1
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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps python-dateutil from 2.8.0 to 2.8.1.
Release notes
Sourced from python-dateutil's releases.
... (truncated)
Changelog
Sourced from python-dateutil's changelog.
... (truncated)
Commits
fc9b162
Merge pull request #974 from pganssle/release_2.8.14ccc8bb
Update changelog for 2.8.1 release.5fdbdbb
Merge pull request #971 from pganssle/update_releasinge0f0b7e
Add changelog for PR #9719390c88
Update RELEASING documentation3c9ccaa
Change "Misc" to showcontent=True58a4e46
Add "news" environment to tox55301cd
Fix Travis test for build command.e03f1de
Add working build and release tox environments.357c62c
Merge pull request #973 from pganssle/strong_cache_raceDependabot 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)