Skip to content

Conversation

@dependabot-preview
Copy link

Bumps aniso8601 from 6.0.0 to 9.0.1.

Changelog

Sourced from aniso8601's changelog.

aniso8601 9.0.1

Release date: 2021-03-01

Added

  • Development requirements handled by extras_require{.sourceCode} (install with pip install -e .[dev]{.sourceCode})
  • Pre-commit hooks, managed with pre-commit (install with pre-commit install{.sourceCode})
  • Add readthedocs.yaml{.sourceCode} to make configuration explicit

Changed

  • Code formatted with Black
  • Imports sorted with isort
  • Following Keep a Changelog for this and future CHANGELOG entries
  • Removed python-dateutil from BuildRequires{.sourceCode} in specfile as they are no longer required since calendar level duration building was split to a separate project (6.0.0)
  • Heading level of top of CHANGELOG

Fixed

  • Parsing prescribed durations with only hour and second time components (see PR 14)
  • Parsing prescribed durations with only year and day components

aniso8601 9.0.0

Release date: 2021-02-18

Changes

  • Add support for concise interval format (see 27)
  • Add explicit bounds of [000, 366] to day of year component _parse_ordinal_date{.sourceCode}, this adds the same limits to dates of the format YYYYDDD or YYYY-DDD when using parse_date{.sourceCode}
  • Add range_check_date{.sourceCode}, range_check_time{.sourceCode}, range_check_duration{.sourceCode}, range_check_repeating_interval{.sourceCode}, and range_check_timezone{.sourceCode} range checking class methods to BaseTimeBuilder{.sourceCode} there are no datetime or non-repeating interval check function as they are made of already checked parts
  • PythonTimeBuilder{.sourceCode} now calls the appropriate range check functions using the range_check_date{.sourceCode}, range_check_time{.sourceCode}, range_check_duration{.sourceCode}, range_check_repeating_interval{.sourceCode}, and range_check_timezone{.sourceCode} methods defined in aniso8601.builders{.sourceCode}
  • Add range_check_duration{.sourceCode} to PythonTimeBuilder{.sourceCode} which calls BaseTimeBuilder.range_check_duration{.sourceCode} and performs additional checks against maximum timedelta size
  • Add range_check_interval{.sourceCode} to PythonTimeBuilder{.sourceCode} which handles building concise dates and performs additional checks against maximum timedelta size
  • Add get_datetime_resolution{.sourceCode} which behaves like get_time_resolution{.sourceCode} but accepts a ISO 8601 date time as an argument, return value is a TimeResolution{.sourceCode}
  • Add exceptions.RangeCheckError{.sourceCode} as a parent type of all failures in the range check methods, it descends from ValueError{.sourceCode}
  • Add get_duration_resolution{.sourceCode} which behaves like other resolution helpers, return value is a DurationResolution{.sourceCode}
  • Add get_interval_resolution{.sourceCode} which behaves like other resolution helpers, return value is a IntervalResolution{.sourceCode}
  • Negative durations now fail at the parse step and simply raise ISOFormatError{.sourceCode}, calling a PythonTimeBuilder.build_duration{.sourceCode} directly with a negative duration component will yield an ISOFormatError{.sourceCode} in the range check
  • Raise DayOutOfBoundsError{.sourceCode} if calendar day exceeds number of days in calendar month
  • Raise DayOutOfBoundsError{.sourceCode} if ordinal day exceeds number of days in calendar year (366 now raises DayOutOfBoundsError{.sourceCode} in non-leap year)
  • Raise ISOFormatError{.sourceCode} when date or time string contains extra whitespace
  • Raise ISOFormatError{.sourceCode} on multiple fraction separators (comma, full-stop) in a time string

... (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 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 2, 2021
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant