Hello community,
here is the log from the commit of package python-pytest-qt for openSUSE:Factory checked in at 2019-02-01 11:47:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-qt (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-qt.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-qt"
Fri Feb 1 11:47:44 2019 rev:5 rq:670279 version:3.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-qt/python-pytest-qt.changes 2018-12-10 12:29:04.106483193 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest-qt.new.28833/python-pytest-qt.changes 2019-02-01 11:48:23.228371230 +0100
@@ -1,0 +2,6 @@
+Thu Jan 31 09:05:27 UTC 2019 - Tomáš Chvátal
+
+- Update to 3.2.2:
+ * Fix Off-by-one error in modeltester (#249). Thanks @ext-jmmugnes for the PR.
+
+-------------------------------------------------------------------
Old:
----
pytest-qt-3.2.1.tar.gz
New:
----
pytest-qt-3.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-qt.spec ++++++
--- /var/tmp/diff_new_pack.z7uifs/_old 2019-02-01 11:48:24.432369993 +0100
+++ /var/tmp/diff_new_pack.z7uifs/_new 2019-02-01 11:48:24.436369990 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-qt
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-qt
-Version: 3.2.1
+Version: 3.2.2
Release: 0
Summary: Pytest support for PyQt and PySide applications
License: MIT
@@ -62,8 +62,10 @@
%check
export PYTEST_QT_API=pyqt5
export PYTHONDONTWRITEBYTECODE=1
+# skip test_qt_api_ini_config_with_envvar as it needs the qt4 and pyside/etc
+# same applies for test_qt_api_ini_config
%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}"
-xvfb-run --server-args="-screen 0 1920x1080x24" py.test-%{$python_bin_suffix} -v
+xvfb-run --server-args="-screen 0 1920x1080x24" py.test-%{$python_bin_suffix} -k 'not test_qt_api_ini_config_with_envvar and not test_qt_api_ini_config'
}
%files %{python_files}
++++++ pytest-qt-3.2.1.tar.gz -> pytest-qt-3.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-qt-3.2.1/CHANGELOG.rst new/pytest-qt-3.2.2/CHANGELOG.rst
--- old/pytest-qt-3.2.1/CHANGELOG.rst 2018-10-01 21:22:36.000000000 +0200
+++ new/pytest-qt-3.2.2/CHANGELOG.rst 2018-12-13 18:55:12.000000000 +0100
@@ -1,3 +1,11 @@
+3.2.2 (2018-12-13)
+------------------
+
+- Fix Off-by-one error in ``modeltester`` (`#249`_). Thanks `@ext-jmmugnes`_ for the PR.
+
+.. _#249: https://github.com/pytest-dev/pytest-qt/pull/249
+
+
3.2.1 (2018-10-01)
------------------
@@ -547,6 +555,7 @@
.. _@baudren: https://github.com/baudren
.. _@billyshambrook: https://github.com/billyshambrook
.. _@datalyze-solutions: https://github.com/datalyze-solutions
+.. _@ext-jmmugnes: https://github.com/ext-jmmugnes
.. _@fabioz: https://github.com/fabioz
.. _@fogo: https://github.com/fogo
.. _@gqmelo: https://github.com/gqmelo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-qt-3.2.1/PKG-INFO new/pytest-qt-3.2.2/PKG-INFO
--- old/pytest-qt-3.2.1/PKG-INFO 2018-10-01 21:25:14.000000000 +0200
+++ new/pytest-qt-3.2.2/PKG-INFO 2018-12-13 18:57:40.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-qt
-Version: 3.2.1
+Version: 3.2.2
Summary: pytest support for PyQt and PySide applications
Home-page: http://github.com/pytest-dev/pytest-qt
Author: Bruno Oliveira
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-qt-3.2.1/pytest_qt.egg-info/PKG-INFO new/pytest-qt-3.2.2/pytest_qt.egg-info/PKG-INFO
--- old/pytest-qt-3.2.1/pytest_qt.egg-info/PKG-INFO 2018-10-01 21:25:14.000000000 +0200
+++ new/pytest-qt-3.2.2/pytest_qt.egg-info/PKG-INFO 2018-12-13 18:57:40.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-qt
-Version: 3.2.1
+Version: 3.2.2
Summary: pytest support for PyQt and PySide applications
Home-page: http://github.com/pytest-dev/pytest-qt
Author: Bruno Oliveira
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-qt-3.2.1/pytestqt/_version.py new/pytest-qt-3.2.2/pytestqt/_version.py
--- old/pytest-qt-3.2.1/pytestqt/_version.py 2018-10-01 21:25:14.000000000 +0200
+++ new/pytest-qt-3.2.2/pytestqt/_version.py 2018-12-13 18:57:40.000000000 +0100
@@ -1,4 +1,4 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '3.2.1'
+version = '3.2.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-qt-3.2.1/pytestqt/modeltest.py new/pytest-qt-3.2.2/pytestqt/modeltest.py
--- old/pytest-qt-3.2.1/pytestqt/modeltest.py 2018-10-01 21:22:36.000000000 +0200
+++ new/pytest-qt-3.2.2/pytestqt/modeltest.py 2018-12-13 18:55:12.000000000 +0100
@@ -546,7 +546,7 @@
)
)
- last_data = self._model.data(last_index) if start - 1 > 0 else None
+ last_data = self._model.data(last_index) if start > 0 else None
next_data = self._model.data(next_index) if start < parent_rowcount else None
c = _Changing(
parent=parent, old_size=parent_rowcount, last=last_data, next=next_data