From d566ba06540f794f31484f125ee26f68251bd51a250a9d572d72822daff3c802 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 18 Mar 2014 12:38:16 +0000 Subject: [PATCH] Accepting request 225730 from devel:languages:python - Update to version 1.4.20: + ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff. + on python2 modify traceback.format_exception_only to match python3 behaviour, namely trying to print unicode for Exception instances + use a safer way for serializing exception reports (helps to fix pytest issue413) - Drop %check section, we never ran tests. That would need python-pytest and introduce a cycle OBS-URL: https://build.opensuse.org/request/show/225730 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-py?expand=0&rev=15 --- py-1.4.19.tar.gz | 3 --- py-1.4.20.tar.gz | 3 +++ python-py.changes | 12 ++++++++++++ python-py.spec | 8 +++----- 4 files changed, 18 insertions(+), 8 deletions(-) delete mode 100644 py-1.4.19.tar.gz create mode 100644 py-1.4.20.tar.gz diff --git a/py-1.4.19.tar.gz b/py-1.4.19.tar.gz deleted file mode 100644 index 1c3ffac..0000000 --- a/py-1.4.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1c4c1d2c218b1939fc466c46d4697026fbc09a3b17cdee298a08e62570eefa6 -size 187665 diff --git a/py-1.4.20.tar.gz b/py-1.4.20.tar.gz new file mode 100644 index 0000000..9cbca1b --- /dev/null +++ b/py-1.4.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23c99d99ebb2a60eb7023b7577bfc988acb0092082257a57189f100ce84b72f1 +size 185583 diff --git a/python-py.changes b/python-py.changes index 9c24714..5e84906 100644 --- a/python-py.changes +++ b/python-py.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Mar 12 16:08:39 UTC 2014 - speilicke@suse.com + +- Update to version 1.4.20: + + ignore unicode decode errors in xmlescape. Thanks Anatoly Bubenkoff. + + on python2 modify traceback.format_exception_only to match python3 + behaviour, namely trying to print unicode for Exception instances + + use a safer way for serializing exception reports (helps to fix + pytest issue413) +- Drop %check section, we never ran tests. That would need python-pytest + and introduce a cycle + ------------------------------------------------------------------- Fri Jan 3 08:30:42 UTC 2014 - mvyskocil@suse.com diff --git a/python-py.spec b/python-py.spec index 46c9a7d..635a1f0 100644 --- a/python-py.spec +++ b/python-py.spec @@ -17,17 +17,18 @@ Name: python-py -Version: 1.4.19 +Version: 1.4.20 Release: 0 Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT Group: Development/Languages/Python Url: http://pylib.org Source: http://pypi.python.org/packages/source/p/py/py-%{version}.tar.gz -BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: unzip +# Documentation requirements: +BuildRequires: python-Sphinx BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -55,9 +56,6 @@ cd doc && make html && rm -r _build/html/.buildinfo # Generate HTML documentatio %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%check -python setup.py test - %files %defattr(-,root,root,-) %doc LICENSE README.txt doc/_build/html