Hello community,
here is the log from the commit of package python-zope.testbrowser for
openSUSE:Factory checked in at 2015-05-19 23:47:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-zope.testbrowser (Old)
and /work/SRC/openSUSE:Factory/.python-zope.testbrowser.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-zope.testbrowser"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-zope.testbrowser/python-zope.testbrowser.changes
2013-10-30 15:51:25.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-zope.testbrowser.new/python-zope.testbrowser.changes
2015-05-19 23:47:38.000000000 +0200
@@ -1,0 +2,30 @@
+Fri May 15 13:16:56 UTC 2015 - [email protected]
+
+- update to version 4.0.4:
+ * Removed the ‘WebTest <= 1.3.4’ version pin, fixed tests to work
+ with modern WebTest versions (issue #10).
+- additional changes from version 4.0.3:
+ pinning version ‘WebTest <= 1.3.4’, because of some
+ incompatibility and test failures
+ * Make zope.testbrowser installable via pip (issue #6).
+ * When Browser.handleErrors is False, also add
+ x-wsgiorg.throw_errors to the environment.
+ http://wsgi.org/wsgi/Specifications/throw_errors
+ * Prevent WebTest from always sending paste.throw_errors=True in
+ the environment by setting it to None when Browser.handleErrors
+ is True. This makes it easier to test error pages.
+ * Made Browser.submit() handle raiseHttpErrors (PR #4).
+ * More friendly error messages from getControl() et al:
+ + when you specify an index that is out of bounds, show the
+ available choices
+ + when you fail to find anything, show all the available items
+- switch the source archive to zip (tar.gz not available)
+- add unzip to BuildRequires
+- add fdupes as BuildRequires and call it after install
+- set a minimum version for python-mechanize
+- update the test requirements (still commented, the tests fail)
+- add the runtime requirements as build requirements to ensure
+ their availability
+- update the documentation files
+
+-------------------------------------------------------------------
Old:
----
zope.testbrowser-4.0.2.tar.gz
New:
----
zope.testbrowser-4.0.4.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-zope.testbrowser.spec ++++++
--- /var/tmp/diff_new_pack.cKmnkR/_old 2015-05-19 23:47:39.000000000 +0200
+++ /var/tmp/diff_new_pack.cKmnkR/_new 2015-05-19 23:47:39.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-zope.testbrowser
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,26 @@
Name: python-zope.testbrowser
-Version: 4.0.2
+Version: 4.0.4
Release: 0
Summary: Programmable browser for functional black-box tests
License: ZPL-2.1
Group: Development/Languages/Python
Url: http://pypi.python.org/pypi/zope.testbrowser
-Source:
http://pypi.python.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.tar.gz
+Source:
http://pypi.python.org/packages/source/z/zope.testbrowser/zope.testbrowser-%{version}.zip
+BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-setuptools
+BuildRequires: unzip
# Test requirements:
-#BuildRequires: python-mechanize
-#BuildRequires: python-pytz
-#BuildRequires: python-xml
-#BuildRequires: python-zope.interface
-#BuildRequires: python-zope.schema
-#BuildRequires: python-zope.testing
-#BuildRequires: python-WebTest
-Requires: python-mechanize
+# BuildRequires: python-WebTest
+# BuildRequires: python-zope.testing
+# runtime requirements
+BuildRequires: python-mechanize >= 0.2.0
+BuildRequires: python-pytz
+BuildRequires: python-zope.interface
+BuildRequires: python-zope.schema
+Requires: python-mechanize >= 0.2.0
Requires: python-pytz
Requires: python-zope.interface
Requires: python-zope.schema
@@ -59,6 +61,7 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%fdupes %{buildroot}/%{_prefix}
#NOTE(saschpe): Check broken doctests:
#%%check
@@ -66,7 +69,7 @@
%files
%defattr(-,root,root,-)
-%doc COPYRIGHT.txt LICENSE.txt README.txt
+%doc CHANGES.rst COPYRIGHT.rst LICENSE.rst README.rst
%{python_sitelib}/*
%changelog