Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tomli for openSUSE:Factory checked in at 2022-02-27 22:42:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tomli (Old) and /work/SRC/openSUSE:Factory/.python-tomli.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tomli" Sun Feb 27 22:42:42 2022 rev:4 rq:957673 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tomli/python-tomli.changes 2022-02-03 23:16:23.460651870 +0100 +++ /work/SRC/openSUSE:Factory/.python-tomli.new.1958/python-tomli.changes 2022-02-27 22:42:45.362624569 +0100 @@ -1,0 +2,12 @@ +Fri Feb 25 11:15:48 UTC 2022 - Ferdinand Thiessen <r...@fthiessen.de> + +- Update to 2.0.1: + * More uniform error messages + * Raise a friendly TypeError for wrong file mode + * Allow parse_float to return objects having the append attr + * Eagerly raise an error if parse_float returns an illegal type + * Tests ported to unittest +- Merge base and -test package, there is no extra dependency any + more, tests just need the python interpreter + +------------------------------------------------------------------- Old: ---- _multibuild tomli-2.0.0.tar.gz New: ---- tomli-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tomli.spec ++++++ --- /var/tmp/diff_new_pack.j4LcAn/_old 2022-02-27 22:42:45.834624706 +0100 +++ /var/tmp/diff_new_pack.j4LcAn/_new 2022-02-27 22:42:45.838624707 +0100 @@ -16,18 +16,10 @@ # -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -Name: python-tomli%{psuffix} -Version: 2.0.0 +Name: python-tomli +Version: 2.0.1 Release: 0 Summary: A lil' TOML parser License: MIT @@ -44,11 +36,6 @@ #!BuildIgnore: python39-tomli #!BuildIgnore: python310-tomli #!BuildIgnore: ca-certificates -%if %{with test} -BuildRequires: %{python_module pytest-randomly} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-dateutil} -%endif BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -61,24 +48,21 @@ %autosetup -p1 -n tomli-%{version} %build -export PYTHONPATH=$PWD +# flit_core requires tomli +export PYTHONPATH=$PWD/src %pyproject_wheel %install -%if ! %{with test} %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pyunittest + %files %{python_files} %license LICENSE %doc README.md %{python_sitelib}/tomli %{python_sitelib}/tomli-%{version}*-info -%else - -%check -%pytest -%endif - %changelog ++++++ tomli-2.0.0.tar.gz -> tomli-2.0.1.tar.gz ++++++ ++++ 20921 lines of diff (skipped)