Skip to content

Bump aniso8601 from 7.0.0 to 9.0.1#36

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/aniso8601-9.0.1
Open

Bump aniso8601 from 7.0.0 to 9.0.1#36
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/aniso8601-9.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 8, 2021

Bumps aniso8601 from 7.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 :code:extras_require (install with :code:pip install -e .[dev])
  • Pre-commit hooks, managed with pre-commit <https://pre-commit.com/>_ (install with :code:pre-commit install)
  • Add :code:readthedocs.yaml to make configuration explicit

Changed

  • Code formatted with Black <https://black.readthedocs.io/en/stable/index.html>_
  • Imports sorted with isort <https://pycqa.github.io/isort/>_
  • Following Keep a Changelog <https://keepachangelog.com/en/1.0.0/>_ for this and future CHANGELOG entries
  • Removed python-dateutil from :code:BuildRequires 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 <https://bitbucket.org/nielsenb/aniso8601/pull-requests/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 <https://bitbucket.org/nielsenb/aniso8601/issues/27/support-for-short-syntax-for-intervals>_)
  • Add explicit bounds of [000, 366] to day of year component :code:_parse_ordinal_date, this adds the same limits to dates of the format YYYYDDD or YYYY-DDD when using :code:parse_date
  • Add :code:range_check_date, :code:range_check_time, :code:range_check_duration, :code:range_check_repeating_interval, and :code:range_check_timezone range checking class methods to :code:BaseTimeBuilder there are no datetime or non-repeating interval check function as they are made of already checked parts
  • :code:PythonTimeBuilder now calls the appropriate range check functions using the :code:range_check_date, :code:range_check_time, :code:range_check_duration, :code:range_check_repeating_interval, and :code:range_check_timezone methods defined in :code:aniso8601.builders
  • Add :code:range_check_duration to :code:PythonTimeBuilder which calls :code:BaseTimeBuilder.range_check_duration and performs additional checks against maximum timedelta size
  • Add :code:range_check_interval to :code:PythonTimeBuilder which handles building concise dates and performs additional checks against maximum timedelta size
  • Add :code:get_datetime_resolution which behaves like :code:get_time_resolution but accepts a ISO 8601 date time as an argument, return value is a :code:TimeResolution
  • Add :code:exceptions.RangeCheckError as a parent type of all failures in the range check methods, it descends from :code:ValueError
  • Add :code:get_duration_resolution which behaves like other resolution helpers, return value is a :code:DurationResolution
  • Add :code:get_interval_resolution which behaves like other resolution helpers, return value is a :code:IntervalResolution
  • Negative durations now fail at the parse step and simply raise :code:ISOFormatError, calling a :code:PythonTimeBuilder.build_duration directly with a negative duration component will yield an :code:ISOFormatError in the range check
  • Raise :code:DayOutOfBoundsError if calendar day exceeds number of days in calendar month
  • Raise :code:DayOutOfBoundsError if ordinal day exceeds number of days in calendar year (366 now raises :code:DayOutOfBoundsError in non-leap year)
  • Raise :code:ISOFormatError when date or time string contains extra whitespace
  • Raise :code:ISOFormatError on multiple fraction separators (comma, full-stop) in a time string
  • Raise :code:ISOFormatError when duration contains multiple duration designators ("P"), or time designators ("T")
  • :code:PythonTimeBuilder.build_duration raises :code:YearOutOfBoundsError, :code:MonthOutOfBoundsError, :code:WeekOutOfBoundsError, :code:HoursOutOfBoundsError, :code:MinutesOutOfBoundsError, or :code:SecondsOutOfBoundsError when a given duration component would result in a :code:timedelta that would exceed the maximum size
  • Raise :code:ISOFormatError if number of delimiters is not exactly 1 in :code:parse_interval
  • Raise :code:ISOFormatError when either part of an interval string before of after the delimiter is empty

... (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 the dependencies Pull requests that update a dependency file label Mar 8, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 8, 2021

Codecov Report

Merging #36 (c444a88) into master (c10fc84) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           23        23           
  Lines         1579      1579           
=========================================
  Hits          1579      1579           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c10fc84...c444a88. Read the comment docs.

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.

0 participants