Bump arrow from 0.15.8 to 0.16.0
Created by: dependabot-preview[bot]
Bumps arrow from 0.15.8 to 0.16.0.
Release notes
Sourced from arrow's releases.
Version 0.16.0
- [WARN] Arrow will drop support for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.16.x and 0.17.x releases are the last to support Python 2.7 and 3.5.
- [NEW] Implemented PEP 495 to handle ambiguous datetimes. This is achieved by the addition of the
fold
attribute for Arrow objects. For example:>>> before = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm') <Arrow [2017-10-29T02:00:00+02:00]> >>> before.fold 0 >>> before.ambiguous True >>> after = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm', fold=1) <Arrow [2017-10-29T02:00:00+01:00]> >>> after = before.replace(fold=1) <Arrow [2017-10-29T02:00:00+01:00]>
- [NEW] Added
normalize_whitespace
flag toarrow.get
. This is useful for parsing log files and/or any files that may contain inconsistent spacing. For example:>>> arrow.get("Jun 1 2005 1:33PM", "MMM D YYYY H:mmA", normalize_whitespace=True) <Arrow [2005-06-01T13:33:00+00:00]> >>> arrow.get("2013-036 \t 04:05:06Z", normalize_whitespace=True) <Arrow [2013-02-05T04:05:06+00:00]>
Changelog
Sourced from arrow's changelog.
0.16.0 (2020-08-23)
- [WARN] Arrow will drop support for Python 2.7 and 3.5 in the 1.0.0 release in late September. The 0.16.x and 0.17.x releases are the last to support Python 2.7 and 3.5.
- [NEW] Implemented PEP 495 to handle ambiguous datetimes. This is achieved by the addition of the
fold
attribute for Arrow objects. For example:>>> before = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm') <Arrow [2017-10-29T02:00:00+02:00]> >>> before.fold 0 >>> before.ambiguous True >>> after = Arrow(2017, 10, 29, 2, 0, tzinfo='Europe/Stockholm', fold=1) <Arrow [2017-10-29T02:00:00+01:00]> >>> after = before.replace(fold=1) <Arrow [2017-10-29T02:00:00+01:00]>
- [NEW] Added
normalize_whitespace
flag toarrow.get
. This is useful for parsing log files and/or any files that may contain inconsistent spacing. For example:>>> arrow.get("Jun 1 2005 1:33PM", "MMM D YYYY H:mmA", normalize_whitespace=True) <Arrow [2005-06-01T13:33:00+00:00]> >>> arrow.get("2013-036 \t 04:05:06Z", normalize_whitespace=True) <Arrow [2013-02-05T04:05:06+00:00]>
Commits
-
fb83f68
Bump version to 0.16.0 and update CHANGELOG (#843) -
185a1a0
Implement PEP 495 to handle ambiguous datetimes (#802) -
90b33b0
Remove deprecated packages from pre-commit and upgrade dependencies. (#839) -
c75cd22
Update docs for timezone abbreviations (PDT, MST, CET etc) (#836) -
5e2e52a
Add normalize_spaces flag to arrow.get (#813) -
2cfb2b0
Change Tox terminology from whitelist to allowlist to be more inclusive. (#833) -
94baad6
Add cache to CI pipeline. (#831) - See full diff in compare view
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:
- 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)