Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-aniso8601 for 
openSUSE:Factory checked in at 2021-04-14 10:10:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aniso8601 (Old)
 and      /work/SRC/openSUSE:Factory/.python-aniso8601.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-aniso8601"

Wed Apr 14 10:10:52 2021 rev:10 rq:884807 version:9.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aniso8601/python-aniso8601.changes        
2021-02-02 14:25:43.883397387 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-aniso8601.new.2401/python-aniso8601.changes  
    2021-04-14 10:11:18.249526626 +0200
@@ -1,0 +2,35 @@
+Tue Apr 13 05:46:11 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 9.0.1:
+  * Parsing prescribed durations with only hour and second time components 
(see PR 14)
+  * Parsing prescribed durations with only year and day components
+  * Add support for concise interval format (see 27)
+  * Add explicit bounds of [000, 366] to day of year component 
_parse_ordinal_date, this adds the same limits to dates of the format YYYYDDD 
or YYYY-DDD when using parse_date
+  * Add range_check_date, range_check_time, range_check_duration, 
range_check_repeating_interval, and range_check_timezone range checking class 
methods to BaseTimeBuilder there are no datetime or non-repeating interval 
check function as they are made of already checked parts
+  * PythonTimeBuilder now calls the appropriate range check functions using 
the range_check_date, range_check_time, range_check_duration, 
range_check_repeating_interval, and range_check_timezone methods defined in 
aniso8601.builders
+  * Add range_check_duration to PythonTimeBuilder which calls 
BaseTimeBuilder.range_check_duration and performs additional checks against 
maximum timedelta size
+  * Add range_check_interval to PythonTimeBuilder which handles building 
concise dates and performs additional checks against maximum timedelta size
+  * Add get_datetime_resolution which behaves like get_time_resolution but 
accepts a ISO 8601 date time as an argument, return value is a TimeResolution
+  * Add exceptions.RangeCheckError as a parent type of all failures in the 
range check methods, it descends from ValueError
+  * Add get_duration_resolution which behaves like other resolution helpers, 
return value is a DurationResolution
+  * Add get_interval_resolution which behaves like other resolution helpers, 
return value is a IntervalResolution
+  * Negative durations now fail at the parse step and simply raise 
ISOFormatError, calling a PythonTimeBuilder.build_duration directly with a 
negative duration component will yield an ISOFormatError in the range check
+  * Raise DayOutOfBoundsError if calendar day exceeds number of days in 
calendar month
+  * Raise ISOFormatError when date or time string contains extra whitespace
+  * Raise ISOFormatError when duration contains multiple duration designators 
("P"), or time designators ("T")
+  * PythonTimeBuilder.build_duration raises YearOutOfBoundsError, 
MonthOutOfBoundsError, WeekOutOfBoundsError, HoursOutOfBoundsError, 
MinutesOutOfBoundsError, or SecondsOutOfBoundsError when a given duration 
component would result in a timedelta that would exceed the maximum size
+  * Raise ISOFormatError if number of delimiters is not exactly 1 in 
parse_interval
+  * Raise ISOFormatError when either part of an interval string before of 
after the delimiter is empty
+  * Raise YearOutOfBoundsError in PythonTimeBuilder.build_interval if an 
interval with a duration would exceed the maximum or minimum years for Python 
date objects
+  * Simplify parse_date, build_date will now be called with explicit None 
arguments instead of date components not in the parsed string excluded from the 
call
+  * Change get_date_resolution to call parse_date and return the resolution 
based on the smallest parsed component
+  * Simplify parse_time, build_time will now be called with explicit None 
arguments instead of date components not in the parsed string excluded from the 
call
+  * Change get_time_resolution to call parse_time and return the resolution 
based on the smallest parsed component
+  * TupleBuilder now builds DateTuple, TimeTuple, DatetimeTuple, 
DurationTuple, IntervalTuple, RepeatingIntervalTuple and TimezoneTuple 
namedtuples
+  * Simplify parse_duration, build_duration will now be called with explicit 
None arguments when components of a prescribed duration are not present in the 
ISO 8601 duration string instead of being excluded from the call
+  * Remove unused decimalfraction.find_separator
+  * Remove unused PythonTimeBuilder._split_to_microseconds
+  * Removed NegativeDurationError 
+- Switch %pyunittest macro for running tests.
+
+-------------------------------------------------------------------

Old:
----
  aniso8601-8.1.1.tar.gz

New:
----
  aniso8601-9.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-aniso8601.spec ++++++
--- /var/tmp/diff_new_pack.i1yyKQ/_old  2021-04-14 10:11:18.889527705 +0200
+++ /var/tmp/diff_new_pack.i1yyKQ/_new  2021-04-14 10:11:18.893527712 +0200
@@ -20,11 +20,10 @@
 %define modname aniso8601
 %bcond_without python2
 Name:           python-%{modname}
-Version:        8.1.1
+Version:        9.0.1
 Release:        0
 Summary:        A library for parsing ISO 8601 strings
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://bitbucket.org/nielsenb/aniso8601
 Source:         
https://files.pythonhosted.org/packages/source/a/aniso8601/%{modname}-%{version}.tar.gz
 BuildRequires:  %{python_module python-dateutil}
@@ -53,7 +52,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m unittest 
discover aniso8601/tests/
+%pyunittest discover aniso8601/tests/
 
 %files %{python_files}
 %license LICENSE

++++++ aniso8601-8.1.1.tar.gz -> aniso8601-9.0.1.tar.gz ++++++
++++ 14194 lines of diff (skipped)

Reply via email to