Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-chardet for openSUSE:Factory checked in at 2022-07-12 11:12:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-chardet (Old) and /work/SRC/openSUSE:Factory/.python-chardet.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-chardet" Tue Jul 12 11:12:08 2022 rev:31 rq:988322 version:5.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-chardet/python-chardet.changes 2021-12-21 18:40:47.849882773 +0100 +++ /work/SRC/openSUSE:Factory/.python-chardet.new.1523/python-chardet.changes 2022-07-12 11:12:14.643683104 +0200 @@ -1,0 +2,25 @@ +Tue Jul 5 13:21:09 UTC 2022 - Ben Greiner <[email protected]> + +- Update to 5.0.0 + * This release is the first release of chardet that no longer + supports Python < 3.6 + * Added a prober for Johab Korean (#207, @grizlupo) + * Added a prober for UTF-16/32 BE/LE (#109, #206, @jpz) + * Added test data for Croatian, Czech, Hungarian, Polish, Slovak, + Slovene, Greek, and Turkish, which should help prevent future + errors with those languages + * Improved XML tag filtering, which should improve accuracy for + XML files (#208) + * Tweaked SingleByteCharSetProber confidence to match latest + uchardet (#209) + * Made detect_all return child prober confidences (#210) + * Updated examples in docs (#223, @domdfcoding) + * Documentation fixes (#212, #224, #225, #226, #220, #221, #244 + from too many to mention) + * Minor performance improvements (#252, @deedy5) + * Add support for Python 3.10 when testing (#232, @jdufresne) + * Lots of little development cycle improvements, mostly thanks to + @jdufresne +- Canonicalize alternatives creation + +------------------------------------------------------------------- Old: ---- chardet-4.0.0.tar.gz New: ---- chardet-5.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-chardet.spec ++++++ --- /var/tmp/diff_new_pack.PetMvl/_old 2022-07-12 11:12:16.059684957 +0200 +++ /var/tmp/diff_new_pack.PetMvl/_new 2022-07-12 11:12:16.063684962 +0200 @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,6 @@ %bcond_with libalternatives %endif -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -31,8 +30,11 @@ %define psuffix %{nil} %bcond_with test %endif + +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 Name: python-chardet%{psuffix} -Version: 4.0.0 +Version: 5.0.0 Release: 0 Summary: Universal encoding detector License: LGPL-2.1-or-later @@ -93,16 +95,16 @@ %install %if !%{with test} -%{python_expand %$python_install -mv %{buildroot}%{_bindir}/chardetect %{buildroot}%{_bindir}/chardetect-%{$python_bin_suffix} -%fdupes %{buildroot}%{$python_sitelib} -} -%prepare_alternative chardetect +%python_install +%python_clone -a %{buildroot}%{_bindir}/chardetect +%python_expand %fdupes %{buildroot}%{$python_sitelib} %endif %check %if %{with test} -%pytest test.py +# https://github.com/chardet/chardet/issues/256 +donttest="test_detect_all_and_detect_one_should_agree" +%pytest -k "not $donttest" %endif %if !%{with test} @@ -120,7 +122,7 @@ %doc README.rst %python_alternative %{_bindir}/chardetect %{python_sitelib}/chardet -%{python_sitelib}/chardet-%{version}-py%{python_version}.egg-info +%{python_sitelib}/chardet-%{version}*-info %endif %changelog ++++++ chardet-4.0.0.tar.gz -> chardet-5.0.0.tar.gz ++++++ ++++ 31511 lines of diff (skipped)
