Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-FormEncode for openSUSE:Factory checked in at 2021-12-30 15:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-FormEncode (Old) and /work/SRC/openSUSE:Factory/.python-FormEncode.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-FormEncode" Thu Dec 30 15:55:16 2021 rev:16 rq:942919 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-FormEncode/python-FormEncode.changes 2020-07-15 12:07:01.236280688 +0200 +++ /work/SRC/openSUSE:Factory/.python-FormEncode.new.1896/python-FormEncode.changes 2021-12-30 15:55:19.700650278 +0100 @@ -1,0 +2,41 @@ +Thu Dec 23 14:17:15 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 2.0.1 + * Add support for 3.10 + * use Pytest instead of Nose and Github Actions instead of Travis + for tests + * Documentation updates + * Note this will be the last version to support Python 2.7. The + next version will be 2.1 to signal this change. If you want to + keep support for Python 2.7 update your dependencies spec to be + below 2.1 +- Release 2.0.0 + * FormEncode can now run on Python 3.6 and higher without needing + to run 2to3 first. + * FormEncode 2.0 is no longer compatible with Python 2.6 and 3.2 + to 3.5. If you need Python 2.6 or 3.2 to 3.5 compatibility + please use FormEncode 1.3. You might also try FormEncode + 2.0.0a1 which supports Python 2.6 and Python 3.3-3.5. + * This will be the last major version to support Python 2.7 + * Add strict flag to USPostalCode to raise error on postal codes + that has too many digits instead of just truncating + * Various Python 3 fixes + * Serbian latin translation + * Changed License to MIT + * Dutch, UK, Greek and South Korean postal code format fixes + * Add postal code formats for Switzerland, Cyprus, Faroe Islands, + San Marino, Ukraine and Vatican City. + * Add ISODateTimeConverter validator + * Add ability to target htmlfill to particular form or ignore a + form + * Fix format errors in some translations + * The version of the library can be checked using + formencode.__version__ +- Drop patches + * new-pycountry.patch + * python-FormEncode-remove-nose.patch + * remove-online-tests.patch + * six.patch +- Find lang files + +------------------------------------------------------------------- Old: ---- FormEncode-1.3.1.tar.gz new-pycountry.patch python-FormEncode-remove-nose.patch remove-online-tests.patch six.patch New: ---- FormEncode-2.0.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-FormEncode.spec ++++++ --- /var/tmp/diff_new_pack.OCB7LY/_old 2021-12-30 15:55:20.976651261 +0100 +++ /var/tmp/diff_new_pack.OCB7LY/_new 2021-12-30 15:55:20.980651264 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-FormEncode # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,29 +18,24 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-FormEncode -Version: 1.3.1 +Version: 2.0.1 Release: 0 Summary: HTML form validation, generation, and conversion package License: Python-2.0 Group: Development/Languages/Python URL: http://formencode.org Source: https://files.pythonhosted.org/packages/source/F/FormEncode/FormEncode-%{version}.tar.gz -Patch0: remove-online-tests.patch -Patch1: new-pycountry.patch -Patch2: six.patch -# https://github.com/formencode/formencode/pull/154 -Patch3: python-FormEncode-remove-nose.patch BuildRequires: %{python_module dnspython} BuildRequires: %{python_module pycountry} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm_git_archive} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-dnspython -Requires: python-pycountry Requires: python-six BuildArch: noarch %ifpython2 @@ -56,30 +51,35 @@ %prep %setup -q -n FormEncode-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -dos2unix README.rst %build %python_build %install %python_install - +rm %{buildroot}%{_prefix}/LICENSE.txt +# trick find-lang.sh into finding the translation files +%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{i18n,locale} +%python_find_lang FormEncode +sed -i s/locale/i18n/ python*-FormEncode.lang +%python_expand mv %{buildroot}%{$python_sitelib}/formencode/{locale,i18n} # remove misplaced documentation %python_expand rm -r %{buildroot}%{$python_sitelib}/docs - %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 # excluded tests poll dns -%pytest -k 'not (test_cyrillic_email or test_unicode_ascii_subgroup)' formencode/tests +donttest="(test_doctests and _wrapper-formencode.validators-False-True)" +donttest+=" or test_unicode_ascii_subgroup" +# 15.3 cannot fulfill test suite requirements with old versions; don't test on python2 +python2_flags="--version" +%pytest -k "not ($donttest)" ${$python_flags} -%files %{python_files} +%files %{python_files} -f %{python_prefix}-FormEncode.lang +%license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/formencode +%{python_sitelib}/FormEncode-%{version}*-info %changelog ++++++ FormEncode-1.3.1.tar.gz -> FormEncode-2.0.1.tar.gz ++++++ ++++ 5880 lines of diff (skipped)