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 <[email protected]>
+
+- Add setuptools requires as we still use entrypoints
+
+-------------------------------------------------------------------
+Tue Jul  9 11:25:49 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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 [email protected]
-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 a buildcycle
 %check
 %if %{with test}
-# 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'
+%pytest
 %endif
 
+%if ! %{with test}
 %post
 %{python_install_alternative py.test} \
    --slave %{_bindir}/pytest pytest %{_bindir}/pytest-%{python_version}
@@ -141,7 +115,6 @@
 %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
@@ -149,11 +122,4 @@
 %{python_sitelib}/*
 %endif
 
-%if %{with test}
-%files -n python-pytest-doc
-%doc CHANGELOG.rst
-%doc doc/build/html
-%license LICENSE
-%endif
-
 %changelog

++++++ pytest-3.10.1.tar.gz -> pytest-5.0.1.tar.gz ++++++
++++ 49981 lines of diff (skipped)


Reply via email to