commit python-colander for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2020-04-22 20:51:40

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.2738 (New)


Package is "python-colander"

Wed Apr 22 20:51:40 2020 rev:7 rq:795833 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2020-04-18 00:32:29.746308916 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.2738/python-colander.changes
2020-04-22 20:51:41.507239465 +0200
@@ -1,0 +2,12 @@
+Mon Apr 20 13:05:17 UTC 2020 - Tomáš Chvátal 
+
+- Obsolete the lang subpackage to avoid conflicts
+- Do not generate docu twice, it is provided online by
+  upstream so we don't have to bother really at all
+
+---
+Mon Apr 20 09:19:56 UTC 2020 - Matej Cepl 
+
+- Eliminate complicated py2k constructs
+
+---



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.NiY3gW/_old  2020-04-22 20:51:42.167240758 +0200
+++ /var/tmp/diff_new_pack.NiY3gW/_new  2020-04-22 20:51:42.167240758 +0200
@@ -34,12 +34,11 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-iso8601
 Requires:   python-translationstring
+Obsoletes:  python2-colander-doc
+Obsoletes:  python2-colander-lang
+Obsoletes:  python3-colander-doc
+Obsoletes:  python3-colander-lang
 BuildArch:  noarch
-# SECTION documentation requirements
-BuildRequires:  %{python_module Sphinx} >= 1.3.1
-BuildRequires:  %{python_module docutils}
-BuildRequires:  %{python_module pylons-sphinx-themes}
-# /SECTION
 # SECTION test requirements
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module hupper}
@@ -59,42 +58,16 @@
 - serialize an arbitrary data structure to a data structure composed
   of strings, mappings, and lists.
 
-It is tested on Python 2.7, 3.3, 3.4, 3.5, and 3.6, and PyPy.
-
-Please see http://docs.pylonsproject.org/projects/colander/en/latest/
-for documentation.
-
-%package doc
-Summary:Documentation for %{name}
-Requires:   %{name} = %{version}
-
-%description doc
-This package contains documentation files for %{name}.
-
-%package lang
-# FIXME: consider using %%lang_package macro
-Summary:Translations for package %{name}
-Requires:   %{name} = %{version}
-Requires:   python-base
-Supplements:%{name}
-Provides:   %{name}-lang-all = %{version}
-BuildArch:  noarch
-
-%description lang
-Provides translations for the "%{name}" package.
-
 %prep
 %setup -q -n colander-%{version}
 %autopatch -p1
 
 %build
 %python_build
-%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
 %python_install
 %find_lang colander
-%python_expand grep -F "%{$python_sitelib}" colander.lang > 
colander_%{$python_bin_suffix}.lang
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -103,23 +76,6 @@
 %files %{python_files}
 %license LICENSE.txt
 %doc CHANGES.rst README.rst
-%{python_sitelib}/*
-%exclude %{python_sitelib}/colander/locale
-
-%if %{have_python2} && ! 0%{?skip_python2}
-%files -n %{python2_prefix}-colander-lang -f 
colander_%{python2_bin_suffix}.lang
-%license LICENSE.txt
-%{python2_sitelib}/colander/locale
-%endif
-
-%if %{have_python2} && ! 0%{?skip_python3}
-%files -n %{python3_prefix}-colander-lang -f 
colander_%{python3_bin_suffix}.lang
-%license LICENSE.txt
-%{python3_sitelib}/colander/locale
-%endif
-
-%files %{python_files doc}
-%license LICENSE.txt
-%doc build/sphinx/html
+%{python_sitelib}/colander*
 
 %changelog




commit python-colander for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2020-04-18 00:31:00

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.2738 (New)


Package is "python-colander"

Sat Apr 18 00:31:00 2020 rev:6 rq:794806 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2020-01-19 20:58:09.644073042 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.2738/python-colander.changes
2020-04-18 00:32:29.746308916 +0200
@@ -1,0 +2,5 @@
+Fri Apr 17 08:10:18 UTC 2020 - Matej Cepl 
+
+- Add fix-tests.patch allowing use of pytest (gh#Pylons/colander#210)
+
+---

New:

  fix-tests.patch



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.ur5iRZ/_old  2020-04-18 00:32:30.630310747 +0200
+++ /var/tmp/diff_new_pack.ur5iRZ/_new  2020-04-18 00:32:30.630310747 +0200
@@ -25,6 +25,9 @@
 License:BSD-4-Clause AND ZPL-2.1 AND MIT
 URL:https://github.com/Pylons/colander
 Source: 
https://files.pythonhosted.org/packages/source/c/colander/colander-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix-tests.patch gh#Pylons/colander#210 mc...@suse.com
+# Fix tests to work with pytest (and nose2) as well
+Patch0: fix-tests.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module translationstring}
 BuildRequires:  fdupes
@@ -41,9 +44,9 @@
 BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module hupper}
 BuildRequires:  %{python_module iso8601}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module plaster-pastedeploy}
 BuildRequires:  %{python_module plaster}
+BuildRequires:  %{python_module pytest}
 # /SECTION
 %python_subpackages
 
@@ -82,6 +85,7 @@
 
 %prep
 %setup -q -n colander-%{version}
+%autopatch -p1
 
 %build
 %python_build
@@ -94,7 +98,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py nosetests --with-coverage
+%pytest
 
 %files %{python_files}
 %license LICENSE.txt

++ fix-tests.patch ++
--- a/colander/tests/test_colander.py
+++ b/colander/tests/test_colander.py
@@ -4156,7 +4156,7 @@ class TestTupleSchema(unittest.TestCase)
 self.assertEqual(schema.children[0], node)
 
 
-class TestFunctional(object):
+class FunctionalBase(object):
 def test_deserialize_ok(self):
 import colander.tests
 
@@ -4433,7 +4433,7 @@ class TestFunctional(object):
 self.assertEqual(errors, expected)
 
 
-class TestImperative(unittest.TestCase, TestFunctional):
+class TestImperative(unittest.TestCase, FunctionalBase):
 def _makeSchema(self, name='schema'):
 import colander
 
@@ -4472,7 +4472,7 @@ class TestImperative(unittest.TestCase,
 return schema
 
 
-class TestDeclarative(unittest.TestCase, TestFunctional):
+class TestDeclarative(unittest.TestCase, FunctionalBase):
 def _makeSchema(self, name='schema'):
 import colander
 
@@ -4503,7 +4503,7 @@ class TestDeclarative(unittest.TestCase,
 return schema
 
 
-class TestUltraDeclarative(unittest.TestCase, TestFunctional):
+class TestUltraDeclarative(unittest.TestCase, FunctionalBase):
 def _makeSchema(self, name='schema'):
 import colander
 
@@ -4547,7 +4547,7 @@ class TestUltraDeclarative(unittest.Test
 return schema
 
 
-class TestDeclarativeWithInstantiate(unittest.TestCase, TestFunctional):
+class TestDeclarativeWithInstantiate(unittest.TestCase, FunctionalBase):
 def _makeSchema(self, name='schema'):
 import colander
 



commit python-colander for openSUSE:Factory

2020-01-19 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2020-01-19 20:56:34

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.26092 (New)


Package is "python-colander"

Sun Jan 19 20:56:34 2020 rev:5 rq:765544 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2019-10-16 09:14:10.599639007 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.26092/python-colander.changes   
2020-01-19 20:58:09.644073042 +0100
@@ -9 +9 @@
-- Update to 1.7.0 (2019-02-01)
+- Update to 1.7.0 (2019-02-01), also fixes bsc#1123996 (CVE-2017-18361)



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.0Kd5AC/_old  2020-01-19 20:58:09.960073208 +0100
+++ /var/tmp/diff_new_pack.0Kd5AC/_new  2020-01-19 20:58:09.960073208 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-colander
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties




commit python-colander for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2019-10-16 09:14:10

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.2352 (New)


Package is "python-colander"

Wed Oct 16 09:14:10 2019 rev:4 rq:738302 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2019-02-24 17:13:46.312467957 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.2352/python-colander.changes
2019-10-16 09:14:10.599639007 +0200
@@ -1,0 +2,5 @@
+Mon Oct 14 11:44:08 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.MCPzDR/_old  2019-10-16 09:14:11.807635893 +0200
+++ /var/tmp/diff_new_pack.MCPzDR/_new  2019-10-16 09:14:11.863635749 +0200
@@ -23,13 +23,15 @@
 Release:0
 Summary:A schema-based serialization and deserialization library
 License:BSD-4-Clause AND ZPL-2.1 AND MIT
-Group:  Development/Languages/Python
-Url:https://github.com/Pylons/colander
+URL:https://github.com/Pylons/colander
 Source: 
https://files.pythonhosted.org/packages/source/c/colander/colander-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module translationstring}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-iso8601
+Requires:   python-translationstring
+BuildArch:  noarch
 # SECTION documentation requirements
 BuildRequires:  %{python_module Sphinx} >= 1.3.1
 BuildRequires:  %{python_module docutils}
@@ -43,10 +45,6 @@
 BuildRequires:  %{python_module plaster-pastedeploy}
 BuildRequires:  %{python_module plaster}
 # /SECTION
-Requires:   python-iso8601
-Requires:   python-translationstring
-BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -65,19 +63,18 @@
 
 %package doc
 Summary:Documentation for %{name}
-Group:  Documentation/HTML
 Requires:   %{name} = %{version}
 
 %description doc
 This package contains documentation files for %{name}.
 
 %package lang
+# FIXME: consider using %%lang_package macro
 Summary:Translations for package %{name}
-Group:  System/Localization
 Requires:   %{name} = %{version}
 Requires:   python-base
-Provides:   %{name}-lang-all = %{version}
 Supplements:%{name}
+Provides:   %{name}-lang-all = %{version}
 BuildArch:  noarch
 
 %description lang
@@ -94,7 +91,7 @@
 %python_install
 %find_lang colander
 %python_expand grep -F "%{$python_sitelib}" colander.lang > 
colander_%{$python_bin_suffix}.lang
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec setup.py nosetests --with-coverage
@@ -105,13 +102,13 @@
 %{python_sitelib}/*
 %exclude %{python_sitelib}/colander/locale
 
-%if %have_python2 && ! 0%{?skip_python2}
+%if %{have_python2} && ! 0%{?skip_python2}
 %files -n %{python2_prefix}-colander-lang -f 
colander_%{python2_bin_suffix}.lang
 %license LICENSE.txt
 %{python2_sitelib}/colander/locale
 %endif
 
-%if %have_python2 && ! 0%{?skip_python3}
+%if %{have_python2} && ! 0%{?skip_python3}
 %files -n %{python3_prefix}-colander-lang -f 
colander_%{python3_bin_suffix}.lang
 %license LICENSE.txt
 %{python3_sitelib}/colander/locale




commit python-colander for openSUSE:Factory

2019-02-24 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2019-02-24 17:13:45

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.28833 (New)


Package is "python-colander"

Sun Feb 24 17:13:45 2019 rev:3 rq:672756 version:1.7.0

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2018-12-13 19:47:11.584798202 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.28833/python-colander.changes   
2019-02-24 17:13:46.312467957 +0100
@@ -1,0 +2,61 @@
+Thu Feb  7 12:18:38 UTC 2019 - Hans-Peter Jansen 
+
+- Update to 1.7.0 (2019-02-01)
+  + The URL validator regex has been updated to no longer be
+vulnerable to a catastrophic backtracking that would have led to
+an infinite loop.
+See https://github.com/Pylons/colander/pull/323
+and https://github.com/Pylons/colander/issues/290. 
+With thanks to Przemek (https://github.com/p-m-k).
+  + This does change the behaviour of the URL validator and it no 
+longer supports file:// URI scheme 
+(https://tools.ietf.org/html/rfc8089). Users that wish to validate
+file:// URI’s should change their validator to use
+colander.file_uri instead.
+  + It has also dropped support for alternate schemes outside of
+http/ftp (and their secure equivelants). Please let us know if we
+need to relax this requirement.
+  + CVE-ID: CVE-2017-18361
+  + The Email validator has been updated to use the same regular
+expression that is used by the WhatWG HTML specification, thereby
+increasing the email addresses that will validate correctly from
+web forms submitted.
+See https://github.com/Pylons/colander/pull/324
+and https://github.com/Pylons/colander/issues/283
+  + Number once again will allow you to serialize None to colander.null,
+this reverts an accidental revert.
+See https://github.com/Pylons/colander/issues/204#issuecomment-459556100
+  + Integer SchemaType now supports an optional strict mode that will
+validate that the number is an integer, rather than silently accepting
+floats and truncating.
+See https://github.com/Pylons/colander/pull/322
+and https://github.com/Pylons/colander/issues/292
+
+- Update to 1.6.0 (2019-01-31)
+  + Support custom format strings on DateTime and Date fields.
+See https://github.com/Pylons/colander/pull/318
+  + Support sub-second precision on Time fields if provided.
+See https://github.com/Pylons/colander/pull/319
+  + Format Python code of colander to conform to the PEP 8 style guide.
+Add some linters (flake8, black and other) into tox.ini.
+See https://github.com/Pylons/colander/pull/320
+
+- Update to 1.5.1 (2018-09-10)
+  + Support deserializing colander.drop and colander.required.
+See https://github.com/Pylons/colander/pull/304
+
+- Update to 1.5.0 (2018-09-07)
+  + Drop Python 3.3 support. Add PyPy3 and Python 3.7 as allowed failures.
+See https://github.com/Pylons/colander/pull/309
+  + Fix email validation to not allow all ASCII characters between + and /.
+This prevents email addresses like ‘foo1,f...@bar.baz’ from being
+validated, which would be handled as multiple email addresses by
+subsequent tools.
+See https://github.com/Pylons/colander/pull/315
+  + Add support for enum.Enum objects.
+See https://github.com/Pylons/colander/pull/305
+  + Recompiled language translations and updated de and el locales.
+See https://github.com/Pylons/colander/pull/284
+and https://github.com/Pylons/colander/pull/314
+
+---
@@ -25 +86 @@
-- version 1.3.2: initial build for python3
+- Update to version 1.3.2: initial build for python3
@@ -30 +91 @@
-- update to version 1.0
+- Update to version 1.0
@@ -37 +98 @@
-- version 1.0a5: initial build
+- Version 1.0a5: initial build

Old:

  colander-1.4.tar.gz

New:

  colander-1.7.0.tar.gz



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.Gw4N3M/_old  2019-02-24 17:13:47.044467827 +0100
+++ /var/tmp/diff_new_pack.Gw4N3M/_new  2019-02-24 17:13:47.048467826 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package python-colander
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2018 LISA GmbH, Bingen, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2013-2019 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} 

commit python-colander for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package python-colander for openSUSE:Factory 
checked in at 2018-12-13 19:47:10

Comparing /work/SRC/openSUSE:Factory/python-colander (Old)
 and  /work/SRC/openSUSE:Factory/.python-colander.new.28833 (New)


Package is "python-colander"

Thu Dec 13 19:47:10 2018 rev:2 rq:655392 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/python-colander/python-colander.changes  
2018-06-02 12:05:54.141734646 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-colander.new.28833/python-colander.changes   
2018-12-13 19:47:11.584798202 +0100
@@ -1,0 +2,10 @@
+Wed Dec  5 01:20:39 UTC 2018 - Jan Engelhardt 
+
+- Ensure neutrality of descriptions.
+
+---
+Tue Dec  4 12:46:44 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-colander.spec ++
--- /var/tmp/diff_new_pack.L8vcx0/_old  2018-12-13 19:47:12.228797367 +0100
+++ /var/tmp/diff_new_pack.L8vcx0/_new  2018-12-13 19:47:12.232797362 +0100
@@ -13,18 +13,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-colander
 Version:1.4
 Release:0
-License:BSD-4-Clause and ZPL-2.1 and MIT
-Summary:A simple schema-based serialization and deserialization library
-Url:https://github.com/Pylons/colander
+Summary:A schema-based serialization and deserialization library
+License:BSD-4-Clause AND ZPL-2.1 AND MIT
 Group:  Development/Languages/Python
+Url:https://github.com/Pylons/colander
 Source: 
https://files.pythonhosted.org/packages/source/c/colander/colander-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module translationstring}
 BuildRequires:  fdupes
@@ -35,12 +36,12 @@
 BuildRequires:  %{python_module pylons-sphinx-themes}
 # /SECTION
 # SECTION test requirements
-BuildRequires:  %{python_module iso8601}
+BuildRequires:  %{python_module coverage}
 BuildRequires:  %{python_module hupper}
+BuildRequires:  %{python_module iso8601}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module plaster-pastedeploy}
 BuildRequires:  %{python_module plaster}
-BuildRequires:  %{python_module coverage}
 # /SECTION
 Requires:   python-iso8601
 Requires:   python-translationstring