commit python-pytest for openSUSE:Factory

2020-11-02 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-11-02 09:38:56

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


Package is "python-pytest"

Mon Nov  2 09:38:56 2020 rev:60 rq:844820 version:6.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-10-29 09:47:02.292096755 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3463/python-pytest.changes
2020-11-02 09:39:16.961545978 +0100
@@ -1,0 +2,24 @@
+Thu Oct 29 09:12:41 UTC 2020 - Benjamin Greiner 
+
+- Update to 6.1.2 
+  * #7758: Fixed an issue where some files in packages are 
+getting lost from --lf even though they contain
+tests that failed. Regressed in pytest 5.4.0.
+  * #7911: Directories created by tmpdir are now considered 
+stale after 3 days without modification (previous value 
+was 3 hours) to avoid deleting directories still in use 
+in long running test suites.
+  * #7815: Improve deprecation warning message for 
+pytest._fillfuncargs().
+- remove old py.test2 and py.test3 entry points
+
+---
+Wed Oct 28 00:12:14 UTC 2020 - Benjamin Greiner 
+
+- Fix py.test3 conflict for python3 flavors by alternatives
+  * gh#openSUSE/python-rpm-macros#66
+  * Make pytest the main alternative as py.test is the deprecated
+name
+- Fix gh#pytest-dev/pytest#7891 : require toml for build
+
+---

Old:

  pytest-6.1.1.tar.gz

New:

  pytest-6.1.2.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.1izlMg/_old  2020-11-02 09:39:17.645546634 +0100
+++ /var/tmp/diff_new_pack.1izlMg/_new  2020-11-02 09:39:17.649546638 +0100
@@ -27,14 +27,15 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:6.1.1
+Version:6.1.2
 Release:0
-Summary:Python testing tool with autodiscovery and detailed asserts
+Summary:Simple powerful testing with Python
 License:MIT
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module toml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-attrs >= 17.4.0
@@ -69,7 +70,6 @@
 BuildRequires:  %{python_module pytest-forked}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module toml}
 BuildRequires:  %{python_module xmlschema}
 BuildRequires:  lsof
 %endif
@@ -79,17 +79,8 @@
 %python_subpackages
 
 %description
-pytest is a cross-project Python testing tool. It provides:
-
-* auto-discovery of test modules and functions,
-* detailed info on failing assert statements (no need to remember
-  self.assert* names),
-* modular fixtures for managing small or parametrized long-lived test 
resources.
-* multi-paradigm support: you can use py.test to run test suites based on
-  unittest (or trial), nose,
-* single-source compatibility to Python2.4 all the way up to Python3.3,
-  PyPy-1.9 and Jython-2.5.1, and
-* many external plugins.
+The pytest framework makes it easy to write small tests, yet scales to support
+complex functional testing for applications and libraries.
 
 %prep
 %setup -q -n pytest-%{version}
@@ -100,16 +91,8 @@
 %install
 %if ! %{with test}
 %python_install
-%python_clone -a %{buildroot}%{_bindir}/py.test
 %python_clone -a %{buildroot}%{_bindir}/pytest
-
-if [ -x %{buildroot}%{_bindir}/py.test-%{python2_bin_suffix} ]; then
-ln -s py.test-%{python2_bin_suffix} %{buildroot}%{_bindir}/py.test2
-fi
-if [ -x %{buildroot}%{_bindir}/py.test-%{python3_bin_suffix} ]; then
-ln -s py.test-%{python3_bin_suffix} %{buildroot}%{_bindir}/py.test3
-fi
-
+%python_clone -a %{buildroot}%{_bindir}/py.test
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
@@ -120,20 +103,19 @@
 
 %if ! %{with test}
 %post
-%{python_install_alternative py.test} \
-   --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version}
+%python_install_alternative pytest py.test
 
 %postun
-%python_uninstall_alternative py.test
+%python_uninstall_alternative pytest
 
 %files %{python_files}
 %doc AUTHORS CHANGELOG.rst README.rst
 %license LICENSE
-%python_alternative %{_bindir}/py.test
 %python_alternative %{_bindir}/pytest
-%python2_only %{_bindir}/py.test2
-%python3_only %{_bindir}/py.test3
-%{python_sitelib}/*

commit python-pytest for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-10-29 09:46:56

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


Package is "python-pytest"

Thu Oct 29 09:46:56 2020 rev:59 rq:840182 version:6.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-09-04 10:59:34.150638054 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3463/python-pytest.changes
2020-10-29 09:47:02.292096755 +0100
@@ -1,0 +2,8 @@
+Wed Oct  7 13:47:49 UTC 2020 - Marketa Calabkova 
+
+- update to 6.1.1
+  * Some of the features which have been deprecated in the 5.X series are now
+removed, some are getting deprecated. See upstream changelog.
+  * Many fixtures and various cleanups.
+
+---

Old:

  pytest-6.0.1.tar.gz

New:

  pytest-6.1.1.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.EoQ0aU/_old  2020-10-29 09:47:03.056097477 +0100
+++ /var/tmp/diff_new_pack.EoQ0aU/_new  2020-10-29 09:47:03.056097477 +0100
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:6.0.1
+Version:6.1.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT

++ pytest-6.0.1.tar.gz -> pytest-6.1.1.tar.gz ++
 21690 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-09-04 10:58:09

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


Package is "python-pytest"

Fri Sep  4 10:58:09 2020 rev:58 rq:829560 version:6.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-08-06 17:32:16.973096665 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3399/python-pytest.changes
2020-09-04 10:59:34.150638054 +0200
@@ -1,0 +2,8 @@
+Mon Aug 24 18:05:51 UTC 2020 - Ondřej Súkup 
+
+- update to 6.0.1
+- drop tidy-up-embeddedfile.patch
+ * new major release, please check:
+ https://docs.pytest.org/en/stable/changelog.html for all changes
+
+---

Old:

  pytest-5.4.3.tar.gz
  tidy-up-embeddedfile.patch

New:

  pytest-6.0.1.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.WLJtFv/_old  2020-09-04 10:59:36.038639066 +0200
+++ /var/tmp/diff_new_pack.WLJtFv/_new  2020-09-04 10:59:36.042639067 +0200
@@ -27,24 +27,25 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.4.3
+Version:6.0.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-Patch0: tidy-up-embeddedfile.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-attrs >= 17.4.0
 Requires:   python-importlib-metadata >= 0.12
+Requires:   python-iniconfig
 Requires:   python-more-itertools >= 4.0.0
 Requires:   python-packaging
 Requires:   python-pluggy >= 0.12
-Requires:   python-py >= 1.5.0
+Requires:   python-py >= 1.8.2
 Requires:   python-setuptools
+Requires:   python-toml
 Requires:   python-wcwidth
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -56,6 +57,7 @@
 BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module hypothesis >= 3.56}
 BuildRequires:  %{python_module importlib-metadata >= 0.12}
+BuildRequires:  %{python_module iniconfig}
 BuildRequires:  %{python_module mock}
 # nose is really not REQUIRED, the test suite skips over particular
 # tests, when the package is not available.
@@ -67,6 +69,7 @@
 BuildRequires:  %{python_module pytest-forked}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module toml}
 BuildRequires:  %{python_module xmlschema}
 BuildRequires:  lsof
 %endif
@@ -90,7 +93,6 @@
 
 %prep
 %setup -q -n pytest-%{version}
-%autopatch -p1
 
 %build
 %python_build

++ pytest-5.4.3.tar.gz -> pytest-6.0.1.tar.gz ++
 39238 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2020-08-06 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-08-06 17:31:35

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


Package is "python-pytest"

Thu Aug  6 17:31:35 2020 rev:57 rq:824226 version:5.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-06-11 10:01:41.134578424 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3399/python-pytest.changes
2020-08-06 17:32:16.973096665 +0200
@@ -1,0 +2,6 @@
+Mon Aug  3 21:04:38 UTC 2020 - Matej Cepl 
+
+- nose is actually not required: the test suite happily skips over tests
+  which require it.
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.YZ60jr/_old  2020-08-06 17:32:17.981096901 +0200
+++ /var/tmp/diff_new_pack.YZ60jr/_new  2020-08-06 17:32:17.985096902 +0200
@@ -57,7 +57,9 @@
 BuildRequires:  %{python_module hypothesis >= 3.56}
 BuildRequires:  %{python_module importlib-metadata >= 0.12}
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module nose}
+# nose is really not REQUIRED, the test suite skips over particular
+# tests, when the package is not available.
+# BuildRequires:  %%{python_module nose}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module pygments-pytest}




commit python-pytest for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-06-11 10:01:16

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


Package is "python-pytest"

Thu Jun 11 10:01:16 2020 rev:56 rq:813080 version:5.4.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-05-28 09:04:54.675275669 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3606/python-pytest.changes
2020-06-11 10:01:41.134578424 +0200
@@ -1,0 +2,18 @@
+Tue Jun  9 07:43:57 UTC 2020 - Steve Kowalik 
+
+- Rebase and re-add tidy-up-embeddedfile.patch, it was only partially merged
+  upstream.
+
+---
+Fri Jun  5 09:03:56 UTC 2020 - Ondřej Súkup 
+
+- update to 5.4.3
+ * Paths appearing in error messages are now correct in case the current 
working
+ directory has changed since the start of the session.
+ * Support deleting paths longer than 260 characters on windows created inside 
tmpdir.
+ * Prevent pytest from printing ConftestImportFailure traceback to stdout.
+ * Prevent hiding the underlying exception when ConfTestImportFailure is 
raised.
+ * Fix regression where running with --pdb would call the tearDown methods
+ of unittest.TestCase subclasses for skipped tests.
+
+---

Old:

  pytest-5.4.2.tar.gz

New:

  pytest-5.4.3.tar.gz
  tidy-up-embeddedfile.patch



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.GPZRlg/_old  2020-06-11 10:01:44.278588550 +0200
+++ /var/tmp/diff_new_pack.GPZRlg/_new  2020-06-11 10:01:44.282588563 +0200
@@ -27,12 +27,13 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.4.2
+Version:5.4.3
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+Patch0: tidy-up-embeddedfile.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
@@ -87,6 +88,7 @@
 
 %prep
 %setup -q -n pytest-%{version}
+%autopatch -p1
 
 %build
 %python_build

++ pytest-5.4.2.tar.gz -> pytest-5.4.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.4.2/AUTHORS new/pytest-5.4.3/AUTHORS
--- old/pytest-5.4.2/AUTHORS2020-05-08 13:58:14.0 +0200
+++ new/pytest-5.4.3/AUTHORS2020-06-02 18:43:25.0 +0200
@@ -267,6 +267,7 @@
 Tom Viner
 Tomáš Gavenčiak
 Tomer Keren
+Tor Colvin
 Trevor Bekolay
 Tyler Goodlet
 Tzu-ping Chung
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.4.2/PKG-INFO new/pytest-5.4.3/PKG-INFO
--- old/pytest-5.4.2/PKG-INFO   2020-05-08 13:58:23.0 +0200
+++ new/pytest-5.4.3/PKG-INFO   2020-06-02 18:43:38.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest
-Version: 5.4.2
+Version: 5.4.3
 Summary: pytest: simple powerful testing with Python
 Home-page: https://docs.pytest.org/en/latest/
 Author: Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, 
Brianna Laugher, Florian Bruhin and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.4.2/codecov.yml new/pytest-5.4.3/codecov.yml
--- old/pytest-5.4.2/codecov.yml2020-05-08 13:58:14.0 +0200
+++ new/pytest-5.4.3/codecov.yml2020-06-02 18:43:25.0 +0200
@@ -1 +1,6 @@
-comment: off
+# reference: https://docs.codecov.io/docs/codecovyml-reference
+coverage:
+  status:
+patch: true
+project: false
+comment: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.4.2/doc/en/announce/index.rst 
new/pytest-5.4.3/doc/en/announce/index.rst
--- old/pytest-5.4.2/doc/en/announce/index.rst  2020-05-08 13:58:14.0 
+0200
+++ new/pytest-5.4.3/doc/en/announce/index.rst  2020-06-02 18:43:25.0 
+0200
@@ -6,6 +6,7 @@
:maxdepth: 2
 
 
+   release-5.4.3
release-5.4.2
release-5.4.1
release-5.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.4.2/doc/en/announce/release-5.4.3.rst 
new/pytest-5.4.3/doc/en/announce/release-5.4.3.rst
--- old/pytest-5.4.2/doc/en/announce/release-5.4.3.rst  1970-01-01 
01:00:00.0 +0100
+++ new/pytest-5.4.3/doc/en/announce/release-5.4.3.rst  

commit python-pytest for openSUSE:Factory

2020-05-28 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-05-28 09:04:51

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


Package is "python-pytest"

Thu May 28 09:04:51 2020 rev:55 rq:802880 version:5.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-04-19 21:42:18.143217933 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.3606/python-pytest.changes
2020-05-28 09:04:54.675275669 +0200
@@ -1,0 +2,33 @@
+Tue May 12 08:49:45 UTC 2020 - Ondřej Súkup 
+
+- Update to 5.4.2
+ * Fix crash with captured output when using the capsysbinary fixture.
+ * Ensure a unittest.IsolatedAsyncioTestCase is actually awaited.
+ * Fix TerminalRepr instances to be hashable again.
+ * Fix regression where functions registered with TestCase.addCleanup
+were not being called on test failures.
+ * Allow users to still set the deprecated TerminalReporter.writer attribute.
+ * Revert “tmpdir: clean up indirection via config for factories
+ * Fixed regression: asyncbase.TestCase tests are executed correctly again
+ * Fix File.from_constructor so it forwards extra keyword arguments to the 
constructor.
+ * Classes with broken __getattribute__ methods are displayed correctly during 
failures.
+ * Fix _is_setup_py for files encoded differently than locale.
+
+---
+Mon Apr 27 10:43:32 UTC 2020 - Tomáš Chvátal 
+
+- Update to 5.4.1:
+  * #6909: Revert the change introduced by #6330, which required all
+arguments to @pytest.mark.parametrize to be explicitly defined
+in the function signature.
+  * #6910: Fix crash when plugins return an unknown stats while using
+the --reportlog option.
+  * #6316: Matching of -k EXPRESSION to test names is now case-insensitive.
+  * #6443: Plugins specified with -p are now loaded after internal plugins
+  * #6637: Removed the long-deprecated pytest_itemstart hook.
+  * #6673: Reversed / fix meaning of “+/-” in error diffs. “-” means that
+sth. expected is missing in the result and “+” means that there are
+unexpected extras in the result.
+- Remove merged patch tidy-up-embeddedfile.patch
+
+---

Old:

  pytest-5.3.5.tar.gz
  tidy-up-embeddedfile.patch

New:

  pytest-5.4.2.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.e5eOYk/_old  2020-05-28 09:04:55.455277431 +0200
+++ /var/tmp/diff_new_pack.e5eOYk/_new  2020-05-28 09:04:55.455277431 +0200
@@ -27,19 +27,16 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.3.5
+Version:5.4.2
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-# UPSTREAM FIX: gh/pytest-dev#6899
-Patch0: tidy-up-embeddedfile.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-atomicwrites >= 1.0
 Requires:   python-attrs >= 17.4.0
 Requires:   python-importlib-metadata >= 0.12
 Requires:   python-more-itertools >= 4.0.0
@@ -47,7 +44,6 @@
 Requires:   python-pluggy >= 0.12
 Requires:   python-py >= 1.5.0
 Requires:   python-setuptools
-Requires:   python-six >= 1.10.0
 Requires:   python-wcwidth
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -57,7 +53,7 @@
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module decorator}
-BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module hypothesis >= 3.56}
 BuildRequires:  %{python_module importlib-metadata >= 0.12}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
@@ -68,7 +64,6 @@
 BuildRequires:  %{python_module pytest-forked}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module xmlschema}
 BuildRequires:  lsof
 %endif
@@ -92,7 +87,6 @@
 
 %prep
 %setup -q -n pytest-%{version}
-%autopatch -p1
 
 %build
 %python_build

++ pytest-5.3.5.tar.gz -> pytest-5.4.2.tar.gz ++
 20477 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-04-19 21:42:03

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


Package is "python-pytest"

Sun Apr 19 21:42:03 2020 rev:54 rq:786286 version:5.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-02-24 15:49:50.611129424 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.2738/python-pytest.changes
2020-04-19 21:42:18.143217933 +0200
@@ -1,0 +2,6 @@
+Wed Mar 18 07:45:23 UTC 2020 - Steve Kowalik 
+
+- Add patch tidy-up-embeddedfile.patch based on an upstream PR. Can
+  be dropped when updating.
+
+---

New:

  tidy-up-embeddedfile.patch



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.I327kp/_old  2020-04-19 21:42:22.115225903 +0200
+++ /var/tmp/diff_new_pack.I327kp/_new  2020-04-19 21:42:22.119225911 +0200
@@ -33,6 +33,8 @@
 License:MIT
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+# UPSTREAM FIX: gh/pytest-dev#6899
+Patch0: tidy-up-embeddedfile.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
@@ -90,6 +92,7 @@
 
 %prep
 %setup -q -n pytest-%{version}
+%autopatch -p1
 
 %build
 %python_build

++ tidy-up-embeddedfile.patch ++
>From 29e4cb5d45f44379aba948c2cd791b3b97210e31 Mon Sep 17 00:00:00 2001
From: Ran Benita 
Date: Sat, 7 Mar 2020 18:38:22 +0200
Subject: [PATCH] Remove safe_text_dupfile() and simplify EncodedFile

I tried to understand what the `safe_text_dupfile()` function and
`EncodedFile` class do. Outside tests, `EncodedFile` is only used by
`safe_text_dupfile`, and `safe_text_dupfile` is only used by
`FDCaptureBinary.__init__()`. I then started to eliminate always-true
conditions based on the single call site, and in the end nothing was
left except of a couple workarounds that are still needed.
---
 src/_pytest/capture.py  | 66 ++--
 testing/test_capture.py | 75 ++---
 2 files changed, 28 insertions(+), 113 deletions(-)

Index: pytest-5.3.5/src/_pytest/capture.py
===
--- pytest-5.3.5.orig/src/_pytest/capture.py
+++ pytest-5.3.5/src/_pytest/capture.py
@@ -391,57 +391,21 @@ class CaptureFixture:
 yield
 
 
-def safe_text_dupfile(f, mode, default_encoding="UTF8"):
-""" return an open text file object that's a duplicate of f on the
-FD-level if possible.
-"""
-encoding = getattr(f, "encoding", None)
-try:
-fd = f.fileno()
-except Exception:
-if "b" not in getattr(f, "mode", "") and hasattr(f, "encoding"):
-# we seem to have a text stream, let's just use it
-return f
-else:
-newfd = os.dup(fd)
-if "b" not in mode:
-mode += "b"
-f = os.fdopen(newfd, mode, 0)  # no buffering
-return EncodedFile(f, encoding or default_encoding)
-
-
-class EncodedFile:
-errors = "strict"  # possibly needed by py3 code (issue555)
-
-def __init__(self, buffer, encoding):
-self.buffer = buffer
-self.encoding = encoding
-
-def write(self, obj):
-if isinstance(obj, str):
-obj = obj.encode(self.encoding, "replace")
-else:
-raise TypeError(
-"write() argument must be str, not 
{}".format(type(obj).__name__)
-)
-self.buffer.write(obj)
-
-def writelines(self, linelist):
-data = "".join(linelist)
-self.write(data)
+class EncodedFile(io.TextIOWrapper):
+__slots__ = ()
 
 @property
 def name(self):
-"""Ensure that file.name is a string."""
+# Ensure that file.name is a string. Workaround for a Python bug
+# fixed in >=3.7.4: https://bugs.python.org/issue36015
 return repr(self.buffer)
 
 @property
 def mode(self):
+# TextIOWrapper doesn't expose a mode, but at least some of our
+# tests check it.
 return self.buffer.mode.replace("b", "")
 
-def __getattr__(self, name):
-return getattr(object.__getattribute__(self, "buffer"), name)
-
 
 CaptureResult = collections.namedtuple("CaptureResult", ["out", "err"])
 
@@ -555,9 +519,12 @@ class FDCaptureBinary:
 self.syscapture = SysCapture(targetfd)
 else:
 if tmpfile is None:
-f = 

commit python-pytest for openSUSE:Factory

2020-02-24 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-02-24 15:49:49

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


Package is "python-pytest"

Mon Feb 24 15:49:49 2020 rev:53 rq:776261 version:5.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2020-01-16 18:15:35.692783191 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.26092/python-pytest.changes   
2020-02-24 15:49:50.611129424 +0100
@@ -1,0 +2,13 @@
+Wed Feb 19 09:47:59 UTC 2020 - Ondřej Súkup 
+
+- Update to 5.3.5
+ * Captured output during teardown is shown with -rP
+ * Fix a pytest-xdist crash when dealing with exceptions raised
+   in subprocesses created by the multiprocessing module.
+ * FixtureDef objects now properly register their finalizers
+   with autouse and parameterized fixtures that execute before
+   them in the fixture stack so they are torn down at the right times,
+   and in the right order.
+ * Fix parsing of outcomes containing multiple errors with testdir results
+
+---

Old:

  pytest-5.3.2.tar.gz

New:

  pytest-5.3.5.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.I5w1Tt/_old  2020-02-24 15:49:51.619131669 +0100
+++ /var/tmp/diff_new_pack.I5w1Tt/_new  2020-02-24 15:49:51.623131678 +0100
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.3.2
+Version:5.3.5
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT

++ pytest-5.3.2.tar.gz -> pytest-5.3.5.tar.gz ++
 5109 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2020-01-16 18:15:26

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


Package is "python-pytest"

Thu Jan 16 18:15:26 2020 rev:52 rq:764286 version:5.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-11-22 10:25:41.157268918 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.26092/python-pytest.changes   
2020-01-16 18:15:35.692783191 +0100
@@ -1,0 +2,24 @@
+Tue Jan 14 12:32:50 UTC 2020 - Tomáš Chvátal 
+
+- Fix typo importlib_metadata -> importlib-metadata
+
+---
+Mon Jan  6 13:23:00 UTC 2020 - Tomáš Chvátal 
+
+- Update to 5.3.2:
+  * junitxml: Logs for failed test are now passed to junit report in
+case the test fails during call phase.
+  * supporting files in the .pytest_cache directory are kept with
+--cache-clear, which only clears cached values now.
+  * Fix assertion rewriting for egg-based distributions and editable
+installs (pip install --editable).
+  * Improve check for misspelling of pytest.mark.parametrize.
+  * Handle exit.Exception raised in notify_exception (via 
pytest_internalerror), e.g. when quitting pdb from post mortem.
+  * default value of junit_family option will change to xunit2 in
+pytest 6.0, given that this is the version supported by default in
+modern tools that manipulate this type of file.
+  * In order to smooth the transition, pytest will issue a warning in
+case the --junitxml option is given in the command line but
+junit_family is not explicitly configured in pytest.ini.
+
+---

Old:

  pytest-5.2.4.tar.gz

New:

  pytest-5.3.2.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.sCj6kT/_old  2020-01-16 18:15:37.716784336 +0100
+++ /var/tmp/diff_new_pack.sCj6kT/_new  2020-01-16 18:15:37.720784339 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.2.4
+Version:5.3.2
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -56,7 +56,7 @@
 BuildRequires:  %{python_module Twisted}
 BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module hypothesis}
-BuildRequires:  %{python_module importlib_metadata >= 0.12}
+BuildRequires:  %{python_module importlib-metadata >= 0.12}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module numpy}

++ pytest-5.2.4.tar.gz -> pytest-5.3.2.tar.gz ++
 27877 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2019-11-22 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-11-22 10:25:38

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


Package is "python-pytest"

Fri Nov 22 10:25:38 2019 rev:51 rq:749196 version:5.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-11-04 17:05:07.532179024 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.26869/python-pytest.changes   
2019-11-22 10:25:41.157268918 +0100
@@ -1,0 +2,17 @@
+Mon Nov 18 08:14:19 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.2.4:
+  * #6099: Fix --trace when used with parametrized functions.
+  * #6183: Using request as a parameter name in @pytest.mark.parametrize now 
produces a more user-friendly error.
+  * #6194: Fix incorrect discovery of non-test __init__.py files.
+
+---
+Tue Nov  5 11:01:48 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.2.2:
+  * #5206: Fix --nf to not forget about known nodeids with partial test 
selection.
+  * #5906: Fix crash with KeyboardInterrupt during --setup-show.
+  * #5946: Fixed issue when parametrizing fixtures with numpy arrays (and 
possibly other sequence-like types).
+  * #6044: Properly ignore FileNotFoundError exceptions when trying to remove 
old temporary directories, for instance when multiple processes try to remove 
the same directory (common with pytest-xdist for example).
+
+---

Old:

  pytest-5.2.1.tar.gz

New:

  pytest-5.2.4.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.4JPmlG/_old  2019-11-22 10:25:41.669268768 +0100
+++ /var/tmp/diff_new_pack.4JPmlG/_new  2019-11-22 10:25:41.673268766 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,11 +27,10 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.2.1
+Version:5.2.4
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools >= 40.0}

++ pytest-5.2.1.tar.gz -> pytest-5.2.4.tar.gz ++
 2012 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-11-04 17:05:06

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


Package is "python-pytest"

Mon Nov  4 17:05:06 2019 rev:50 rq:736696 version:5.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-09-30 15:50:07.586697227 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.2990/python-pytest.changes
2019-11-04 17:05:07.532179024 +0100
@@ -1,0 +2,9 @@
+Wed Oct  9 14:13:11 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.2.1:
+  * #5902: Fix warnings about deprecated cmp attribute in attrs>=19.2.
+  * #1682: Passing arguments to pytest.fixture() as positional arguments is 
deprecated - pass them as a keyword argument instead.
+  * #1682: The scope parameter of @pytest.fixture can now be a callable that 
receives the fixture name and the config object as keyword-only parameters. See 
the docs for more information.
+  * #5764: New behavior of the --pastebin option: failures to connect to the 
pastebin server are reported, without failing the pytest run
+
+---

Old:

  pytest-5.1.3.tar.gz

New:

  pytest-5.2.1.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.LncEvF/_old  2019-11-04 17:05:08.140179675 +0100
+++ /var/tmp/diff_new_pack.LncEvF/_new  2019-11-04 17:05:08.140179675 +0100
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.1.3
+Version:5.2.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT

++ pytest-5.1.3.tar.gz -> pytest-5.2.1.tar.gz ++
 2085 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2019-09-30 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-09-30 15:50:03

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


Package is "python-pytest"

Mon Sep 30 15:50:03 2019 rev:49 rq:732742 version:5.1.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-09-23 12:03:17.189946224 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.2352/python-pytest.changes
2019-09-30 15:50:07.586697227 +0200
@@ -1,0 +2,8 @@
+Mon Sep 23 12:30:16 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.1.3:
+  * #5807: Fix pypy3.6 (nightly) on windows.
+  * #5811: Handle --fulltrace correctly with pytest.raises.
+  * #5819: Windows: Fix regression with conftest whose qualified name contains 
uppercase characters
+
+---

Old:

  pytest-5.1.2.tar.gz

New:

  pytest-5.1.3.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.0s1WA0/_old  2019-09-30 15:50:09.430692320 +0200
+++ /var/tmp/diff_new_pack.0s1WA0/_new  2019-09-30 15:50:09.434692309 +0200
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.1.2
+Version:5.1.3
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -53,12 +53,23 @@
 Obsoletes:  python-pytest-doc
 BuildArch:  noarch
 %if %{with test}
+BuildRequires:  %{python_module Jinja2}
+BuildRequires:  %{python_module Twisted}
+BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module importlib_metadata >= 0.12}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module pygments-pytest}
 BuildRequires:  %{python_module pytest >= %{version}}
+BuildRequires:  %{python_module pytest-forked}
+BuildRequires:  %{python_module pytest-xdist}
+BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module xmlschema}
+BuildRequires:  lsof
 %endif
 %if %{python3_version_nodots} < 36
 Requires:   python-pathlib2 >= 2.2.0

++ pytest-5.1.2.tar.gz -> pytest-5.1.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.1.2/.travis.yml new/pytest-5.1.3/.travis.yml
--- old/pytest-5.1.2/.travis.yml2019-08-30 21:02:33.0 +0200
+++ new/pytest-5.1.3/.travis.yml2019-09-21 15:49:40.0 +0200
@@ -42,9 +42,8 @@
 - env: TOXENV=pypy3-xdist
   python: 'pypy3'
 
-- env: TOXENV=py35
-  dist: trusty
-  python: '3.5.0'
+- env: TOXENV=py35-xdist
+  python: '3.5'
 
 # Coverage for:
 # - pytester's LsofFdLeakChecker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.1.2/AUTHORS new/pytest-5.1.3/AUTHORS
--- old/pytest-5.1.2/AUTHORS2019-08-30 21:02:33.0 +0200
+++ new/pytest-5.1.3/AUTHORS2019-09-21 15:49:40.0 +0200
@@ -98,6 +98,7 @@
 Florian Bruhin
 Floris Bruynooghe
 Gabriel Reis
+Gene Wood
 George Kussumoto
 Georgy Dyuldin
 Graham Horler
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.1.2/CHANGELOG.rst 
new/pytest-5.1.3/CHANGELOG.rst
--- old/pytest-5.1.2/CHANGELOG.rst  2019-08-30 21:02:33.0 +0200
+++ new/pytest-5.1.3/CHANGELOG.rst  2019-09-21 15:49:40.0 +0200
@@ -18,6 +18,22 @@
 
 .. towncrier release notes start
 
+pytest 5.1.3 (2019-09-18)
+=
+
+Bug Fixes
+-
+
+- `#5807 `_: Fix pypy3.6 
(nightly) on windows.
+
+
+- `#5811 `_: Handle 
``--fulltrace`` correctly with ``pytest.raises``.
+
+
+- `#5819 `_: Windows: Fix 
regression with conftest whose qualified name contains uppercase
+  characters (introduced by #5792).
+
+
 pytest 5.1.2 (2019-08-30)
 =
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-5.1.2/PKG-INFO new/pytest-5.1.3/PKG-INFO
--- old/pytest-5.1.2/PKG-INFO   2019-08-30 21:02:53.0 +0200
+++ new/pytest-5.1.3/PKG-INFO   2019-09-21 15:49:57.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: pytest
-Version: 5.1.2
+Version: 5.1.3
 Summary: pytest: simple powerful testing with Python
 

commit python-pytest for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-09-23 12:03:11

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


Package is "python-pytest"

Mon Sep 23 12:03:11 2019 rev:48 rq:729497 version:5.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-07-30 13:01:55.346432213 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.7948/python-pytest.changes
2019-09-23 12:03:17.189946224 +0200
@@ -1,0 +2,53 @@
+Mon Sep  9 14:11:58 UTC 2019 - Tomáš Chvátal 
+
+- Update to 5.1.2:
+  * #2270: Fixed self reference in function-scoped fixtures defined plugin 
classes: previously self would be a reference to a test class, not the plugin 
class.
+  * #570: Fixed long standing issue where fixture scope was not respected when 
indirect fixtures were used during parametrization.
+  * #5782: Fix decoding error when printing an error response from --pastebin.
+  * #5786: Chained exceptions in test and collection reports are now correctly 
serialized, allowing plugins like pytest-xdist to display them properly.
+
+---
+Fri Aug 23 12:58:40 UTC 2019 - Ondřej Súkup 
+
+- Update to 5.1.1
+ * Removed:
+   + Request.getfuncargvalue: use Request.getfixturevalue instead.
+   + pytest.raises and pytest.warns no longer support strings as the second 
argument.
+   + message parameter of pytest.raises.
+   + pytest.raises, pytest.warns and ParameterSet.param now use native 
keyword-only
+ syntax. This might change the exception message from previous versions, 
but
+ they still raise TypeError on unknown keyword arguments as before.
+   + pytest.config global variable.
+   + tmpdir_factory.ensuretemp method.
+   + pytest_logwarning hook.
+   + RemovedInPytest4Warning warning type.
+   + request is now a reserved name for fixtures.
+   + Removed unused support code for unittest2.
+   + pytest.fail, pytest.xfail and pytest.skip no longer support bytes
+ for the message argument.
+ * New Config.invocation_args attribute containing the unchanged arguments 
passed to pytest.main().
+ * New NUMBER option for doctests to ignore irrelevant differences in 
floating-point numbers
+ * JUnit XML now includes a timestamp and hostname in the testsuite tag.
+ * Fix RuntimeError/StopIteration when trying to collect package with 
“__init__.py” only.
+ * Warnings issued during pytest_configure are explicitly not treated as 
errors,
+even if configured as such, because it otherwise completely breaks pytest.
+ * The XML file produced by --junitxml now correctly contain a  
root element.
+ * Fixed using multiple short options together in the command-line (for 
example -vs) in Python 3.8+.
+ * Fix issue where tmp_path and tmpdir would not remove directories containing
+files marked as read-only, which could lead to pytest crashing when 
executed
+a second time with the --basetemp option.
+ * Replace importlib_metadata backport with importlib.metadata from the 
standard
+library on Python 3.8+.
+ * Improve type checking for some exception-raising functions (pytest.xfail,
+pytest.skip, etc) so they provide better error messages when users meant
+to use marks (for example @pytest.xfail instead of @pytest.mark.xfail).
+ * Fixed internal error when test functions were patched with objects that 
cannot
+be compared for truth values against others, like numpy arrays.
+ * pytest.exit is now correctly handled in unittest cases. This makes unittest
+cases handle quit from pytest’s pdb correctly.
+ * Improved output when parsing an ini configuration file fails.
+ * Fix collection of staticmethod objects defined with functools.partial.
+ * Skip async generator test functions, and update the warning message to refer
+to async def functions.
+
+---

Old:

  pytest-5.0.1.tar.gz

New:

  pytest-5.1.2.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.EJuCHx/_old  2019-09-23 12:03:18.025946087 +0200
+++ /var/tmp/diff_new_pack.EJuCHx/_new  2019-09-23 12:03:18.029946086 +0200
@@ -27,7 +27,7 @@
 %endif
 %define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:5.0.1
+Version:5.1.2
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -58,6 +58,7 @@
 BuildRequires:  %{python_module pygments-pytest}
 BuildRequires:  %{python_module pytest >= %{version}}
 BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module xmlschema}
 

commit python-pytest for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-07-30 13:01:52

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


Package is "python-pytest"

Tue Jul 30 13:01:52 2019 rev:47 rq:717009 version:5.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-06-18 14:49:13.585687553 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.4126/python-pytest.changes
2019-07-30 13:01:55.346432213 +0200
@@ -1,0 +2,18 @@
+Fri Jul 19 10:16:21 UTC 2019 - Tomáš Chvátal 
+
+- Add setuptools requires as we still use entrypoints
+
+---
+Tue Jul  9 11:25:49 UTC 2019 - Tomáš Chvátal 
+
+- Python-pytest4 contains pytest4; python-pytest3 contains pytest3
+  the main package from now on will be tracking upstream releases
+- Update to 5.0.1:
+  * Major update; from now on supporting only python3+
+- Remove merged patches:
+  * fix_test_raises_exception_looks_iterable.patch
+  * importlib-metadata.patch
+  * new-pluggy.patch
+  * sphinx2.0.patch
+
+---

Old:

  fix_test_raises_exception_looks_iterable.patch
  importlib-metadata.patch
  new-pluggy.patch
  pytest-3.10.1.tar.gz
  sphinx2.0.patch

New:

  pytest-5.0.1.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.4fekFI/_old  2019-07-30 13:01:56.882431904 +0200
+++ /var/tmp/diff_new_pack.4fekFI/_new  2019-07-30 13:01:56.930431894 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-pytest
+# spec file for package python
 #
 # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
@@ -19,28 +19,21 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%define psuffix -test
+%define psuffix -%{flavor}
 %bcond_without test
 %else
 %define psuffix %{nil}
 %bcond_with test
 %endif
+%define skip_python2 1
 Name:   python-pytest%{psuffix}
-Version:3.10.1
+Version:5.0.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
 Group:  Development/Languages/Python
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix_test_raises_exception_looks_iterable.patch 
gh#pytest-dev/pytest#4525 mc...@suse.com
-Patch0: fix_test_raises_exception_looks_iterable.patch
-# PATCH-FIX-UPSTREAM taken from master
-Patch1: new-pluggy.patch
-# PATCH-FIX-UPSTREAM from master
-Patch2: sphinx2.0.patch
-# PATCH-FIX-UPSTREAM from master
-Patch3: importlib-metadata.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
@@ -54,22 +47,19 @@
 Requires:   python-py >= 1.5.0
 Requires:   python-setuptools
 Requires:   python-six >= 1.10.0
+Requires:   python-wcwidth
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+Obsoletes:  python-pytest-doc
 BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module hypothesis}
-BuildRequires:  %{python_module pytest = %{version}}
+BuildRequires:  %{python_module importlib_metadata >= 0.12}
+BuildRequires:  %{python_module pygments-pytest}
+BuildRequires:  %{python_module pytest >= %{version}}
 BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  python-funcsigs
-BuildRequires:  python-mock
-BuildRequires:  python3-Sphinx
-BuildRequires:  python3-sphinxcontrib-trio
 %endif
-%ifpython2
-Requires:   python-funcsigs
-%endif
-%if "%{python_flavor}" == "python2" || %{python3_version_nodots} < 36
+%if %{python3_version_nodots} < 36
 Requires:   python-pathlib2 >= 2.2.0
 %endif
 %python_subpackages
@@ -87,25 +77,11 @@
   PyPy-1.9 and Jython-2.5.1, and
 * many external plugins.
 
-%package -n python-pytest-doc
-Summary:Documentation for %{name}
-Group:  Development/Languages/Python
-Provides:   %{python_module python-pytest-doc = %{version}}
-
-%description -n python-pytest-doc
-pytest is a cross-project Python testing tool. This is a documentation
-for the package.
-
 %prep
 %setup -q -n pytest-%{version}
-%autopatch -p1
 
 %build
 %python_build
-%if %{with test}
-python3 setup.py build_sphinx
-rm doc/build/html/.buildinfo
-%endif
 
 %install
 %if ! %{with test}
@@ -123,14 +99,12 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
-#Check here because in main package creates 

commit python-pytest for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-06-18 14:49:11

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


Package is "python-pytest"

Tue Jun 18 14:49:11 2019 rev:46 rq:709052 version:3.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-02-26 22:16:34.970187231 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.4811/python-pytest.changes
2019-06-18 14:49:13.585687553 +0200
@@ -1,0 +2,13 @@
+Tue Jun 11 07:02:25 UTC 2019 - Tomáš Chvátal 
+
+- Add missing quotes to the test call
+
+---
+Fri Jun  7 11:42:16 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to fix build with new sphinx:
+  * sphinx2.0.patch
+- Add patch to fix build with new pluggy that uses importlib-metadata:
+  * importlib-metadata.patch
+
+---

New:

  importlib-metadata.patch
  sphinx2.0.patch



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.CClb8M/_old  2019-06-18 14:49:15.277687151 +0200
+++ /var/tmp/diff_new_pack.CClb8M/_new  2019-06-18 14:49:15.309687143 +0200
@@ -19,15 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
-%if %{with test}
-Name:   python-pytest-%{flavor}
-%else
-Name:   python-pytest
-%endif
+Name:   python-pytest%{psuffix}
 Version:3.10.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
@@ -39,29 +37,35 @@
 Patch0: fix_test_raises_exception_looks_iterable.patch
 # PATCH-FIX-UPSTREAM taken from master
 Patch1: new-pluggy.patch
+# PATCH-FIX-UPSTREAM from master
+Patch2: sphinx2.0.patch
+# PATCH-FIX-UPSTREAM from master
+Patch3: importlib-metadata.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module hypothesis}
-BuildRequires:  %{python_module pytest = %{version}}
-BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  python-funcsigs
-BuildRequires:  python-mock
-BuildRequires:  python3-Sphinx
-BuildRequires:  python3-sphinxcontrib-trio
-%endif
 Requires:   python-atomicwrites >= 1.0
 Requires:   python-attrs >= 17.4.0
+Requires:   python-importlib-metadata >= 0.12
 Requires:   python-more-itertools >= 4.0.0
-Requires:   python-pluggy >= 0.7
+Requires:   python-packaging
+Requires:   python-pluggy >= 0.12
 Requires:   python-py >= 1.5.0
 Requires:   python-setuptools
 Requires:   python-six >= 1.10.0
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch
+%if %{with test}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module pytest = %{version}}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  python-funcsigs
+BuildRequires:  python-mock
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinxcontrib-trio
+%endif
 %ifpython2
 Requires:   python-funcsigs
 %endif
@@ -122,7 +126,9 @@
 #Check here because in main package creates a buildcycle
 %check
 %if %{with test}
-%{python_expand py.test-%{$python_bin_suffix}}
+# test_installed_plugin_rewrite - changed with new pluggy in the behaviour
+#   but override works fine, just the tests would need way more adjustments
+%pytest -k 'not test_installed_plugin_rewrite'
 %endif
 
 %post

++ importlib-metadata.patch ++
>From 13f02af97d676bdf7143aa1834c8898fbf753d87 Mon Sep 17 00:00:00 2001
From: Anthony Sottile 
Date: Sat, 6 Apr 2019 17:32:47 -0700
Subject: [PATCH] Switch to importlib-metadata

---
 changelog/5063.feature.rst   |   1 +
 setup.py |   5 +-
 src/_pytest/assertion/rewrite.py |  19 -
 src/_pytest/config/__init__.py   |  21 ++
 src/_pytest/outcomes.py  |  12 +--
 testing/acceptance_test.py   |  31 +++-
 testing/test_assertion.py|  56 +-
 testing/test_config.py   | 121 ---
 testing/test_entry_points.py |  14 +---
 9 files changed, 95 insertions(+), 185 deletions(-)
 create mode 100644 changelog/5063.feature.rst

Index: pytest-3.10.1/setup.py
===
--- pytest-3.10.1.orig/setup.py
+++ 

commit python-pytest for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-02-26 22:16:26

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


Package is "python-pytest"

Tue Feb 26 22:16:26 2019 rev:45 rq:679255 version:3.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2019-01-15 13:13:16.932503204 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.28833/python-pytest.changes   
2019-02-26 22:16:34.970187231 +0100
@@ -1,0 +2,6 @@
+Tue Feb 26 13:05:11 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to build with new pluggy:
+  * new-pluggy.patch
+
+---

New:

  new-pluggy.patch



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.wxt5qr/_old  2019-02-26 22:16:35.506187048 +0100
+++ /var/tmp/diff_new_pack.wxt5qr/_new  2019-02-26 22:16:35.510187047 +0100
@@ -37,6 +37,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM fix_test_raises_exception_looks_iterable.patch 
gh#pytest-dev/pytest#4525 mc...@suse.com
 Patch0: fix_test_raises_exception_looks_iterable.patch
+# PATCH-FIX-UPSTREAM taken from master
+Patch1: new-pluggy.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes

++ new-pluggy.patch ++
>From a68f4fd2b9e99c82476d0e04ebcf561aeddbcb2e Mon Sep 17 00:00:00 2001
From: Bruno Oliveira 
Date: Fri, 22 Feb 2019 18:49:56 -0300
Subject: [PATCH] Fix test failures after pluggy 1.8 release

pluggy now calls iter_entry_points with different arguments, and tests
which mocked that call need to be updated accordingly.
---
 testing/test_assertion.py |  2 +-
 testing/test_config.py| 14 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

Index: pytest-3.10.1/testing/test_assertion.py
===
--- pytest-3.10.1.orig/testing/test_assertion.py
+++ pytest-3.10.1/testing/test_assertion.py
@@ -208,7 +208,7 @@ class TestImportHookInstallation(object)
 import spamplugin
 return spamplugin
 
-def iter_entry_points(name):
+def iter_entry_points(group, name=None):
 yield DummyEntryPoint()
 
 pkg_resources.iter_entry_points = iter_entry_points
Index: pytest-3.10.1/testing/test_config.py
===
--- pytest-3.10.1.orig/testing/test_config.py
+++ pytest-3.10.1/testing/test_config.py
@@ -511,8 +511,8 @@ def test_options_on_small_file_do_not_bl
 def test_preparse_ordering_with_setuptools(testdir, monkeypatch):
 pkg_resources = pytest.importorskip("pkg_resources")
 
-def my_iter(name):
-assert name == "pytest11"
+def my_iter(group, name=None):
+assert group == "pytest11"
 
 class Dist(object):
 project_name = "spam"
@@ -548,8 +548,8 @@ def test_preparse_ordering_with_setuptoo
 def test_setuptools_importerror_issue1479(testdir, monkeypatch):
 pkg_resources = pytest.importorskip("pkg_resources")
 
-def my_iter(name):
-assert name == "pytest11"
+def my_iter(group, name=None):
+assert group == "pytest11"
 
 class Dist(object):
 project_name = "spam"
@@ -578,8 +578,8 @@ def test_plugin_preparse_prevents_setupt
 
 plugin_module_placeholder = object()
 
-def my_iter(name):
-assert name == "pytest11"
+def my_iter(group, name=None):
+assert group == "pytest11"
 
 class Dist(object):
 project_name = "spam"
@@ -616,7 +616,7 @@ def test_plugin_preparse_prevents_setupt
 def test_disable_plugin_autoload(testdir, monkeypatch, parse_args, 
should_load):
 pkg_resources = pytest.importorskip("pkg_resources")
 
-def my_iter(name):
+def my_iter(group, name=None):
 raise AssertionError("Should not be called")
 
 class PseudoPlugin(object):



commit python-pytest for openSUSE:Factory

2019-01-15 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2019-01-15 13:13:15

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


Package is "python-pytest"

Tue Jan 15 13:13:15 2019 rev:44 rq:663296 version:3.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-11-26 10:16:11.822021401 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.28833/python-pytest.changes   
2019-01-15 13:13:16.932503204 +0100
@@ -1,0 +2,7 @@
+Fri Jan  4 22:08:17 CET 2019 - mc...@suse.com
+
+- Switch the package to multibuild.
+- Add fix_test_raises_exception_looks_iterable.patch from
+  gh#pytest-dev/pytest#4525
+
+---

Old:

  python-pytest-doc.changes
  python-pytest-doc.spec

New:

  _multibuild
  fix_test_raises_exception_looks_iterable.patch



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.hKnJAu/_old  2019-01-15 13:13:17.876502468 +0100
+++ /var/tmp/diff_new_pack.hKnJAu/_new  2019-01-15 13:13:17.880502464 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest
 #
-# 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
@@ -17,7 +17,17 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%bcond_without test
+%else
+%bcond_with test
+%endif
+%if %{with test}
+Name:   python-pytest-%{flavor}
+%else
 Name:   python-pytest
+%endif
 Version:3.10.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
@@ -25,10 +35,21 @@
 Group:  Development/Languages/Python
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM fix_test_raises_exception_looks_iterable.patch 
gh#pytest-dev/pytest#4525 mc...@suse.com
+Patch0: fix_test_raises_exception_looks_iterable.patch
 BuildRequires:  %{python_module setuptools >= 40.0}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module pytest = %{version}}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  python-funcsigs
+BuildRequires:  python-mock
+BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinxcontrib-trio
+%endif
 Requires:   python-atomicwrites >= 1.0
 Requires:   python-attrs >= 17.4.0
 Requires:   python-more-itertools >= 4.0.0
@@ -60,13 +81,28 @@
   PyPy-1.9 and Jython-2.5.1, and
 * many external plugins.
 
+%package -n python-pytest-doc
+Summary:Documentation for %{name}
+Group:  Development/Languages/Python
+Provides:   %{python_module python-pytest-doc = %{version}}
+
+%description -n python-pytest-doc
+pytest is a cross-project Python testing tool. This is a documentation
+for the package.
+
 %prep
 %setup -q -n pytest-%{version}
+%autopatch -p1
 
 %build
 %python_build
+%if %{with test}
+python3 setup.py build_sphinx
+rm doc/build/html/.buildinfo
+%endif
 
 %install
+%if ! %{with test}
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/py.test
 %python_clone -a %{buildroot}%{_bindir}/pytest
@@ -79,6 +115,13 @@
 fi
 
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+
+#Check here because in main package creates a buildcycle
+%check
+%if %{with test}
+%{python_expand py.test-%{$python_bin_suffix}}
+%endif
 
 %post
 %{python_install_alternative py.test} \
@@ -90,10 +133,19 @@
 %files %{python_files}
 %doc AUTHORS CHANGELOG.rst README.rst
 %license LICENSE
+%if ! %{with test}
 %python_alternative %{_bindir}/py.test
 %python_alternative %{_bindir}/pytest
 %python2_only %{_bindir}/py.test2
 %python3_only %{_bindir}/py.test3
 %{python_sitelib}/*
+%endif
+
+%if %{with test}
+%files -n python-pytest-doc
+%doc CHANGELOG.rst
+%doc doc/build/html
+%license LICENSE
+%endif
 
 %changelog

++ _multibuild ++

  test

++ fix_test_raises_exception_looks_iterable.patch ++
>From 5ecbb02ace74d0bcb49226c59060f04df9dc2b31 Mon Sep 17 00:00:00 2001
From: Daniel Hahler 
Date: Mon, 10 Dec 2018 06:26:23 +0100
Subject: [PATCH] tests: fix test_raises_exception_looks_iterable

Started to fail on py37-xdist between

commit python-pytest for openSUSE:Factory

2018-11-26 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-11-26 10:16:07

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


Package is "python-pytest"

Mon Nov 26 10:16:07 2018 rev:43 rq:648996 version:3.10.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-11-12 09:49:16.316478444 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.19453/python-pytest.changes   
2018-11-26 10:16:11.822021401 +0100
@@ -1,0 +2,14 @@
+Wed Nov 14 14:00:29 UTC 2018 - Ondřej Súkup 
+
+- update to 3.10.1
+ * Fix nested usage of debugging plugin (pdb)
+ * Block the stepwise plugin if cacheprovider is also blocked, as one
+depends on the other.
+ * Parse minversion as an actual version and not as dot-separated strings.
+ * Fix duplicate collection due to multiple args matching the same packages.
+ * Fix item.nodeid with resolved symlinks.
+ * Fix collection of direct symlinked files, where the target does not match
+python_files.
+ *  Fix TypeError in report_collect with _collect_report_last_write.
+
+---

Old:

  pytest-3.10.0.tar.gz

New:

  pytest-3.10.1.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.ivBWrb/_old  2018-11-26 10:16:12.754020310 +0100
+++ /var/tmp/diff_new_pack.ivBWrb/_new  2018-11-26 10:16:12.758020305 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.10.0
+Version:3.10.1
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT

python-pytest.spec: same change
++ pytest-3.10.0.tar.gz -> pytest-3.10.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.10.0/.travis.yml 
new/pytest-3.10.1/.travis.yml
--- old/pytest-3.10.0/.travis.yml   2018-11-04 16:22:56.0 +0100
+++ new/pytest-3.10.1/.travis.yml   2018-11-11 18:33:50.0 +0100
@@ -47,11 +47,6 @@
   env: TOXENV=py37
   before_install:
 - brew update
-# remove c++ include files because upgrading python as of 2018-10-23, 
also
-# attempts to upgrade gcc, and it fails because the include files 
already
-# exist. removing the include files is one of the solutions 
recommended by brew
-# this workaround might not be necessary in the future
-- rm '/usr/local/include/c++'
 - brew upgrade python
 - brew unlink python
 - brew link python
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.10.0/AUTHORS new/pytest-3.10.1/AUTHORS
--- old/pytest-3.10.0/AUTHORS   2018-11-04 16:22:56.0 +0100
+++ new/pytest-3.10.1/AUTHORS   2018-11-11 18:33:50.0 +0100
@@ -76,6 +76,7 @@
 Eric Hunsberger
 Eric Siegerman
 Erik M. Bray
+Fabien Zarifian
 Fabio Zadrozny
 Feng Ma
 Florian Bruhin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.10.0/CHANGELOG.rst 
new/pytest-3.10.1/CHANGELOG.rst
--- old/pytest-3.10.0/CHANGELOG.rst 2018-11-04 16:22:56.0 +0100
+++ new/pytest-3.10.1/CHANGELOG.rst 2018-11-11 18:33:50.0 +0100
@@ -18,6 +18,40 @@
 
 .. towncrier release notes start
 
+pytest 3.10.1 (2018-11-11)
+==
+
+Bug Fixes
+-
+
+- `#4287 `_: Fix nested 
usage of debugging plugin (pdb), e.g. with pytester's ``testdir.runpytest``.
+
+
+- `#4304 `_: Block the 
``stepwise`` plugin if ``cacheprovider`` is also blocked, as one depends on the 
other.
+
+
+- `#4306 `_: Parse 
``minversion`` as an actual version and not as dot-separated strings.
+
+
+- `#4310 `_: Fix duplicate 
collection due to multiple args matching the same packages.
+
+
+- `#4321 `_: Fix 
``item.nodeid`` with resolved symlinks.
+
+
+- `#4325 `_: Fix collection 
of direct symlinked files, where the target does not match ``python_files``.
+
+
+- `#4329 `_: Fix TypeError 
in report_collect with _collect_report_last_write.
+
+
+
+Trivial/Internal Changes
+
+
+- `#4305 `_: Replace 

commit python-pytest for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-11-12 09:49:12

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


Package is "python-pytest"

Mon Nov 12 09:49:12 2018 rev:42 rq:646342 version:3.10.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-09-26 14:54:02.139050632 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-11-12 09:49:15.236480071 +0100
@@ -1,0 +2,104 @@
+Mon Nov  5 08:13:05 UTC 2018 - Ondřej Súkup 
+
+- update to 3.10.0
+ * Resume capturing output after continue with __import__("pdb").set_trace().
+ * Add -sw, --stepwise as an alternative to --lf -x for stopping at the first
+failure, but starting the next test invocation from that test.
+ * Make --color emit colorful dots when not running in verbose mode.
+ * Improve performance with collection reporting in non-quiet mode with 
terminals.
+ * The "collecting …" message is only printed/updated every 0.5s.
+ * Fix false RemovedInPytest4Warning: usage of Session... is deprecated, 
+please use pytest warnings.
+ * Fix problems with running tests in package __init__.py files.
+ * Swallow warnings during anonymous compilation of source.
+ * Fix access denied error when deleting stale directories
+created by tmpdir / tmp_path.
+ * Naming a fixture request will now raise a warning: the request fixture
+is internal and should not be overwritten as it will lead to internal 
errors.
+ * Handle (ignore) exceptions raised during collection, e.g.
+with Django's LazySettings proxy class.
+ * Added missing documentation about the fact that module names passed
+to filter warnings are not regex-escaped.
+ * Display cachedir also in non-verbose mode if non-default.
+ * pdb: improve message about output capturing with set_trace.
+ * Do not display "IO-capturing turned off/on" when -s is used to avoid 
confusion.
+ * Improve message and stack level of warnings issued by monkeypatch.setenv
+when the value of the environment variable is not a str.
+ * Fix "ValueError: Plugin already registered" with conftest plugins via 
symlink.
+ * Handle race condition between creation and deletion of temporary folders.
+ * Fix bug where the warning summary at the end of the test session was
+not showing the test where the warning was originated.
+ * Fix regression when stacklevel for warnings was passed as positional
+argument on python2.
+ * Add reference to empty_parameter_set_mark ini option in documentation
+of @pytest.mark.parametrize
+ * Revert patching of sys.breakpointhook since it appears to do nothing.
+ * Apply an import sorter (reorder-python-imports) to the codebase.
+ * Remove use of unnecessary compat shim, six.binary_type
+
+---
+Fri Oct 26 10:59:13 UTC 2018 - Ondřej Súkup 
+
+- update to 3.9.2
+ * Improve error message when a recursive dependency between fixtures is 
detected.
+ * Fix logging messages not shown in hooks pytest_sessionstart() and 
pytest_sessionfinish().
+ * Fix unescaped XML raw objects in JUnit report for skipped tests
+ * Python 2: safely format warning message about passing unicode strings to
+warnings.warn, which may cause surprising MemoryError exception when monkey
+patching warnings.warn itself.
+ * Improve error message when it is not possible to determine a function’s 
signature.
+ * Pin setuptools>=40.0 to support py_modules in setup.cfg
+ * Restore the tmpdir behaviour of symlinking the current test run.
+ * Fix filename reported by warnings.warn when using recwarn under python2.
+ * For test-suites containing test classes, the information about the 
subclassed
+module is now output only if a higher verbosity level is specified (at 
least “-vv”).
+ * The following accesses have been documented as deprecated for years, but 
are now
+actually emitting deprecation warnings.
+ * Add a Deprecation warning for pytest.ensuretemp as it was deprecated since 
a while.
+ * Improve usage errors messages by hiding internal details which can
+be distracting and noisy.
+This has the side effect that some error conditions that previously raised
+generic errors (such as ValueError for unregistered marks) are now raising
+Failed exceptions.
+ * Log messages generated in the collection phase are shown when live-logging
+is enabled and/or when they are logged to a file.
+ * Introduce tmp_path as a fixture providing a Path object.
+ * Deprecation warnings are now shown even if you customize the warnings
+filters yourself. In the previous version any customization would override
+pytest’s filters and deprecation warnings would fall back to 

commit python-pytest for openSUSE:Factory

2018-09-26 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-09-26 14:53:57

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


Package is "python-pytest"

Wed Sep 26 14:53:57 2018 rev:41 rq:637656 version:3.8.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-09-10 12:36:13.830258286 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-09-26 14:54:02.139050632 +0200
@@ -1,0 +2,63 @@
+Mon Sep 24 10:43:29 UTC 2018 - Ondřej Súkup 
+
+- update to 3.8.1
+- drop remove_mock.patch
+ * .pytest_cache directory is now automatically ignored by Git
+ * Fix the following error during collection of tests inside packages:
+'TypeError: object of type 'Package' has no len()'
+ * Fix bug where indirect parametrization would consider the scope of all
+ fixtures used by the test function to determine the parametrization scope,
+ and not only the scope of the fixtures being parametrized.
+ * Fix crash of the assertion rewriter if a test changed the current working
+ directory without restoring it afterwards.
+ * Fix issue that prevented some caplog properties (for example record_tuples)
+ from being available when entering the debugger with --pdb.
+ * Fix UnicodeDecodeError in python2.x when a class returns a non-ascii binary
+ __repr__ in an assertion which also contains non-ascii text.
+
+---
+Mon Sep 17 09:39:03 UTC 2018 - Ondřej Súkup 
+
+- update to 3.8.0
+ * Config.warn has been deprecated, it should be replaced by calls
+to the standard warnings.warn.
+ * Node.warn now supports two signatures:
+ + node.warn(PytestWarning("some message")): is now the recommended way
+to call this function. The warning instance must be a PytestWarning
+or subclass instance.
+ + node.warn("CI", "some message"): this code/message form is now 
deprecated
+and should be converted to the warning instance form above.
+ * RemovedInPytest4Warning and PytestExperimentalApiWarning are now part
+ of the public API and should be accessed using 
pytest.RemovedInPytest4Warning
+ and pytest.PytestExperimentalApiWarning.
+ * @pytest.mark.filterwarnings second parameter is no longer regex-escaped,
+ making it possible to actually use regular expressions to check the 
warning message.
++ Note: regex-escaping the match string was an implementation oversight
+that might break test suites which depend on the old behavior.
+ * Internal pytest warnings are now issued using the standard warnings module,
+ making it possible to use the standard warnings filters to manage those
+ warnings. This introduces PytestWarning, PytestDeprecationWarning
+ and RemovedInPytest4Warning warning types as part of the public API.
+ * DeprecationWarning and PendingDeprecationWarning are now shown by default
+ if no other warning filter is configured. This makes pytest more compliant
+ with PEP-0506. See the docs for more info.
+ * Warnings are now captured and displayed during test collection.
+ * PYTEST_DISABLE_PLUGIN_AUTOLOAD environment variable disables
+plugin auto-loading when set.
+ * Added the count option to console_output_style to enable displaying
+the progress as a count instead of a percentage.
+ * Added support for ‘xfailed’ and ‘xpassed’ outcomes
+to the pytester.RunResult.assert_outcomes signature.
+
+---
+Mon Sep 10 22:43:26 CEST 2018 - Matěj Cepl 
+
+- Add remove_mock.patch which makes use of mock from PyPI
+  optional (all python 3 versions have unittest.mock these days)
+
+---
+Tue Sep  4 16:12:26 UTC 2018 - Matěj Cepl 
+
+- Clean up SPEC file.
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-09-10 12:36:14.398257445 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2018-09-26 14:54:02.431050184 +0200
@@ -1,0 +2,58 @@
+Mon Sep 24 10:43:29 UTC 2018 - Ondřej Súkup 
+
+- update to 3.8.1
+- drop remove_mock.patch
+ * .pytest_cache directory is now automatically ignored by Git
+ * Fix the following error during collection of tests inside packages:
+'TypeError: object of type 'Package' has no len()'
+ * Fix bug where indirect parametrization would consider the scope of all
+ fixtures used by the test function to determine the parametrization scope,
+ and not only the scope of the fixtures being parametrized.
+ * Fix crash of the assertion rewriter if a test changed the 

commit python-pytest for openSUSE:Factory

2018-09-10 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-09-10 12:36:11

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


Package is "python-pytest"

Mon Sep 10 12:36:11 2018 rev:40 rq:633516 version:3.7.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-08-08 14:45:50.872797072 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-09-10 12:36:13.830258286 +0200
@@ -1,0 +2,39 @@
+Tue Sep  4 12:55:25 UTC 2018 - Ondřej Súkup 
+
+- update to 3.7.4
+- drop 0001-Use-unittest.mock-if-is-only-aviable.patch
+ * Fix possible infinite recursion when writing .pyc files
+ * Cache plugin now obeys the -q flag when --last-failed and
+ --failed-first flags are used.
+ * Fix bad console output when using console_output_style=classic
+ * Fixtures during teardown can again use capsys and capfd to inspect
+ output captured during tests.
+ * Fix bugs where unicode arguments could not be passed to testdir.runpytest
+ on Python 2.
+ * Fix double collection of tests within packages when the filename starts
+ with a capital letter
+ * Fix collection error when specifying test functions directly in the command
+ line using test.py::test syntax together with --doctest-modules
+  * Fix stdout/stderr not getting captured when real-time cli logging is 
active.
+  * Fix bug where --show-capture=no option would still show logs printed during
+ fixture teardown.
+  * Fix issue where teardown of fixtures of consecutive sub-packages were
+ executed once, at the end of the outer package.
+
+---
+Wed Aug 22 14:42:56 UTC 2018 - mimi...@gmail.com
+
+- update to 3.7.2
+- add 0001-Use-unittest.mock-if-is-only-aviable.patch
+ * Fix filterwarnings not being registered as a builtin mark.
+ * Fix test collection from packages mixed with normal directories.
+ * Fix infinite recursion during collection if a pytest_ignore_collect
+hook returns False instead of None.
+ * Fix bug where decorated fixtures would lose functionality
+ * Fix bug where importing modules or other objects with prefix pytest_ prefix
+would raise a PluginValidationError.
+ * Fix AttributeError during teardown of TestCase subclasses which raise
+an exception during __init__.
+ * Fix traceback reporting for exceptions with __cause__ cycles.
+
+---
python-pytest.changes: same change

Old:

  pytest-3.7.1.tar.gz

New:

  pytest-3.7.4.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.u5QZT5/_old  2018-09-10 12:36:15.094256415 +0200
+++ /var/tmp/diff_new_pack.u5QZT5/_new  2018-09-10 12:36:15.094256415 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.7.1
+Version:3.7.4
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.u5QZT5/_old  2018-09-10 12:36:15.110256391 +0200
+++ /var/tmp/diff_new_pack.u5QZT5/_new  2018-09-10 12:36:15.114256385 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.7.1
+Version:3.7.4
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -33,7 +33,6 @@
 Requires:   python-more-itertools >= 4.0.0
 Requires:   python-pluggy >= 0.7
 Requires:   python-py >= 1.5.0
-#/usr/bin/py.test imports pkg_resources
 Requires:   python-setuptools
 Requires:   python-six >= 1.10.0
 Requires(post): update-alternatives

++ pytest-3.7.1.tar.gz -> pytest-3.7.4.tar.gz ++
 5996 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2018-08-08 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-08-08 14:45:49

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


Package is "python-pytest"

Wed Aug  8 14:45:49 2018 rev:39 rq:627904 version:3.7.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-07-17 09:38:17.966172763 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-08-08 14:45:50.872797072 +0200
@@ -1,0 +2,22 @@
+Tue Aug  7 14:49:42 UTC 2018 - mimi...@gmail.com
+
+- update to 3.7.1 
+
+---
+Thu Aug  2 12:57:23 UTC 2018 - mimi...@gmail.com
+
+-  update to 3.7.0
+ * pytest_namespace has been deprecated.
+ * Calling a fixture function directly, as opposed to request them in a test
+function, now issues a RemovedInPytest4Warning.
+ * New package fixture scope: fixtures are finalized when the last test of
+a package finishes. This feature is considered experimental, so use it 
sparingly.
+ * Node.add_marker now supports an append=True/False parameter to determine
+whether the mark comes last (default) or first.
+ * Fixture caplog now has a messages property, providing convenient access
+to the format-interpolated log messages without the extra data provided by 
the formatter/handler.
+ * New --trace option to enter the debugger at the start of a test.
+ * Introduce pytester.copy_example as helper to do acceptance tests
+   against examples from the project.
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-07-17 09:38:18.238171816 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2018-08-08 14:45:50.972797236 +0200
@@ -1,0 +2,32 @@
+Tue Aug  7 14:47:56 UTC 2018 - mimi...@gmail.com
+
+- update to 3.7.1
+ * Raise immediately if approx() is given an expected value of a type it
+ doesn’t understand (e.g. strings, nested dicts, etc.).
+ * Correctly represent the dimensions of an numpy array when calling repr() on 
approx().
+ * Fix incompatibility with third party plugins during collection, which
+ produced the error object has no attribute '_collectfile'.
+ * Display the absolute path if cache_dir is not relative to the rootdir 
instead of failing.
+ * Fix compatibility problem with plugins and the warning code issued
+ by fixture functions when they are called directly.
+ * Fix infinite recursion in pytest.approx with arrays in numpy<1.13.
+ * iFix TypeError when the assertion message is bytes in python 3.
+
+---
+Thu Aug  2 12:57:23 UTC 2018 - mimi...@gmail.com
+
+-  update to 3.7.0
+ * pytest_namespace has been deprecated.
+ * Calling a fixture function directly, as opposed to request them in a test
+function, now issues a RemovedInPytest4Warning.
+ * New package fixture scope: fixtures are finalized when the last test of
+a package finishes. This feature is considered experimental, so use it 
sparingly.
+ * Node.add_marker now supports an append=True/False parameter to determine
+whether the mark comes last (default) or first.
+ * Fixture caplog now has a messages property, providing convenient access
+to the format-interpolated log messages without the extra data provided by 
the formatter/handler.
+ * New --trace option to enter the debugger at the start of a test.
+ * Introduce pytester.copy_example as helper to do acceptance tests
+   against examples from the project.
+
+---

Old:

  pytest-3.6.3.tar.gz

New:

  pytest-3.7.1.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.tH9O67/_old  2018-08-08 14:45:51.544798168 +0200
+++ /var/tmp/diff_new_pack.tH9O67/_new  2018-08-08 14:45:51.552798181 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.6.3
+Version:3.7.1
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.tH9O67/_old  2018-08-08 14:45:51.596798252 +0200
+++ /var/tmp/diff_new_pack.tH9O67/_new  2018-08-08 14:45:51.600798259 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.6.3
+Version:3.7.1
 Release:0
 Summary:Python testing 

commit python-pytest for openSUSE:Factory

2018-07-17 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-07-17 09:38:13

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


Package is "python-pytest"

Tue Jul 17 09:38:13 2018 rev:38 rq:622959 version:3.6.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-06-25 11:35:47.540116351 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-07-17 09:38:17.966172763 +0200
@@ -1,0 +2,13 @@
+Mon Jul 16 00:17:40 UTC 2018 - mimi...@gmail.com
+
+- update to pytest-3.6.3
+- drop python_mock.patch
+ * Fix ImportWarning triggered by explicit relative imports in 
assertion-rewritten
+package modules.
+ * Fix error in pytest.approx when dealing with 0-dimension numpy arrays.
+ * No longer raise ValueError when using the get_marker API.
+ * Fix problem where log messages with non-ascii characters would not appear
+in the output log file.
+ * No longer raise AttributeError when legacy marks can't be stored in 
functions.
+
+---
python-pytest.changes: same change

Old:

  pytest-3.6.2.tar.gz
  python_mock.patch

New:

  pytest-3.6.3.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.M7ZTvp/_old  2018-07-17 09:38:18.670170312 +0200
+++ /var/tmp/diff_new_pack.M7ZTvp/_new  2018-07-17 09:38:18.674170297 +0200
@@ -18,14 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.6.2
+Version:3.6.3
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT
 Group:  Documentation/HTML
 URL:https://github.com/pytest-dev/pytest
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-Patch:  python_mock.patch
 BuildRequires:  %{python_module hypothesis}
 BuildRequires:  %{python_module pytest = %{version}}
 BuildRequires:  %{python_module setuptools_scm}
@@ -45,7 +44,6 @@
 
 %prep
 %setup -q -n pytest-%{version}
-%patch -p1
 
 %build
 python3 setup.py build_sphinx

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.M7ZTvp/_old  2018-07-17 09:38:18.686170256 +0200
+++ /var/tmp/diff_new_pack.M7ZTvp/_new  2018-07-17 09:38:18.686170256 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.6.2
+Version:3.6.3
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT

++ pytest-3.6.2.tar.gz -> pytest-3.6.3.tar.gz ++
 5207 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2018-06-25 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-06-25 11:35:39

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


Package is "python-pytest"

Mon Jun 25 11:35:39 2018 rev:37 rq:618559 version:3.6.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-05-06 14:55:15.358704332 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-06-25 11:35:47.540116351 +0200
@@ -1,0 +2,70 @@
+Fri Jun 22 15:47:28 UTC 2018 - mimi...@gmail.com
+
+-  update to 3.6.2
+- add python-mock to buildrequires
+- fix test command
+- add python_mock.patch to use stdlib mock library on py3
+
+---
+Thu May 31 04:42:41 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 3.6.0
+  + Features
+* Revamp the internals of the ``pytest.mark`` implementation with correct 
per
+  node handling which fixes a number of long standing bugs caused by the 
old
+  design. This introduces new ``Node.iter_markers(name)`` and
+  ``Node.get_closest_mark(name)`` APIs. Users are **strongly encouraged** 
to
+  read the `reasons for the revamp in the docs
+  
`_,
+  or jump over to details about `updating existing code to use the new APIs
+  `_. (`#3317
+  `_)
+* Now when ``@pytest.fixture`` is applied more than once to the same 
function a
+  ``ValueError`` is raised. This buggy behavior would cause surprising 
problems
+  and if was working for a test suite it was mostly by accident. (`#2334
+  `_)
+* Support for Python 3.7's builtin ``breakpoint()`` method, see `Using the
+  builtin breakpoint function
+  `_ for
+  details. (`#3180 `_)
+* ``monkeypatch`` now supports a ``context()`` function which acts as a 
context
+  manager which undoes all patching done within the ``with`` block. (`#3290
+  `_)
+* The ``--pdb`` option now causes KeyboardInterrupt to enter the debugger,
+  instead of stopping the test session. On python 2.7, hitting CTRL+C again
+  exits the debugger. On python 3.2 and higher, use CTRL+D. (`#3299
+  `_)
+* pytest not longer changes the log level of the root logger when the
+  ``log-level`` parameter has greater numeric value than that of the level 
of
+  the root logger, which makes it play better with custom logging 
configuration
+  in user code. (`#3307 
`_)
+  + Bug Fixes
+* A rare race-condition which might result in corrupted ``.pyc`` files on
+  Windows has been hopefully solved. (`#3008
+  `_)
+* Also use iter_marker for discovering the marks applying for marker
+  expressions from the cli to avoid the bad data from the legacy mark 
storage.
+  (`#3441 `_)
+* When showing diffs of failed assertions where the contents contain only
+  whitespace, escape them using ``repr()`` first to make it easy to spot 
the
+  differences. (`#3443 
`_)
+  + Improved Documentation
+* Change documentation copyright year to a range which auto-updates itself 
each
+  time it is published. (`#3303
+  `_)
+  + Trivial/Internal Changes
+* ``pytest`` now depends on the `python-atomicwrites
+  `_ library. (`#3008
+  `_)
+* Update all pypi.python.org URLs to pypi.org. (`#3431
+  `_)
+* Detect `pytest_` prefixed hooks using the internal plugin manager since
+  ``pluggy`` is deprecating the ``implprefix`` argument to 
``PluginManager``.
+  (`#3487 `_)
+* Import ``Mapping`` and ``Sequence`` from ``_pytest.compat`` instead of
+  directly from ``collections`` in ``python_api.py::approx``. Add 
``Mapping``
+  to ``_pytest.compat``, import it from ``collections`` on python 2, but 
from
+  ``collections.abc`` on Python 3 to avoid a ``DeprecationWarning`` on 

commit python-pytest for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-05-06 14:55:08

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


Package is "python-pytest"

Sun May  6 14:55:08 2018 rev:36 rq:602321 version:3.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-04-02 22:48:51.862636453 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-05-06 14:55:15.358704332 +0200
@@ -1,0 +2,32 @@
+Sat Apr 28 19:38:40 UTC 2018 - a...@gmx.de
+
+- update to version 3.5.1:
+  * Bug Fixes
++ Reset sys.last_type, sys.last_value and sys.last_traceback
+  before each test executes. Those attributes are added by pytest
+  during the test run to aid debugging, but were never reset so
+  they would create a leaking reference to the last failing test’s
+  frame which in turn could never be reclaimed by the garbage
+  collector. (#2798)
++ pytest.raises now raises TypeError when receiving an unknown
+  keyword argument. (#3348)
++ pytest.raises now works with exception classes that look like
+  iterables. (#3372)
+  * Improved Documentation
++ Fix typo in caplog fixture documentation, which incorrectly
+  identified certain attributes as methods. (#3406)
+  * Trivial/Internal Changes
++ Added a more indicative error message when parametrizing a
+  function whose argument takes a default value. (#3221)
++ Remove internal _pytest.terminal.flatten function in favor of
+  more_itertools.collapse. (#3330)
++ Import some modules from collections.abc instead of collections
+  as the former modules trigger DeprecationWarning in Python
+  3.7. (#3339)
++ record_property is no longer experimental, removing the warnings
+  was forgotten. (#3360)
++ Mention in documentation and CLI help that fixtures with leading
+  _ are printed by pytest --fixtures only if the -v option is
+  added. (#3398)
+
+---
python-pytest.changes: same change

Old:

  pytest-3.5.0.tar.gz

New:

  pytest-3.5.1.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.thnyIc/_old  2018-05-06 14:55:16.042679239 +0200
+++ /var/tmp/diff_new_pack.thnyIc/_new  2018-05-06 14:55:16.046679091 +0200
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.5.0
+Version:3.5.1
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT
 Group:  Documentation/HTML
-Url:http://pytest.org
+URL:http://pytest.org
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module attrs}
 BuildRequires:  %{python_module hypothesis}
@@ -34,11 +34,11 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx
 BuildRequires:  python3-sphinxcontrib-trio
+Provides:   %{python_module pytest-doc = %{version}}
+BuildArch:  noarch
 %ifpython2
 BuildRequires:  python-funcsigs
 %endif
-Provides:   %{python_module pytest-doc = %{version}}
-BuildArch:  noarch
 
 %description
 This package contains the documentation to pytest, a cross-project Python

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.thnyIc/_old  2018-05-06 14:55:16.070678211 +0200
+++ /var/tmp/diff_new_pack.thnyIc/_new  2018-05-06 14:55:16.070678211 +0200
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.5.0
+Version:3.5.1
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
 Group:  Development/Languages/Python
-Url:http://pytest.org
+URL:http://pytest.org
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
@@ -32,9 +32,9 @@
 Requires:   python-more-itertools >= 4.0.0
 Requires:   python-pluggy >= 0.5
 Requires:   python-py >= 1.5.0
-Requires:   python-six >= 1.10.0
 #/usr/bin/py.test imports pkg_resources
 Requires:   python-setuptools
+Requires:   python-six >= 1.10.0
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch

++ pytest-3.5.0.tar.gz -> pytest-3.5.1.tar.gz ++
diff -urN '--exclude=CVS' 

commit python-pytest for openSUSE:Factory

2018-04-02 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-04-02 22:48:47

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


Package is "python-pytest"

Mon Apr  2 22:48:47 2018 rev:35 rq:593001 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-03-12 12:02:31.807220058 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-04-02 22:48:51.862636453 +0200
@@ -1,0 +2,12 @@
+Mon Apr  2 14:07:27 UTC 2018 - mimi...@gmail.com
+
+- add python3-sphinxcontrib-trio to BuildRequires 
+
+---
+Thu Mar 29 13:22:39 UTC 2018 - mimi...@gmail.com
+
+- update to 3.5.0
+- new install dependency python-more-itertools
+- more changes in CHANGELOG.rst
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-03-12 12:02:33.079174476 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2018-04-02 22:48:52.702605914 +0200
@@ -1,0 +2,7 @@
+Thu Mar 29 13:22:39 UTC 2018 - mimi...@gmail.com
+
+- update to 3.5.0
+- new install dependency python-more-itertools
+- more changes in CHANGELOG.rst
+
+---

Old:

  pytest-3.4.2.tar.gz

New:

  pytest-3.5.0.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.YXemmd/_old  2018-04-02 22:48:54.118554432 +0200
+++ /var/tmp/diff_new_pack.YXemmd/_new  2018-04-02 22:48:54.118554432 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.4.2
+Version:3.5.0
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT
@@ -27,11 +27,13 @@
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRequires:  %{python_module attrs}
 BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module more-itertools}
 BuildRequires:  %{python_module pluggy}
 BuildRequires:  %{python_module py}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-Sphinx
+BuildRequires:  python3-sphinxcontrib-trio
 %ifpython2
 BuildRequires:  python-funcsigs
 %endif

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.YXemmd/_old  2018-04-02 22:48:54.142553560 +0200
+++ /var/tmp/diff_new_pack.YXemmd/_new  2018-04-02 22:48:54.142553560 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.4.2
+Version:3.5.0
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -28,7 +28,8 @@
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-attrs >= 17.2.0
+Requires:   python-attrs >= 17.4.0
+Requires:   python-more-itertools >= 4.0.0
 Requires:   python-pluggy >= 0.5
 Requires:   python-py >= 1.5.0
 Requires:   python-six >= 1.10.0

++ pytest-3.4.2.tar.gz -> pytest-3.5.0.tar.gz ++
 8472 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2018-03-12 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-03-12 12:01:55

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


Package is "python-pytest"

Mon Mar 12 12:01:55 2018 rev:34 rq:584625 version:3.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-02-24 16:37:25.089684818 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-03-12 12:02:31.807220058 +0100
@@ -1,0 +2,6 @@
+Fri Mar  9 08:38:59 UTC 2018 - mimi...@gmail.com
+
+- update to 3.4.2
+- more in python-pytest.changes
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-03-06 10:43:56.123551326 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2018-03-12 12:02:33.079174476 +0100
@@ -1,0 +2,11 @@
+Fri Mar  9 08:37:51 UTC 2018 - mimi...@gmail.com
+
+- update to 3.4.2
+* Removed progress information when capture option is no.
+* Refactor check of bindir from exists to isdir.
+* Fix TypeError issue when using approx with a Decimal value. 
+* Fix reference cycle generated when using the request fixture. 
+* [tool:pytest] sections in *.cfg files passed by the
+   -c option are now properly recognized. 
+
+---

Old:

  pytest-3.4.1.tar.gz

New:

  pytest-3.4.2.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.yVwVMZ/_old  2018-03-12 12:02:34.087138354 +0100
+++ /var/tmp/diff_new_pack.yVwVMZ/_new  2018-03-12 12:02:34.091138210 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.4.1
+Version:3.4.2
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT
@@ -57,7 +57,8 @@
 %python_exec setup.py test
 
 %files
-%doc CHANGELOG.rst LICENSE
+%doc CHANGELOG.rst 
 %doc doc/build/html
+%license LICENSE
 
 %changelog

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.yVwVMZ/_old  2018-03-12 12:02:34.127136921 +0100
+++ /var/tmp/diff_new_pack.yVwVMZ/_new  2018-03-12 12:02:34.135136634 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.4.1
+Version:3.4.2
 Release:0
 Summary:Python testing tool with autodiscovery and detailed asserts
 License:MIT
@@ -83,7 +83,8 @@
 %python_uninstall_alternative py.test
 
 %files %{python_files}
-%doc AUTHORS CHANGELOG.rst LICENSE README.rst
+%doc AUTHORS CHANGELOG.rst README.rst
+%license LICENSE
 %python_alternative %{_bindir}/py.test
 %python_alternative %{_bindir}/pytest
 %python2_only %{_bindir}/py.test2

++ pytest-3.4.1.tar.gz -> pytest-3.4.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.4.1/AUTHORS new/pytest-3.4.2/AUTHORS
--- old/pytest-3.4.1/AUTHORS2018-02-20 22:04:39.0 +0100
+++ new/pytest-3.4.2/AUTHORS2018-03-05 23:35:06.0 +0100
@@ -197,3 +197,4 @@
 Xuecong Liao
 Zoltán Máté
 Roland Puntaier
+Allan Feldman
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.4.1/CHANGELOG.rst 
new/pytest-3.4.2/CHANGELOG.rst
--- old/pytest-3.4.1/CHANGELOG.rst  2018-02-20 22:04:39.0 +0100
+++ new/pytest-3.4.2/CHANGELOG.rst  2018-03-05 23:35:06.0 +0100
@@ -8,6 +8,43 @@
 
 .. towncrier release notes start
 
+Pytest 3.4.2 (2018-03-04)
+=
+
+Bug Fixes
+-
+
+- Removed progress information when capture option is ``no``. (`#3203
+  `_)
+
+- Refactor check of bindir from ``exists`` to ``isdir``. (`#3241
+  `_)
+
+- Fix ``TypeError`` issue when using ``approx`` with a ``Decimal`` value.
+  (`#3247 `_)
+
+- Fix reference cycle generated when using the ``request`` fixture. (`#3249
+  `_)
+
+- ``[tool:pytest]`` sections in ``*.cfg`` files passed by the ``-c`` option are
+  now properly recognized. (`#3260
+  `_)
+
+
+Improved Documentation
+--
+
+- Add logging plugin to plugins list. (`#3209
+  `_)
+
+
+Trivial/Internal Changes

commit python-pytest for openSUSE:Factory

2018-03-06 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-03-06 10:43:54

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


Package is "python-pytest"

Tue Mar  6 10:43:54 2018 rev:33 rq:581941 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2018-02-24 16:37:25.233679636 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2018-03-06 10:43:56.123551326 +0100
@@ -1,0 +2,5 @@
+Fri Mar  2 09:07:52 UTC 2018 - ch...@computersalat.de
+
+- fix dependencies for attrs, pluggy, py, six
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.YREMck/_old  2018-03-06 10:43:57.419504503 +0100
+++ /var/tmp/diff_new_pack.YREMck/_new  2018-03-06 10:43:57.423504359 +0100
@@ -28,10 +28,10 @@
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:   python-attrs
-Requires:   python-pluggy
-Requires:   python-py >= 1.4.33
-Requires:   python-six
+Requires:   python-attrs >= 17.2.0
+Requires:   python-pluggy >= 0.5
+Requires:   python-py >= 1.5.0
+Requires:   python-six >= 1.10.0
 #/usr/bin/py.test imports pkg_resources
 Requires:   python-setuptools
 Requires(post): update-alternatives




commit python-pytest for openSUSE:Factory

2018-02-24 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-02-24 16:37:21

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


Package is "python-pytest"

Sat Feb 24 16:37:21 2018 rev:32 rq:579198 version:3.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-02-15 13:20:46.238295551 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-02-24 16:37:25.089684818 +0100
@@ -1,0 +2,23 @@
+Thu Feb 22 20:37:25 UTC 2018 - mimi...@gmail.com
+
+- update to 3.4.1
+* Move import of doctest.UnexpectedException to top-level to avoid possible
+  errors when using --pdb.
+* Added printing of captured stdout/stderr before entering pdb, and improved a
+  test which was giving false negatives about output capturing.
+* Fix ordering of tests using parametrized fixtures which can lead to fixtures
+  being created more than necessary.
+* Fix bug where logging happening at hooks outside of "test run" hooks would
+  cause an internal error.
+* Detect arguments injected by unittest.mock.patch decorator correctly when
+  pypi mock.patch is installed and imported.
+* Errors shown when a pytest.raises() with match= fails are now cleaner
+  on what happened: When no exception was raised, the "matching '...'" part got
+  removed as it falsely implies that an exception was raised but it didn't
+  match. When a wrong exception was raised, it's now thrown 
+  instead of complaining about the unmatched text.
+* Add Sphinx parameter docs for match and message args to pytest.raises
+* Rename ParameterSet._for_parameterize() to _for_parametrize() in
+order to comply with the naming convention.
+
+---
python-pytest.changes: same change

Old:

  pytest-3.4.0.tar.gz

New:

  pytest-3.4.1.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.bN2IwB/_old  2018-02-24 16:37:26.193645086 +0100
+++ /var/tmp/diff_new_pack.bN2IwB/_new  2018-02-24 16:37:26.197644942 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.4.0
+Version:3.4.1
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT

python-pytest.spec: same change
++ pytest-3.4.0.tar.gz -> pytest-3.4.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-3.4.0/.github/PULL_REQUEST_TEMPLATE.md 
new/pytest-3.4.1/.github/PULL_REQUEST_TEMPLATE.md
--- old/pytest-3.4.0/.github/PULL_REQUEST_TEMPLATE.md   2018-01-30 
20:51:47.0 +0100
+++ new/pytest-3.4.1/.github/PULL_REQUEST_TEMPLATE.md   2018-02-20 
22:04:39.0 +0100
@@ -1,15 +1,14 @@
 Thanks for submitting a PR, your contribution is really appreciated!
 
-Here's a quick checklist that should be present in PRs:
+Here's a quick checklist that should be present in PRs (you can delete this 
text from the final description, this is
+just a guideline):
 
-- [ ] Add a new news fragment into the changelog folder
-  * name it `$issue_id.$type` for example (588.bugfix)
-  * if you don't have an issue_id change it to the pr id after creating the pr
-  * ensure type is one of `removal`, `feature`, `bugfix`, `vendor`, `doc` or 
`trivial`
-  * Make sure to use full sentences with correct case and punctuation, for 
example: "Fix issue with non-ascii contents in doctest text files."
-- [ ] Target: for `bugfix`, `vendor`, `doc` or `trivial` fixes, target 
`master`; for removals or features target `features`;
-- [ ] Make sure to include reasonable tests for your change if necessary
+- [ ] Create a new changelog file in the `changelog` folder, with a name like 
`..rst`. See [changelog/README.rst](/changelog/README.rst) 
for details.
+- [ ] Target the `master` branch for bug fixes, documentation updates and 
trivial changes.
+- [ ] Target the `features` branch for new features and removals/deprecations.
+- [ ] Include documentation when adding new features.
+- [ ] Include new tests or update existing tests when applicable.
 
-Unless your change is a trivial or a documentation fix (e.g.,  a typo or 
reword of a small section) please:
+Unless your change is trivial or a small documentation fix (e.g.,  a typo or 
reword of a small section) please:
 
-- [ ] Add yourself to `AUTHORS`, in alphabetical order;
+- [ ] Add yourself to `AUTHORS` in alphabetical order;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit python-pytest for openSUSE:Factory

2018-02-15 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-02-15 13:20:39

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


Package is "python-pytest"

Thu Feb 15 13:20:39 2018 rev:31 rq:575840 version:3.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2018-01-16 09:25:05.194216482 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-02-15 13:20:46.238295551 +0100
@@ -1,0 +2,79 @@
+Sat Feb 10 17:59:11 UTC 2018 - a...@gmx.de
+
+- update to version 3.4.0:
+  * Deprecations and Removals
++ All pytest classes now subclass object for better Python 2/3
+  compatibility. This should not affect user code except in very
+  rare edge cases. (#2147)
+  * Features
++ Introduce empty_parameter_set_mark ini option to select which
+  mark to apply when @pytest.mark.parametrize is given an empty
+  set of parameters. Valid options are skip (default) and
+  xfail. Note that it is planned to change the default to xfail in
+  future releases as this is considered less error prone. (#2527)
++ Incompatible change: after community feedback the logging
+  functionality has undergone some changes. Please consult the
+  logging documentation for details. (#3013)
++ Console output falls back to “classic” mode when capturing is
+  disabled (-s), otherwise the output gets garbled to the point of
+  being useless. (#3038)
++ New pytest_runtest_logfinish hook which is called when a test
+  item has finished executing, analogous to
+  pytest_runtest_logstart. (#3101)
++ Improve performance when collecting tests using many
+  fixtures. (#3107)
++ New caplog.get_records(when) method which provides access to the
+  captured records for the "setup", "call" and "teardown" testing
+  stages. (#3117)
++ New fixture record_xml_attribute that allows modifying and
+  inserting attributes on the  xml node in JUnit
+  reports. (#3130)
++ The default cache directory has been renamed from .cache to
+  .pytest_cache after community feedback that the name .cache did
+  not make it clear that it was used by pytest. (#3138)
++ Colorize the levelname column in the live-log output. (#3142)
+  * Bug Fixes
++ Fix hanging pexpect test on MacOS by using flush() instead of
+  wait(). (#2022)
++ Fix restoring Python state after in-process pytest runs with the
+  pytester plugin; this may break tests using multiple inprocess
+  pytest runs if later ones depend on earlier ones leaking global
+  interpreter changes. (#3016)
++ Fix skipping plugin reporting hook when test aborted before
+  plugin setup hook. (#3074)
++ Fix progress percentage reported when tests fail during
+  teardown. (#3088)
++ Incompatible change: -o/--override option no longer eats all the
+  remaining options, which can lead to surprising behavior: for
+  example, pytest -o foo=1 /path/to/test.py would fail because
+  /path/to/test.py would be considered as part of the -o
+  command-line argument. One consequence of this is that now
+  multiple configuration overrides need multiple -o flags: pytest
+  -o foo=1 -o bar=2. (#3103)
+  * Improved Documentation
++ Document hooks (defined with historic=True) which cannot be used
+  with hookwrapper=True. (#2423)
++ Clarify that warning capturing doesn’t change the warning filter
+  by default. (#2457)
++ Clarify a possible confusion when using pytest_fixture_setup
+  with fixture functions that return None. (#2698)
++ Fix the wording of a sentence on doctest flags used in
+  pytest. (#3076)
++ Prefer https://*.readthedocs.io over http://*.rtfd.org for links
+  in the documentation. (#3092)
++ Improve readability (wording, grammar) of Getting Started guide
+  (#3131)
++ Added note that calling pytest.main multiple times from the same
+  process is not recommended because of import caching. (#3143)
+  * Trivial/Internal Changes
++ Show a simple and easy error when keyword expressions trigger a
+  syntax error (for example, "-k foo and import" will show an
+  error that you can not use the import keyword in
+  expressions). (#2953)
++ Change parametrized automatic test id generation to use the
+  __name__ attribute of functions instead of the fallback argument
+  name plus counter. (#2976)
++ Replace py.std with stdlib imports. (#3067)
++ Corrected ‘you’ to ‘your’ in logging docs. (#3129)
+
+---
python-pytest.changes: same change

Old:

  pytest-3.3.2.tar.gz


commit python-pytest for openSUSE:Factory

2018-01-16 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2018-01-16 09:25:01

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


Package is "python-pytest"

Tue Jan 16 09:25:01 2018 rev:30 rq:562163 version:3.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-12-15 14:01:43.475219763 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2018-01-16 09:25:05.194216482 +0100
@@ -1,0 +2,24 @@
+Sat Jan  6 05:25:16 UTC 2018 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+
+- update to version 3.3.2:
+  * Bug Fixes
++ pytester: ignore files used to obtain current user metadata in
+  the fd leak detector. (#2784)
++ Fix memory leak where objects returned by fixtures were never
+  destructed by the garbage collector. (#2981)
++ Fix conversion of pyargs to filename to not convert symlinks and
+  not use deprecated features on Python 3. (#2985)
++ PYTEST_DONT_REWRITE is now checked for plugins too rather than
+  only for test modules. (#2995)
+  * Improved Documentation
++ Add clarifying note about behavior of multiple parametrized
+  arguments (#3001)
+  * Trivial/Internal Changes
++ Code cleanup. (#3015, #3021)
++ Clean up code by replacing imports and references of _ast to
+  ast. (#3018)
+
+---
python-pytest.changes: same change

Old:

  pytest-3.3.1.tar.gz

New:

  pytest-3.3.2.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.rLHFYk/_old  2018-01-16 09:25:07.714098590 +0100
+++ /var/tmp/diff_new_pack.rLHFYk/_new  2018-01-16 09:25:07.714098590 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-doc
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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-doc
-Version:3.3.1
+Version:3.3.2
 Release:0
 Summary:Documentation for python-pytest, a testing tool with 
autodiscovery
 License:MIT

python-pytest.spec: same change
++ pytest-3.3.1.tar.gz -> pytest-3.3.2.tar.gz ++
 1960 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2017-12-15 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-12-15 14:01:40

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


Package is "python-pytest"

Fri Dec 15 14:01:40 2017 rev:29 rq:556675 version:3.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-11-19 11:06:06.542943454 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2017-12-15 14:01:43.475219763 +0100
@@ -1,0 +2,144 @@
+Wed Dec 13 09:25:43 UTC 2017 - jeng...@inai.de
+
+- Adjust summaries and description of python-pytest to focus on
+  the documentation part.
+
+---
+Wed Dec 13 09:12:40 UTC 2017 - ec...@opensuse.org
+
+- Rename BuildRequires python2-funcsigs to python-funcsigs
+
+---
+Tue Dec 12 16:45:15 UTC 2017 - mimi...@gmail.com
+
+- Cleanup BuildRequires 
+
+---
+Wed Dec  6 02:55:08 UTC 2017 - a...@gmx.de
+
+- update to version 3.3.1:
+  * Bug Fixes
++ Fix issue about -p no: having no effect. (#2920)
++ Fix regression with warnings that contained non-strings in their
+  arguments in Python 2. (#2956)
++ Always escape null bytes when setting
+  PYTEST_CURRENT_TEST. (#2957)
++ Fix ZeroDivisionError when using the testmon plugin when no
+  tests were actually collected. (#2971)
++ Bring back TerminalReporter.writer as an alias to
+  TerminalReporter._tw. This alias was removed by accident in the
+  3.3.0 release. (#2984)
++ The pytest-capturelog plugin is now also blacklisted, avoiding
+  errors when running pytest with it still installed. (#3004)
+  * Improved Documentation
++ Fix broken link to plugin pytest-localserver. (#2963)
+  * Trivial/Internal Changes
++ Update github “bugs” link in CONTRIBUTING.rst (#2949)
+
+---
+Tue Nov 28 18:58:11 UTC 2017 - a...@gmx.de
+
+- specfile:
+  * add requirement for attr and pluggy
+  * add requirement for funcsigs for python2 only
+
+- update to version 3.3.0:
+  * Deprecations and Removals
++ Pytest no longer supports Python 2.6 and 3.3. Those Python
+  versions are EOL for some time now and incur maintenance and
+  compatibility costs on the pytest core team, and following up
+  with the rest of the community we decided that they will no
+  longer be supported starting on this version. Users which still
+  require those versions should pin pytest to <3.3. (#2812)
++ Remove internal _preloadplugins() function. This removal is part
+  of the pytest_namespace() hook deprecation. (#2636)
++ Internally change CallSpec2 to have a list of marks instead of a
+  broken mapping of keywords. This removes the keywords attribute
+  of the internal CallSpec2 class. (#2672)
++ Remove ParameterSet.deprecated_arg_dict - its not a public api
+  and the lack of the underscore was a naming error. (#2675)
++ Remove the internal multi-typed attribute Node._evalskip and
+  replace it with the boolean Node._skipped_by_mark. (#2767)
+  * Features
++ pytest_fixture_post_finalizer hook can now receive a request
+  argument. (#2124)
++ Replace the old introspection code in compat.py that determines
+  the available arguments of fixtures with inspect.signature on
+  Python 3 and funcsigs.signature on Python 2. This should respect
+  __signature__ declarations on functions. (#2267)
++ Report tests with global pytestmark variable only once. (#2549)
++ Now pytest displays the total progress percentage while running
+  tests. The previous output style can be set by configuring the
+  console_output_style setting to classic. (#2657)
++ Match warns signature to raises by adding match keyword. (#2708)
++ Pytest now captures and displays output from the standard
+  logging module. The user can control the logging level to be
+  captured by specifying options in pytest.ini, the command line
+  and also during individual tests using markers. Also, a caplog
+  fixture is available that enables users to test the captured log
+  during specific tests (similar to capsys for example). For more
+  information, please see the logging docs. This feature was
+  introduced by merging the popular pytest-catchlog plugin, thanks
+  to Thomas Hisch. Be advised that during the merging the backward
+  compatibility interface with the defunct pytest-capturelog has
+  been dropped. (#2794)
++ Add allow_module_level kwarg to pytest.skip(), enabling 

commit python-pytest for openSUSE:Factory

2017-11-19 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-11-19 11:05:58

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


Package is "python-pytest"

Sun Nov 19 11:05:58 2017 rev:28 rq:542013 version:3.2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-11-02 10:24:11.772540542 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2017-11-19 11:06:06.542943454 +0100
@@ -1,0 +2,32 @@
+Wed Nov 15 12:18:45 UTC 2017 - mimi...@gmail.com
+
+- update to 3.2.5
+* don't limit py<1.5
+
+---
+Wed Nov 15 07:04:29 UTC 2017 - a...@gmx.de
+
+- update to version 3.2.4:
+  * Bug Fixes
++ Fix the bug where running with --pyargs will result in items
+  with empty parent.nodeid if run from a different root
+  directory. (#2775)
++ Fix issue with @pytest.parametrize if argnames was specified as
+  keyword arguments. (#2819)
++ Strip whitespace from marker names when reading them from INI
+  config. (#2856)
++ Show full context of doctest source in the pytest output, if the
+  line number of failed example in the docstring is < 9. (#2882)
+  * Improved Documentation
++ Introduce a dedicated section about conftest.py. (#1505)
++ Explicitly mention xpass in the documentation of xfail. (#1997)
++ Append example for pytest.param in the example/parametrize
+  document. (#2658)
++ Clarify language of proposal for fixtures parameters (#2893)
++ List python 3.6 in the documented supported versions in the
+  getting started document. (#2903)
++ Clarify the documentation of available fixture scopes. (#538)
++ Add documentation about the python -m pytest invocation adding
+  the current directory to sys.path. (#911)
+
+---
python-pytest.changes: same change

Old:

  pytest-3.2.3.tar.gz

New:

  pytest-3.2.5.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.H0A0CZ/_old  2017-11-19 11:06:07.266917055 +0100
+++ /var/tmp/diff_new_pack.H0A0CZ/_new  2017-11-19 11:06:07.270916909 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.2.3
+Version:3.2.5
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT

python-pytest.spec: same change
++ pytest-3.2.3.tar.gz -> pytest-3.2.5.tar.gz ++
 3780 lines of diff (skipped)




commit python-pytest for openSUSE:Factory

2017-11-02 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-11-02 10:24:10

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


Package is "python-pytest"

Thu Nov  2 10:24:10 2017 rev:27 rq:537603 version:3.2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-04-19 18:05:56.567285070 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2017-11-02 10:24:11.772540542 +0100
@@ -1,0 +2,269 @@
+Thu Oct  5 16:16:23 UTC 2017 - a...@gmx.de
+
+- update to version 3.2.3:
+  * Bug Fixes
++ Fix crash in tab completion when no prefix is given. (#2748)
++ The equality checking function (__eq__) of MarkDecorator returns
+  False if one object is not an instance of MarkDecorator. (#2758)
++ When running pytest --fixtures-per-test: don’t crash if an item
+  has no _fixtureinfo attribute (e.g. doctests) (#2788)
+  * Improved Documentation
++ In help text of -k option, add example of using not to not
+  select certain tests whose names match the provided
+  expression. (#1442)
++ Add note in parametrize.rst about calling metafunc.parametrize
+  multiple times. (#1548)
+  * Trivial/Internal Changes
++ Set xfail_strict=True in pytest’s own test suite to catch
+  expected failures as soon as they start to pass. (#2722)
++ Fix typo in example of passing a callable to markers (in
+  example/markers.rst) (#2765)
+
+---
+Thu Sep 28 21:25:37 UTC 2017 - sean.mar...@suse.com
+
+- Fix python-py version requirement.
+- Update to 3.2.2:
+  * Bug Fixes
+- Calling the deprecated request.getfuncargvalue() now shows the
+  source of the call. (#2681)
+- Allow tests declared as @staticmethod to use fixtures. (#2699)
+- Fixed edge-case during collection: attributes which raised
+  pytest.fail when accessed would abort the entire collection.
+  (#2707)
+- Fix ReprFuncArgs with mixed unicode and UTF-8 args. (#2731)
+  * Improved Documentation
+- In examples on working with custom markers, add examples
+  demonstrating the usage of pytest.mark.MARKER_NAME.with_args
+  in comparison with pytest.mark.MARKER_NAME.__call__ (#2604)
+- In one of the simple examples, use
+  pytest_collection_modifyitems() to skip tests based on a
+  command-line option, allowing its sharing while preventing a
+  user error when acessing pytest.config before the argument
+  parsing. (#2653)
+  * Trivial/Internal Changes
+- Fixed minor error in 'Good Practices/Manual Integration' code
+  snippet. (#2691)
+- Fixed typo in goodpractices.rst. (#2721)
+- Improve user guidance regarding --resultlog deprecation.
+  (#2739) 
+
+---
+Fri Aug 25 10:01:52 UTC 2017 - sebix+novell@sebix.at
+
+- update to 3.2.1, shortened changelogs:
+ * Pytest 3.2.1 (2017-08-08)
+  * Bug Fixes
+   - Fixed small terminal glitch when collecting a single test item. (#2579)
+   - Correctly consider / as the file separator to automatically mark plugin
+  files for rewrite on Windows. (#2591)
+   - Properly escape test names when setting PYTEST_CURRENT_TEST environment
+  variable. (#2644)
+   - Fix error on Windows and Python 3.6+ when sys.stdout has been replaced
+  with a stream-like object which does not implement the full io module
+  buffer protocol. In particular this affects pytest-xdist users on the
+  aforementioned platform. (#2666)
+  * Improved Documentation
+   - Explicitly document which pytest features work with unittest. (#2626)
+ * Pytest 3.2.0 (2017-07-30)
+  * Deprecations and Removals
+   - pytest.approx no longer supports >, >=, < and <=
+  operators to avoid surprising/inconsistent behavior. See the docs
+   for more
+  information. (#2003)
+   - All old-style specific behavior in current classes in the pytest's API is
+  considered deprecated at this point and will be removed in a future release.
+  This affects Python 2 users only and in rare situations. (#2147)
+   - A deprecation warning is now raised when using marks for parameters
+  in pytest.mark.parametrize. Use pytest.param to apply marks to
+  parameters instead. (#2427)
+  * Features
+   - Add support for numpy arrays (and dicts) to approx. (#1994)
+   - Now test function objects have a pytestmark attribute containing a list
+  of marks applied directly to the test function, as opposed to marks inherited
+  from parent classes or modules. (#2516)
+   - Collection ignores local virtualenvs by default; `--collect-in-virtualenv`
+  overrides this 

commit python-pytest for openSUSE:Factory

2017-09-21 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-09-21 12:28:12

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


Package is "python-pytest"

Thu Sep 21 12:28:12 2017 rev:26 rq:527316 version:3.0.7

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2017-04-19 18:05:56.783254520 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2017-09-21 12:28:14.455021803 +0200
@@ -1,0 +2,5 @@
+Wed Aug  9 17:07:31 UTC 2017 - dmuel...@suse.com
+
+- skip creating a python3 symlink when only python2.x is being built
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.zfVQ7A/_old  2017-09-21 12:28:17.270625737 +0200
+++ /var/tmp/diff_new_pack.zfVQ7A/_new  2017-09-21 12:28:17.274625175 +0200
@@ -71,7 +71,9 @@
 %prepare_alternative pytest
 
 ln -s py.test-%python2_bin_suffix %{buildroot}%{_bindir}/py.test2
+%if "%python3_bin_suffix" != ""
 ln -s py.test-%python3_bin_suffix %{buildroot}%{_bindir}/py.test3
+%endif
 
 %post
 %{python_install_alternative py.test} \




commit python-pytest for openSUSE:Factory

2017-04-19 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-04-19 18:05:53

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


Package is "python-pytest"

Wed Apr 19 18:05:53 2017 rev:25 rq:483801 version:3.0.7

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2017-02-27 18:34:01.422927782 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2017-04-19 18:05:56.567285070 +0200
@@ -1,0 +2,39 @@
+Thu Mar 30 09:29:28 UTC 2017 - aloi...@gmx.com
+
+- Update to version  3.0.7
+  * Fix issue in assertion rewriting breaking due to modules 
+silently discarding other modules when importing fails
+Notably, importing the `anydbm` module is fixed. 
+(`#2248`_). Thanks `@pfhayes`_ for the PR.
+  * junitxml: Fix problematic case where system-out tag 
+occured twice per testcase element in the XML report.
+Thanks `@kkoukiou`_ for the PR.
+  * Fix regression, pytest now skips unittest correctly if run 
+with ``--pdb`` (`#2137`_). Thanks to `@gst`_ for the report
+and `@mbyt`_ for the PR.
+  * Ignore exceptions raised from descriptors (e.g. 
+properties) during Python test collection (`#2234`_).
+Thanks to `@bluetech`_.
+  * ``--override-ini`` now correctly overrides some 
+fundamental options like ``python_files`` (`#2238`_).
+Thanks `@sirex`_ for the report and `@nicoddemus`_ for the 
+PR.
+  * Replace ``raise StopIteration`` usages in the code by 
+simple ``returns`` to finish generators, in accordance to
+`PEP-479`_ (`#2160`_). Thanks `@tgoodlet`_ for the report
+and `@nicoddemus`_ for the PR.
+  * Fix internal errors when an unprintable ``AssertionError`` 
+is raised inside a test. Thanks `@omerhadari`_ for the PR.
+  * Skipping plugin now also works with test items generated 
+by custom collectors (`#2231`_).  Thanks to `@vidartf`_.
+  * Fix trailing whitespace in console output if no .ini file 
+presented (`#2281`_). Thanks `@fbjorn`_ for the PR.
+  * Conditionless ``xfail`` markers no longer rely on the 
+underlying test item being an instance of ``PyobjMixin``,
+and can therefore apply to tests not collected by the
+built-in python test collector. Thanks `@barneygale`_ for
+the PR.
+
+- Updated source URL
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2017-02-27 18:34:01.662893876 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2017-04-19 18:05:56.783254520 +0200
@@ -1,0 +2,44 @@
+Thu Mar 30 09:29:28 UTC 2017 - aloi...@gmx.com
+
+- Update to version  3.0.7
+  * Fix issue in assertion rewriting breaking due to modules 
+silently discarding other modules when importing fails
+Notably, importing the `anydbm` module is fixed. 
+(`#2248`_). Thanks `@pfhayes`_ for the PR.
+  * junitxml: Fix problematic case where system-out tag 
+occured twice per testcase element in the XML report.
+Thanks `@kkoukiou`_ for the PR.
+  * Fix regression, pytest now skips unittest correctly if run 
+with ``--pdb`` (`#2137`_). Thanks to `@gst`_ for the report
+and `@mbyt`_ for the PR.
+  * Ignore exceptions raised from descriptors (e.g. 
+properties) during Python test collection (`#2234`_).
+Thanks to `@bluetech`_.
+  * ``--override-ini`` now correctly overrides some 
+fundamental options like ``python_files`` (`#2238`_).
+Thanks `@sirex`_ for the report and `@nicoddemus`_ for the 
+PR.
+  * Replace ``raise StopIteration`` usages in the code by 
+simple ``returns`` to finish generators, in accordance to
+`PEP-479`_ (`#2160`_). Thanks `@tgoodlet`_ for the report
+and `@nicoddemus`_ for the PR.
+  * Fix internal errors when an unprintable ``AssertionError`` 
+is raised inside a test. Thanks `@omerhadari`_ for the PR.
+  * Skipping plugin now also works with test items generated 
+by custom collectors (`#2231`_).  Thanks to `@vidartf`_.
+  * Fix trailing whitespace in console output if no .ini file 
+presented (`#2281`_). Thanks `@fbjorn`_ for the PR.
+  * Conditionless ``xfail`` markers no longer rely on the 
+underlying test item being an instance of ``PyobjMixin``,
+and can therefore apply to tests not collected by the
+built-in python test collector. Thanks `@barneygale`_ for
+the PR.
+
+- Updated source URL
+
+---
+Wed Mar 29 13:53:04 UTC 2017 - jmate...@suse.com
+
+- uninstall alternatives in %postun
+
+---

Old:

  pytest-3.0.6.tar.gz

New:

  pytest-3.0.7.tar.gz


commit python-pytest for openSUSE:Factory

2017-02-27 Thread root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2017-02-27 18:33:58

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


Package is "python-pytest"

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2016-09-20 13:23:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2017-02-27 18:34:01.422927782 +0100
@@ -1,0 +2,8 @@
+Thu Feb 23 14:40:25 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- update to 3.0.6
+  * fixed tests in python 3.6
+- only use Python 3 to build docs
+
+---
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2016-09-20 13:23:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2017-02-27 18:34:01.662893876 +0100
@@ -1,0 +2,10 @@
+Mon Feb 20 14:05:32 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- update to 3.0.6
+  * the ids argument to parametrize again accepts unicode in python2
+  * import errors for plugins now display full traceback
+  * no longer recognizes coroutine functions as yield tests
+  * see more in changelog
+
+---

Old:

  pytest-3.0.2.tar.gz

New:

  pytest-3.0.6.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.aAORir/_old  2017-02-27 18:34:02.218815327 +0100
+++ /var/tmp/diff_new_pack.aAORir/_new  2017-02-27 18:34:02.218815327 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-doc
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,24 +16,25 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest-doc
-Version:3.0.2
+Version:3.0.6
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT
 Group:  Development/Languages/Python
 Url:http://pytest.org
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-Sphinx
-BuildRequires:  python-py >= 1.4.22
+BuildRequires:  python3-Sphinx
 # Test requirements:
-BuildRequires:  python-mock
-BuildRequires:  python-hypothesis
-BuildRequires:  python-PyYAML
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module py >= 1.4.29}
+BuildRequires:  python-rpm-macros
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-%endif
+Provides:   %{python_module pytest-doc = %{version}}
 
 %description
 pytest helps you write better programs. It is a a mature full-featured,
@@ -51,19 +52,18 @@
 
 This package contains the documentation for pytest
 
-
 %prep
 %setup -q -n pytest-%{version}
 
 %build
-python setup.py build_sphinx
+python3 setup.py build_sphinx
 rm doc/build/html/.buildinfo
 
 %install
 # Only building documentation
 
 %check
-python setup.py test
+%python_exec setup.py test
 
 %files
 %defattr(-,root,root,-)

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.aAORir/_old  2017-02-27 18:34:02.258809676 +0100
+++ /var/tmp/diff_new_pack.aAORir/_new  2017-02-27 18:34:02.262809111 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,8 +15,10 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pytest
-Version:3.0.2
+Version:3.0.6
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT
@@ -24,22 +26,19 @@
 Url:http://pytest.org
 Source: 
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  unzip
-BuildRequires:  python-devel
-BuildRequires:  python-py >= 1.4.25
-BuildRequires:  python-setuptools

commit python-pytest for openSUSE:Factory

2016-09-20 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2016-09-20 13:23:40

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


Package is "python-pytest"

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2016-02-16 09:27:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2016-09-20 13:23:41.0 +0200
@@ -1,0 +2,362 @@
+Fri Sep 16 14:25:04 UTC 2016 - toddrme2...@gmail.com
+
+- Fix download url.
+
+---
+Thu Sep 15 22:20:01 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 3.0.2
+  * Improve error message when passing non-string ids to 
``pytest.mark.parametrize`` (`#1857`_).
+Thanks `@okken`_ for the report and `@nicoddemus`_ for the PR.
+  * Add ``buffer`` attribute to stdin stub class 
``pytest.capture.DontReadFromInput``
+Thanks `@joguSD`_ for the PR.
+  * Fix ``UnicodeEncodeError`` when string comparison with unicode has failed. 
(`#1864`_)
+Thanks `@AiOO`_ for the PR.
+  * ``pytest_plugins`` is now handled correctly if defined as a string (as 
opposed as
+a sequence of strings) when modules are considered for assertion rewriting.
+Due to this bug, much more modules were being rewritten than necessary
+if a test suite uses ``pytest_plugins`` to load internal plugins 
(`#1888`_).
+Thanks `@jaraco`_ for the report and `@nicoddemus`_ for the PR (`#1891`_).
+  * Do not call tearDown and cleanups when running tests from
+``unittest.TestCase`` subclasses with ``--pdb``
+enabled. This allows proper post mortem debugging for all applications
+which have significant logic in their tearDown machinery (`#1890`_). Thanks
+`@mbyt`_ for the PR.
+  * Fix use of deprecated ``getfuncargvalue`` method in the internal doctest 
plugin.
+Thanks `@ViviCoder`_ for the report (`#1898`_).
+- update to version 3.0.1
+  * Fix regression when ``importorskip`` is used at module level (`#1822`_).
+Thanks `@jaraco`_ and `@The-Compiler`_ for the report and `@nicoddemus`_ 
for the PR.
+  * Fix parametrization scope when session fixtures are used in conjunction
+with normal parameters in the same call (`#1832`_).
+Thanks `@The-Compiler`_ for the report, `@Kingdread`_ and `@nicoddemus`_ 
for the PR.
+  * Fix internal error when parametrizing tests or fixtures using an empty 
``ids`` argument (`#1849`_).
+Thanks `@OPpuolitaival`_ for the report and `@nicoddemus`_ for the PR.
+  * Fix loader error when running ``pytest`` embedded in a zipfile.
+Thanks `@mbachry`_ for the PR.
+- update to version 3.0.0
+  + Incompatible changes
+* Reinterpretation mode has now been removed.  Only plain and rewrite
+  mode are available, consequently the ``--assert=reinterp`` option is
+  no longer available.  Thanks `@flub`_ for the PR.
+* The following deprecated commandline options were removed:
+* ``--genscript``: no longer supported;
+  > ``--no-assert``: use ``--assert=plain`` instead;
+  > ``--nomagic``: use ``--assert=plain`` instead;
+  > ``--report``: use ``-r`` instead;
+* ImportErrors in plugins now are a fatal error instead of issuing a
+  pytest warning (`#1479`_). Thanks to `@The-Compiler`_ for the PR.
+* Removed support code for Python 3 versions < 3.3 (`#1627`_).
+* Removed all ``py.test-X*`` entry points. The versioned, suffixed entry 
points
+  were never documented and a leftover from a pre-virtualenv era. These 
entry
+  points also created broken entry points in wheels, so removing them also
+  removes a source of confusion for users (`#1632`_).
+  Thanks `@obestwalter`_ for the PR.
+* ``pytest.skip()`` now raises an error when used to decorate a test 
function,
+  as opposed to its original intent (to imperatively skip a test inside a 
test function). Previously
+  this usage would cause the entire module to be skipped (`#607`_).
+  Thanks `@omarkohl`_ for the complete PR (`#1519`_).
+* Exit tests if a collection error occurs. A poll indicated most users 
will hit CTRL-C
+  anyway as soon as they see collection errors, so pytest might as well 
make that the default behavior (`#1421`_).
+  A ``--continue-on-collection-errors`` option has been added to restore 
the previous behaviour.
+  Thanks `@olegpidsadnyi`_ and `@omarkohl`_ for the complete PR (`#1628`_).
+* Renamed the pytest ``pdb`` module (plugin) into ``debugging`` to avoid 
clashes with the builtin ``pdb`` module.
+* Raise a helpful failure message when requesting a parametrized fixture 
at runtime,
+  e.g. with ``request.getfixturevalue``. Previously these parameters were 

commit python-pytest for openSUSE:Factory

2016-09-05 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2016-09-05 21:18:43

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


Package is "python-pytest"

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2016-02-16 09:27:14.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2016-09-05 21:18:45.0 +0200
@@ -1,0 +2,11 @@
+Thu Sep  1 12:34:41 UTC 2016 - tbecht...@suse.com
+
+- Use https for pypi.io Source
+
+---
+Thu Sep  1 05:52:08 UTC 2016 - tbecht...@suse.com
+
+- Fix Requires. python-py >= 1.4.29 is needed.
+- Use pypi.io as Source url
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.hhy2Tp/_old  2016-09-05 21:18:45.0 +0200
+++ /var/tmp/diff_new_pack.hhy2Tp/_new  2016-09-05 21:18:45.0 +0200
@@ -27,7 +27,7 @@
 License:MIT
 Group:  Development/Languages/Python
 Url:http://pytest.org
-Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-py >= 1.4.25
@@ -39,9 +39,9 @@
 BuildRequires:  python-mock
 BuildRequires:  python-pexpect
 %endif
-BuildRequires:  python-xml
 BuildRequires:  python-PyYAML
-Requires:   python-py >= 1.4.25
+BuildRequires:  python-xml
+Requires:   python-py >= 1.4.29
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 #/usr/bin/py.test imports pkg_resources




commit python-pytest for openSUSE:Factory

2016-02-16 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2016-02-16 09:27:13

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


Package is "python-pytest"

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest-doc.changes  
2015-05-25 23:05:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest-doc.changes 
2016-02-16 09:27:14.0 +0100
@@ -1,0 +2,70 @@
+Mon Feb  1 11:02:42 UTC 2016 - toddrme2...@gmail.com
+
+- update to version 2.8.7:
+  * fix #1338: use predictable object resolution for monkeypatch
+- changes from version 2.8.6:
+  * fix #1259: allow for double nodeids in junitxml, this was a
+regression failing plugins combinations like pytest-pep8 +
+pytest-flakes
+  * Workaround for exception that occurs in pyreadline when using
+--pdb with standard I/O capture enabled. Thanks Erik M. Bray for
+the PR.
+  * fix #900: Better error message in case the target of a monkeypatch
+call raises an ImportError.
+  * fix #1292: monkeypatch calls (setattr, setenv, etc.) are now
+O(1). Thanks David R. MacIver for the report and Bruno Oliveira
+for the PR.
+  * fix #1223: captured stdout and stderr are now properly displayed
+before entering pdb when --pdb is used instead of being thrown
+away. Thanks Cal Leeming for the PR.
+  * fix #1305: pytest warnings emitted during pytest_terminal_summary
+are now properly displayed. Thanks Ionel Maries Cristian for the
+report and Bruno Oliveira for the PR.
+  * fix #628: fixed internal UnicodeDecodeError when doctests contain
+unicode. Thanks Jason R. Coombs for the report and Bruno Oliveira
+for the PR.
+  * fix #1334: Add captured stdout to jUnit XML report on setup
+error. Thanks Georgy Dyuldin for the PR.
+- Update to version 2.8.5
+  * fix #1243: fixed issue where class attributes injected during
+collection could break pytest.
+fix #1074: precompute junitxml chunks instead of storing the
+whole tree in objects
+fix #1238: fix pytest.deprecated_call() receiving multiple
+arguments (Regression introduced in 2.8.4).
+- update to version 2.8.4:
+  * fix #1190: deprecated_call() now works when the deprecated
+function has been already called by another test in the same
+module. Thanks Mikhail Chernykh for the report and Bruno Oliveira
+for the PR.
+  * fix #1198: --pastebin option now works on Python 3. Thanks Mehdy
+Khoshnoody for the PR.
+  * fix #1219: --pastebin now works correctly when captured output
+contains non-ascii characters. Thanks Bruno Oliveira for the PR.
+  * fix #1204: another error when collecting with a nasty
+__getattr__(). Thanks Florian Bruhin for the PR.
+  * fix the summary printed when no tests did run. Thanks Florian
+Bruhin for the PR.
+  * a number of documentation modernizations wrt good
+practices. Thanks Bruno Oliveira for the PR.
+- update to version 2.8.3:
+  * fix #1169: add __name__ attribute to testcases in TestCaseFunction
+to support the @unittest.skip decorator on functions and methods.
+Thanks Lee Kamentsky for the PR.
+  * fix #1035: collecting tests if test module level obj has
+__getattr__().  Thanks Suor for the report and Bruno Oliveira /
+Tom Viner for the PR.
+  * fix #331: don't collect tests if their failure cannot be reported
+correctly e.g. they are a callable instance of a class.
+  * fix #1133: fixed internal error when filtering tracebacks where
+one entry belongs to a file which is no longer available.  Thanks
+Bruno Oliveira for the PR.
+  * enhancement made to highlight in red the name of the failing tests
+so they stand out in the output.  Thanks Gabriel Reis for the PR.
+  * add more talks to the documentation
+  * extend documentation on the --ignore cli option
+  * use pytest-runner for setuptools integration
+  * minor fixes for interaction with OS X El Capitan system integrity
+protection (thanks Florian)
+
+---
python-pytest.changes: same change

Old:

  pytest-2.8.2.tar.gz

New:

  pytest-2.8.7.tar.gz



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.lqrQZF/_old  2016-02-16 09:27:15.0 +0100
+++ /var/tmp/diff_new_pack.lqrQZF/_new  2016-02-16 09:27:15.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-doc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the 

commit python-pytest for openSUSE:Factory

2015-10-19 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2015-10-19 22:47:20

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


Package is "python-pytest"

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2015-08-07 00:20:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2015-10-19 22:47:21.0 +0200
@@ -1,0 +2,327 @@
+Fri Oct  9 08:26:43 UTC 2015 - mci...@suse.cz
+
+- Update to 2.8.2:
+  2.8.2
+  -
+
+  - fix #1085: proper handling of encoding errors when passing encoded byte
+strings to pytest.parametrize in Python 2.
+Thanks Themanwithoutaplan for the report and Bruno Oliveira for the PR.
+
+  - fix #1087: handling SystemError when passing empty byte strings to
+pytest.parametrize in Python 3.
+Thanks Paul Kehrer for the report and Bruno Oliveira for the PR.
+
+  - fix #995: fixed internal error when filtering tracebacks where one entry
+was generated by an exec() statement.
+Thanks Daniel Hahler, Ashley C Straw, Philippe Gauthier and Pavel Savchenko
+for contributing and Bruno Oliveira for the PR.
+
+  2.8.1
+  -
+
+  - fix #1034: Add missing nodeid on pytest_logwarning call in
+addhook.  Thanks Simon Gomizelj for the PR.
+
+  - 'deprecated_call' is now only satisfied with a DeprecationWarning or
+PendingDeprecationWarning. Before 2.8.0, it accepted any warning, and 2.8.0
+made it accept only DeprecationWarning (but not PendingDeprecationWarning).
+Thanks Alex Gaynor for the issue and Eric Hunsberger for the PR.
+
+  - fix issue #1073: avoid calling __getattr__ on potential plugin objects.
+This fixes an incompatibility with pytest-django.  Thanks Andreas Pelme,
+Bruno Oliveira and Ronny Pfannschmidt for contributing and Holger Krekel
+for the fix.
+
+  - Fix issue #704: handle versionconflict during plugin loading more
+gracefully.  Thanks Bruno Oliveira for the PR.
+
+  - Fix issue #1064: ""--junitxml" regression when used with the
+"pytest-xdist" plugin, with test reports being assigned to the wrong tests.
+Thanks Daniel Grunwald for the report and Bruno Oliveira for the PR.
+
+  - (experimental) adapt more SEMVER style versioning and change meaning of 
+master branch in git repo: "master" branch now keeps the bugfixes, changes 
+aimed for micro releases.  "features" branch will only be be released 
+with minor or major pytest releases.
+
+  - Fix issue #766 by removing documentation references to distutils.
+Thanks Russel Winder.
+
+  - Fix issue #1030: now byte-strings are escaped to produce item node ids
+to make them always serializable.
+Thanks Andy Freeland for the report and Bruno Oliveira for the PR.
+
+  - Python 2: if unicode parametrized values are convertible to ascii, their
+ascii representation is used for the node id.
+
+  - Fix issue #411: Add __eq__ method to assertion comparison example.
+Thanks Ben Webb.
+
+  - fix issue 877: properly handle assertion explanations with non-ascii repr
+Thanks Mathieu Agopian for the report and Ronny Pfannschmidt for the PR.
+
+  - fix issue 1029: transform errors when writing cache values into 
pytest-warnings
+
+  2.8.0
+  -
+
+  - new ``--lf`` and ``-ff`` options to run only the last failing tests or
+"failing tests first" from the last run.  This functionality is provided 
+through porting the formerly external pytest-cache plugin into pytest core.
+BACKWARD INCOMPAT: if you used pytest-cache's functionality to persist
+data between test runs be aware that we don't serialize sets anymore.
+Thanks Ronny Pfannschmidt for most of the merging work.
+
+  - "-r" option now accepts "a" to include all possible reports, similar
+to passing "fEsxXw" explicitly (isse960).
+Thanks Abhijeet Kasurde for the PR.
+
+  - avoid python3.5 deprecation warnings by introducing version
+specific inspection helpers, thanks Michael Droettboom.
+
+  - fix issue562: @nose.tools.istest now fully respected.
+
+  - fix issue934: when string comparison fails and a diff is too large to 
display
+without passing -vv, still show a few lines of the diff.
+Thanks Florian Bruhin for the report and Bruno Oliveira for the PR.
+
+  - fix issue736: Fix a bug where fixture params would be discarded when 
combined
+with parametrization markers.
+Thanks to Markus Unterwaditzer for the PR.
+
+  - fix issue710: introduce ALLOW_UNICODE doctest option: when enabled, the
+``u`` prefix is stripped from unicode strings in expected doctest output. 
This
+allows doctests which use unicode to run in Python 2 and 3 unchanged.
+Thanks Jason R. Coombs 

commit python-pytest for openSUSE:Factory

2015-08-06 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2015-08-07 00:20:39

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2015-07-16 17:13:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2015-08-07 00:20:40.0 +0200
@@ -1,0 +2,16 @@
+Wed Jul 29 13:01:56 UTC 2015 - toddrme2...@gmail.com
+
+- Make tests conditional to avoid dependency loop.
+
+---
+Mon Jul 27 09:29:06 UTC 2015 - seife+...@b1-systems.com
+
+- revert update-alternatives change, causes OBS trouble
+
+---
+Fri Jul 24 06:37:21 UTC 2015 - seife+...@b1-systems.com
+
+- Change update-alternatives requirement to absolute path to fix
+  non-SUSE distributions (RHEL7)
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.K0U2Qr/_old  2015-08-07 00:20:41.0 +0200
+++ /var/tmp/diff_new_pack.K0U2Qr/_new  2015-08-07 00:20:41.0 +0200
@@ -15,6 +15,9 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+# NOTE(saschpe): git invocation and pythonpath issues with testrepository
+# enable testing with a build conditional (off by default):
+%bcond_with test
 
 Name:   python-pytest
 Version:2.7.1
@@ -31,8 +34,10 @@
 BuildRequires:  unzip
 # Test requirements:
 BuildRequires:  lsof
+%if %{with test}
 BuildRequires:  python-mock
 BuildRequires:  python-pexpect
+%endif
 BuildRequires:  python-xml
 Requires:   python-py = 1.4.25
 Requires(post): update-alternatives
@@ -72,11 +77,8 @@
 rm %{buildroot}%{_bindir}/py.test 
 ln -s %{_bindir}/py.test-%{py_ver} %{buildroot}%{_bindir}/py.test
 
-%if 0%{?suse_version}  1110
+%if %{with test}  0%{?suse_version}  1110
 %check
-#FIXME (mvyskocil): test fail on doc/en/example/nonpython/test_simple.yml
-#maybe too old python-PyYAML package? Factory has 3.12, where latest upstream 
is 13.12.0
-
 python setup.py test
 %endif
 




commit python-pytest for openSUSE:Factory

2015-07-16 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2015-07-16 17:13:54

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2015-05-25 23:05:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2015-07-16 17:13:56.0 +0200
@@ -1,0 +2,6 @@
+Mon Jul  6 17:59:24 UTC 2015 - rjsch...@suse.com
+
+- Add python-xml as build dependency to avoid test failure with the
+  Python version shipped in SLE 12
+
+---



Other differences:
--
++ python-pytest-doc.spec ++
--- /var/tmp/diff_new_pack.VVwvSe/_old  2015-07-16 17:13:57.0 +0200
+++ /var/tmp/diff_new_pack.VVwvSe/_new  2015-07-16 17:13:57.0 +0200
@@ -25,9 +25,9 @@
 Url:http://pytest.org
 Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  unzip
 BuildRequires:  python-Sphinx
 BuildRequires:  python-pytest
+BuildRequires:  unzip
 Recommends: python-pytest
 %if 0%{?suse_version}  0%{?suse_version}  1110
 BuildArch:  noarch

++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.VVwvSe/_old  2015-07-16 17:13:57.0 +0200
+++ /var/tmp/diff_new_pack.VVwvSe/_new  2015-07-16 17:13:57.0 +0200
@@ -26,13 +26,14 @@
 Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
-BuildRequires:  unzip
 BuildRequires:  python-py = 1.4.25
 BuildRequires:  python-setuptools
+BuildRequires:  unzip
 # Test requirements:
 BuildRequires:  lsof
 BuildRequires:  python-mock
 BuildRequires:  python-pexpect
+BuildRequires:  python-xml
 Requires:   python-py = 1.4.25
 Requires(post): update-alternatives
 Requires(postun): update-alternatives




commit python-pytest for openSUSE:Factory

2014-11-15 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-11-15 11:41:01

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-10-09 12:52:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-11-15 12:26:09.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 20:29:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashism in pre script
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.KSQ3ij/_old  2014-11-15 12:26:10.0 +0100
+++ /var/tmp/diff_new_pack.KSQ3ij/_new  2014-11-15 12:26:10.0 +0100
@@ -84,8 +84,7 @@
 # Since /usr/bin/py.test became ghosted to be used
 # with update-alternatives, we have to get rid of the old binary resulting 
from the
 # non-update-alternativies-ified package:
-[[ ! -L %{_bindir}/py.test ]]  rm -f %{_bindir}/py.test
-exit 0
+[ -h %{_bindir}/py.test ] || rm -f %{_bindir}/py.test
 
 %post
 update-alternatives \

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2014-10-09 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-10-09 12:52:02

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-07-31 10:04:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-10-09 12:52:11.0 +0200
@@ -1,0 +2,31 @@
+Sun Oct  5 15:15:06 UTC 2014 - t...@opensuse.org
+
+- Update to 2.6.3
+  - No longer show line numbers in the –verbose output, the output 
+is now purely the nodeid. The line number is still shown in 
+failure reports. Thanks Floris Bruynooghe.
+  - fix issue437 where assertion rewriting could cause pytest-xdist
+slaves to collect different tests. 
+Thanks Bruno Oliveira.
+  - fix issue555: add “errors” attribute to capture-streams to 
+satisfy some distutils and possibly other code accessing sys.stdout.errors.
+  - fix issue547 capsys/capfd also work when output capturing (“-s”) 
+is disabled.
+  - address issue170: allow pytest.mark.xfail(...) to specify expected 
+exceptions via an optional “raises=EXC” argument where EXC can be 
+a single exception or a tuple of exception classes. 
+Thanks David Mohr for the complete PR.
+  - fix integration of pytest with unittest.mock.patch decorator when 
+it uses the “new” argument. 
+Thanks Nicolas Delaby for test and PR.
+  - fix issue with detecting conftest files if the arguments contain 
+”::” node id specifications (copy pasted from “-v” output)
+  - fix issue544 by only removing “@NUM” at the end of ”::” separated 
+parts and if the part has an ”.py” extension  don’t use py.std 
+import helper, rather import things directly. 
+Thanks Bruno Oliveira.
+
+See for other releases: http://pytest.org/latest/changelog.html
+
+
+---

Old:

  pytest-2.6.0.tar.gz

New:

  pytest-2.6.3.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.EoJCd2/_old  2014-10-09 12:52:12.0 +0200
+++ /var/tmp/diff_new_pack.EoJCd2/_new  2014-10-09 12:52:12.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-pytest
-Version:2.6.0
+Version:2.6.3
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT

++ pytest-2.6.0.tar.gz - pytest-2.6.3.tar.gz ++
 5773 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2014-07-31 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-07-31 10:04:04

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-06-19 13:08:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-07-31 10:04:12.0 +0200
@@ -1,0 +2,74 @@
+Wed Jul 30 07:38:02 UTC 2014 - toddrme2...@gmail.com
+
+- Update to 2.6.0
+  - Cache exceptions from fixtures according to their scope (issue 467).
+  - fix issue537: Avoid importing old assertion reinterpretation code by 
default.
+  - fix issue364: shorten and enhance tracebacks representation by default.  
+The new --tb=auto option (default) will only display long tracebacks
+for the first and last entry.  You can get the old behaviour of printing
+all entries as long entries with --tb=long.  Also short entries by
+default are now printed very similarly to --tb=native ones.
+  - fix issue514: teach assertion reinterpretation about private class 
attributes
+  - change -v output to include full node IDs of tests.  Users can copy
+a node ID from a test run, including line number, and use it as a
+positional argument in order to run only a single test.
+  - fix issue 475: fail early and comprehensible if calling
+pytest.raises with wrong exception type.
+  - fix issue516: tell in getting-started about current dependencies.
+  - cleanup setup.py a bit and specify supported versions. Thanks Jurko
+Gospodnetic for the PR.
+  - change XPASS colour to yellow rather then red when tests are run
+with -v.
+  - fix issue473: work around mock putting an unbound method into a class
+dict when double-patching.
+  - fix issue498: if a fixture finalizer fails, make sure that 
+the fixture is still invalidated.
+  - fix issue453: the result of the pytest_assertrepr_compare hook now gets
+it's newlines escaped so that format_exception does not blow up.
+  - internal new warning system: pytest will now produce warnings when
+it detects oddities in your test collection or execution.  
+Warnings are ultimately sent to a new pytest_logwarning hook which is
+currently only implemented by the terminal plugin which displays
+warnings in the summary line and shows more details when -rw (report on
+warnings) is specified.
+  - change skips into warnings for test classes with an __init__ and
+callables in test modules which look like a test but are not functions.
+  - fix issue436: improved finding of initial conftest files from command
+line arguments by using the result of parse_known_args rather than
+the previous flaky heuristics.  Thanks Marc Abramowitz for tests
+and initial fixing approaches in this area.
+  - fix issue #479: properly handle nose/unittest(2) SkipTest exceptions
+during collection/loading of test modules.  Thanks to Marc Schlaich
+for the complete PR.
+  - fix issue490: include pytest_load_initial_conftests in documentation
+and improve docstring.
+  - fix issue472: clarify that ``pytest.config.getvalue()`` cannot work
+if it's triggered ahead of command line parsing.
+  - merge PR123: improved integration with mock.patch decorator on tests.
+  - fix issue412: messing with stdout/stderr FD-level streams is now
+captured without crashes.
+  - fix issue483: trial/py33 works now properly.  Thanks Daniel Grana for PR.
+  - improve example for pytest integration with python setup.py test
+which now has a generic -a or --pytest-args option where you
+can pass additional options as a quoted string.  Thanks Trevor Bekolay.
+  - simplified internal capturing mechanism and made it more robust
+against tests or setups changing FD1/FD2, also better integrated
+now with pytest.pdb() in single tests.
+  - improvements to pytest's own test-suite leakage detection, courtesy of PRs
+from Marc Abramowitz
+  - fix issue492: avoid leak in test_writeorg.  Thanks Marc Abramowitz.
+  - fix issue493: don't run tests in doc directory with ``python setup.py 
test`` 
+(use tox -e doctesting for that)
+  - fix issue486: better reporting and handling of early conftest loading 
failures
+  - some cleanup and simplification of internal conftest handling.
+  - work a bit harder to break reference cycles when catching exceptions.
+Thanks Jurko Gospodnetic.
+  - fix issue443: fix skip examples to use proper comparison.  Thanks Alex
+Groenholm.
+  - support nose-style ``__test__`` attribute on modules, classes and
+functions, including unittest-style Classes.  If set to False, the 
+test will not be collected.  
+  - fix issue512: show 

commit python-pytest for openSUSE:Factory

2014-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-06-19 13:08:39

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-03-18 13:38:23.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-06-19 13:08:46.0 +0200
@@ -1,0 +2,5 @@
+Tue Jun 10 10:49:25 UTC 2014 - mvysko...@opensuse.org
+
+- Add setuptools dependency as py.test launcher does import pkg_resources 
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.Tqs39w/_old  2014-06-19 13:08:47.0 +0200
+++ /var/tmp/diff_new_pack.Tqs39w/_new  2014-06-19 13:08:47.0 +0200
@@ -34,6 +34,8 @@
 Requires:   python-py = 1.4.20
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
+#/usr/bin/py.test imports pkg_resources
+Requires:   python-setuptools
 %if 0%{?suse_version}  0%{?suse_version} = 1110
 Requires:   python-argparse
 %{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2014-03-18 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-03-18 13:38:18

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-01-30 17:44:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-03-18 13:38:23.0 +0100
@@ -1,0 +2,21 @@
+Wed Mar 12 16:09:57 UTC 2014 - speili...@suse.com
+
+- Update to version 2.5.2:
+  - fix issue409 -- better interoperate with cx_freeze by not
+trying to import from collections.abc which causes problems 
+for py27/cx_freeze.  Thanks Wolfgang L. for reporting and tracking it down.
+  - fixed docs and code to use pytest instead of py.test almost everywhere.
+Thanks Jurko Gospodnetic for the complete PR.  
+  - fix issue425: mention at end of py.test -h that --markers
+and --fixtures work according to specified test path (or current dir)
+  - fix issue413: exceptions with unicode attributes are now printed
+correctly also on python2 and with pytest-xdist runs. (the fix
+requires py-1.4.20)
+  - copy, cleanup and integrate py.io capture
+from pylib 1.4.20.dev2 (rev 13d9af95547e)
+  - address issue416: clarify docs as to conftest.py loading semantics
+  - fix issue429: comparing byte strings with non-ascii chars in assert
+expressions now work better.  Thanks Floris Bruynooghe.
+  - make capfd/capsys.capture private, its unused and shouldnt be exposed
+
+---

Old:

  pytest-2.5.1.tar.gz

New:

  pytest-2.5.2.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.61Lrto/_old  2014-03-18 13:38:24.0 +0100
+++ /var/tmp/diff_new_pack.61Lrto/_new  2014-03-18 13:38:24.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   python-pytest
-Version:2.5.1
+Version:2.5.2
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT
@@ -30,8 +30,8 @@
 # Documentation requirements:
 BuildRequires:  python-Sphinx
 # Test requirements:
-BuildRequires:  python-py = 1.4.19
-Requires:   python-py = 1.4.19
+BuildRequires:  python-py = 1.4.20
+Requires:   python-py = 1.4.20
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %if 0%{?suse_version}  0%{?suse_version} = 1110

++ pytest-2.5.1.tar.gz - pytest-2.5.2.tar.gz ++
 6854 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2014-01-30 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-01-30 17:44:56

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2014-01-07 16:27:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-01-30 17:44:57.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 30 13:51:26 UTC 2014 - speili...@suse.com
+
+- Re-add python-argparse requirement for SP3
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.pqNHKM/_old  2014-01-30 17:44:57.0 +0100
+++ /var/tmp/diff_new_pack.pqNHKM/_new  2014-01-30 17:44:57.0 +0100
@@ -35,6 +35,7 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %if 0%{?suse_version}  0%{?suse_version} = 1110
+Requires:   python-argparse
 %{!?python_sitelib: %global python_sitelib %(python -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}
 %else
 BuildArch:  noarch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2014-01-07 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2014-01-07 16:27:10

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2013-09-27 18:02:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2014-01-07 16:27:11.0 +0100
@@ -1,0 +2,54 @@
+Fri Jan  3 08:43:16 UTC 2014 - mvysko...@suse.com
+
+- Update to 2.5.1: 
+  + merge new documentation styling PR from Tobias Bieniek.
+  + fix issue403: allow parametrize of multiple same-name functions within
+a collection node.
+  + Allow parameterized fixtures to specify the ID of the parameters by
+adding an ids argument to pytest.fixture() and pytest.yield_fixture().
+  + fix issue404 by always using the binary xml escape in the junitxml
+plugin.
+  + fix issue407: fix addoption docstring to point to argparse instead of
+optparse.
+  * 2.5.0:
+  + dropped python2.5 from automated release testing of pytest itself
+which means it's probably going to break soon
+  + simplified and fixed implementation for calling finalizers when
+parametrized fixtures or function arguments are involved.  finalization
+is now performed lazily at setup time instead of in the teardown phase.
+  + PR90: add --color=yes|no|auto option to force terminal coloring
+mode (auto is default).
+  + fix issue319 - correctly show unicode in assertion errors. Also means
+we depend on py=1.4.19 now.
+  + fix issue396 - correctly sort and finalize class-scoped parametrized
+tests independently from number of methods on the class.
+  + refix issue323 in a better way -- parametrization should now never
+cause Runtime Recursion errors because the underlying algorithm
+for re-ordering tests per-scope/per-fixture is not recursive
+anymore
+  + fix issue290 - there is preliminary support now for parametrizing
+with repeated same values (sometimes useful to to test if calling
+a second time works as with the first time).
+  + close issue240 - document precisely how pytest module importing
+works, discuss the two common test directory layouts, and how it
+interacts with PEP420-namespace packages.
+  + fix issue246 fix finalizer order to be LIFO on independent fixtures
+depending on a parametrized higher-than-function scoped fixture.
+(was quite some effort so please bear with the complexity of
+this sentence :)
+  + fix issue244 by implementing special index for parameters to only use
+indices for paramentrized test ids
+  + fix issue287 by running all finalizers but saving the exception
+from the first failing finalizer and re-raising it so teardown will
+still have failed.  We reraise the first failing exception because
+it might be the cause for other finalizers to fail.
+  + fix ordering when mock.patch or other standard decorator-wrappings
+are used with test methods.  This fixues issue346 and should
+help with random xdist collection failures.  Thanks to
+Ronny Pfannschmidt and Donald Stufft for helping to isolate it.
+  + and many more, see CHANGELOG for details
+- require python3-py at least 1.4.19
+- mark /etc/alternatives/py.test as ghost file for openSUSE 12.3+
+- skip test_simple.yml from %check
+
+---

Old:

  pytest-2.3.5.tar.gz

New:

  pytest-2.5.1.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.RUfFlm/_old  2014-01-07 16:27:11.0 +0100
+++ /var/tmp/diff_new_pack.RUfFlm/_new  2014-01-07 16:27:11.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products 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,7 +17,7 @@
 
 
 Name:   python-pytest
-Version:2.3.5
+Version:2.5.1
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT
@@ -30,8 +30,8 @@
 # Documentation requirements:
 BuildRequires:  python-Sphinx
 # Test requirements:
-BuildRequires:  python-py
-Requires:   python-py
+BuildRequires:  python-py = 1.4.19
+Requires:   python-py = 1.4.19
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 %if 0%{?suse_version}  0%{?suse_version} = 1110
@@ -69,6 +69,11 @@
 
 %if 0%{?suse_version}  1110
 %check
+#FIXME 

commit python-pytest for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2013-09-27 18:02:27

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2013-06-25 14:45:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2013-09-27 18:02:28.0 +0200
@@ -1,0 +2,5 @@
+Thu Sep 19 12:20:25 UTC 2013 - speili...@suse.com
+
+- Skip running tests on SLE_11_SP2
+
+---



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.jpgmWC/_old  2013-09-27 18:02:28.0 +0200
+++ /var/tmp/diff_new_pack.jpgmWC/_new  2013-09-27 18:02:28.0 +0200
@@ -67,8 +67,10 @@
 rm %{buildroot}%{_bindir}/py.test 
 ln -s %{_bindir}/py.test-%{py_ver} %{buildroot}%{_bindir}/py.test
 
+%if 0%{?suse_version}  1110
 %check
 python setup.py test
+%endif
 
 %pre
 # Since /usr/bin/py.test became ghosted to be used

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pytest for openSUSE:Factory

2013-06-25 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2013-06-25 07:42:24

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2013-05-13 15:26:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2013-06-25 14:45:01.0 +0200
@@ -1,0 +2,46 @@
+Tue Jun 18 09:42:10 UTC 2013 - speili...@suse.com
+
+- Use update-alternatives
+
+---
+Mon Jun 17 08:45:18 UTC 2013 - speili...@suse.com
+
+- Update to version 2.3.5:
+  + never consider a fixture function for test function collection
+  + allow re-running of test items / helps to fix pytest-reruntests plugin
+and also help to keep less fixture/resource references alive
+  + put captured stdout/stderr into junitxml output even for passing tests
+(thanks Adam Goucher)
+  + Issue 265 - integrate nose setup/teardown with setupstate
+so it doesnt try to teardown if it did not setup
+  + issue 271 - dont write junitxml on slave nodes
+  + Issue 274 - dont try to show full doctest example
+when doctest does not know the example location
+  + issue 280 - disable assertion rewriting on buggy CPython 2.6.0
+  + inject getfixture() helper to retrieve fixtures from doctests,
+thanks Andreas Zeidler
+  + issue 259 - when assertion rewriting, be consistent with the default
+source encoding of ASCII on Python 2
+  + issue 251 - report a skip instead of ignoring classes with init
+  + issue250 unicode/str mixes in parametrization names and values now works
+  + issue257, assertion-triggered compilation of source ending in a
+comment line doesn't blow up in python2.5 (fixed through py=1.4.13.dev6)
+  + fix --genscript option to generate standalone scripts that also
+work with python3.3 (importer ordering)
+  + issue171 - in assertion rewriting, show the repr of some
+global variables
+  + fix option help for -k
+  + move long description of distribution into README.rst
+  + improve docstring for metafunc.parametrize()
+  + fix bug where using capsys with pytest.set_trace() in a test
+function would break when looking at capsys.readouterr()
+  + allow to specify prefixes starting with _ when 
+customizing python_functions test discovery. (thanks Graham Horler)
+  + improve PYTEST_DEBUG tracing output by puting
+extra data on a new lines with additional indent
+  + ensure OutcomeExceptions like skip/fail have initialized exception 
attributes
+  + issue 260 - don't use nose special setup on plain unittest cases
+  + fix issue134 - print the collect errors that prevent running specified 
test items
+  + fix issue266 - accept unicode in MarkEvaluator expressions
+
+---

Old:

  pytest-2.3.4.zip
  python3-pytest.changes
  python3-pytest.spec

New:

  pytest-2.3.5.tar.gz



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.cPUEJF/_old  2013-06-25 14:45:02.0 +0200
+++ /var/tmp/diff_new_pack.cPUEJF/_new  2013-06-25 14:45:02.0 +0200
@@ -17,13 +17,14 @@
 
 
 Name:   python-pytest
-Version:2.3.4
+Version:2.3.5
 Release:0
 Summary:Simple powerful testing with Python
 License:MIT
 Group:  Development/Languages/Python
 Url:http://pytest.org
-Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip
+Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  unzip
 # Documentation requirements:
@@ -31,7 +32,8 @@
 # Test requirements:
 BuildRequires:  python-py
 Requires:   python-py
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 %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())}
 %else
@@ -62,14 +64,32 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm %{buildroot}%{_bindir}/py.test 
+ln -s %{_bindir}/py.test-%{py_ver} %{buildroot}%{_bindir}/py.test
 
 %check
 python setup.py test
 
+%pre
+# Since /usr/bin/py.test became ghosted to be used
+# with update-alternatives, we have to get rid of the old binary resulting 
from the
+# non-update-alternativies-ified package:
+[[ ! -L 

commit python-pytest for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2013-05-13 15:26:53

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


Package is python-pytest

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2013-04-23 11:39:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2013-05-13 15:26:55.0 +0200
@@ -1,0 +2,5 @@
+Thu May  2 08:45:19 UTC 2013 - speili...@suse.com
+
+- Enable testsuite
+
+---
New Changes file:

--- /dev/null   2013-05-09 10:40:33.472011256 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python3-pytest.changes
2013-05-13 15:26:55.0 +0200
@@ -0,0 +1,5 @@
+---
+Thu May  2 08:44:44 UTC 2013 - speili...@suse.com
+
+- Initial version
+

New:

  python3-pytest.changes
  python3-pytest.spec



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.7LWeDE/_old  2013-05-13 15:26:56.0 +0200
+++ /var/tmp/diff_new_pack.7LWeDE/_new  2013-05-13 15:26:56.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-pytest
 Version:2.3.4
 Release:0
@@ -23,10 +24,12 @@
 Group:  Development/Languages/Python
 Url:http://pytest.org
 Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip
-BuildRequires:  python-Sphinx
 BuildRequires:  python-devel
-BuildRequires:  python-py
 BuildRequires:  unzip
+# Documentation requirements:
+BuildRequires:  python-Sphinx
+# Test requirements:
+BuildRequires:  python-py
 Requires:   python-py
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  0%{?suse_version} = 1110
@@ -55,19 +58,19 @@
 
 %build
 python setup.py build
-cd doc/en  make html  rm -r _build/html/.buildinfo # Build HTML 
documentation
+python setup.py build_sphinx
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-# %%check
-# python setup.py test
+%check
+python setup.py test
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README.txt 
-%doc doc/en/_build/html
-%{_bindir}/py.test*
+%doc LICENSE README.txt build/sphinx/html
+%{_bindir}/py.test
+%{_bindir}/py.test-%{py_ver}
 %{python_sitelib}/*
 
 %changelog

++ python3-pytest.spec ++
#
# spec file for package python3-pytest
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# 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/
#


Name:   python3-pytest
Version:2.3.4
Release:0
Summary:Simple powerful testing with Python
License:MIT
Group:  Development/Languages/Python
Url:http://pytest.org
Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip
BuildRequires:  python3-devel
BuildRequires:  unzip
# Documentation requirements:
BuildRequires:  python3-Sphinx
# Test requirements:
BuildRequires:  python3-py
Requires:   python3-py
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
pytest helps you write better programs. It is a a mature full-featured,
cross-project Python testing tool. It provides:

* auto-discovery of test modules and functions,
* detailed info on failing assert statements (no need to remember 
  self.assert* names),
* modular fixtures for managing small or parametrized long-lived test resources.
* multi-paradigm support: you can use py.test to run test suites based on 
  unittest (or trial), nose,
* single-source compatibility to Python2.4 all the way up to Python3.3, 
  PyPy-1.9 and Jython-2.5.1, and
* many external plugins.


%prep
%setup -q -n pytest-%{version}

%build
python3 setup.py build
python3 setup.py build_sphinx

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Drop unversioned binary, collides with py2 pkg, maybe update-alternatives?
rm %{buildroot}%{_bindir}/py.test 

%check
python3 setup.py test


commit python-pytest for openSUSE:Factory

2013-04-23 Thread h_root
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2013-04-23 11:39:08

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


Package is python-pytest, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes  
2012-03-05 18:01:43.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pytest.new/python-pytest.changes 
2013-04-23 11:39:09.0 +0200
@@ -1,0 +2,12 @@
+Sat Apr 20 11:26:41 UTC 2013 - t...@opensuse.org
+
+- Updated to version 2.3.4
+  For details, see
+  http://pytest.org/latest/changelog.html#changes-between-2-3-3-and-2-3-4
+  No releases before 2.3.4 published (except the initial release).
+
+- SPEC file changes: 
+  * Added build conditional with tests
+  * Improved package description
+
+---

Old:

  pytest-2.2.3.zip

New:

  pytest-2.3.4.zip



Other differences:
--
++ python-pytest.spec ++
--- /var/tmp/diff_new_pack.WfyWlZ/_old  2013-04-23 11:39:10.0 +0200
+++ /var/tmp/diff_new_pack.WfyWlZ/_new  2013-04-23 11:39:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,17 +11,17 @@
 # case the license is the MIT License). An Open Source License is a
 # 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/
 #
 
 Name:   python-pytest
-Version:2.2.3
+Version:2.3.4
 Release:0
-License:MIT
 Summary:Simple powerful testing with Python
-Url:http://pytest.org
+License:MIT
 Group:  Development/Languages/Python
+Url:http://pytest.org
 Source: 
http://pypi.python.org/packages/source/p/pytest/pytest-%{version}.zip
 BuildRequires:  python-Sphinx
 BuildRequires:  python-devel
@@ -36,24 +36,37 @@
 %endif
 
 %description
-cross-project testing tool for Python.
+pytest helps you write better programs. It is a a mature full-featured,
+cross-project Python testing tool. It provides:
+
+* auto-discovery of test modules and functions,
+* detailed info on failing assert statements (no need to remember 
+  self.assert* names),
+* modular fixtures for managing small or parametrized long-lived test 
resources.
+* multi-paradigm support: you can use py.test to run test suites based on 
+  unittest (or trial), nose,
+* single-source compatibility to Python2.4 all the way up to Python3.3, 
+  PyPy-1.9 and Jython-2.5.1, and
+* many external plugins.
+
 
 %prep
 %setup -q -n pytest-%{version}
 
 %build
 python setup.py build
-cd doc  make html  rm -r _build/html/.buildinfo # Build HTML documentation
+cd doc/en  make html  rm -r _build/html/.buildinfo # Build HTML 
documentation
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%check
-python setup.py test
+# %%check
+# python setup.py test
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE README.txt doc/_build/html
+%doc LICENSE README.txt 
+%doc doc/en/_build/html
 %{_bindir}/py.test*
 %{python_sitelib}/*
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org