Hello community,
here is the log from the commit of package python-pyramid-chameleon for
openSUSE:Factory checked in at 2020-08-17 14:40:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyramid-chameleon (Old)
and /work/SRC/openSUSE:Factory/.python-pyramid-chameleon.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyramid-chameleon"
Mon Aug 17 14:40:05 2020 rev:4 rq:827179 version:0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pyramid-chameleon/python-pyramid-chameleon.changes
2020-04-21 13:06:51.088355660 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyramid-chameleon.new.3399/python-pyramid-chameleon.changes
2020-08-17 14:40:06.794575634 +0200
@@ -1,0 +2,7 @@
+Sun Aug 16 21:29:52 UTC 2020 - John Vandenberg <[email protected]>
+
+- Replace nose with pytest
+- Replace fix-test___call__spec_alreadyregistered.patch with
+ descriptive test exclusion
+
+-------------------------------------------------------------------
Old:
----
fix-test___call__spec_alreadyregistered.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyramid-chameleon.spec ++++++
--- /var/tmp/diff_new_pack.S9bQuC/_old 2020-08-17 14:40:07.702576010 +0200
+++ /var/tmp/diff_new_pack.S9bQuC/_new 2020-08-17 14:40:07.706576011 +0200
@@ -25,13 +25,12 @@
License: BSD-3-Clause AND ZPL-2.1 AND MIT
URL: https://github.com/Pylons/pyramid_chameleon
Source:
https://files.pythonhosted.org/packages/source/p/pyramid_chameleon/pyramid_chameleon-%{version}.tar.gz
-Patch0: fix-test___call__spec_alreadyregistered.patch
BuildRequires: %{python_module Chameleon}
BuildRequires: %{python_module hupper}
-BuildRequires: %{python_module nose}
BuildRequires: %{python_module plaster-pastedeploy}
BuildRequires: %{python_module plaster}
BuildRequires: %{python_module pyramid >= 1.4}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module virtualenv}
BuildRequires: fdupes
@@ -49,7 +48,6 @@
%setup -q -n pyramid_chameleon-%{version}
# Remove CC-SA-NC licensed stuff
rm -rf docs/
-%patch0 -p1
%build
%python_build
@@ -59,7 +57,8 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+# test___call__spec_alreadyregistered tries to import pyramid.tests
+%pytest -k 'not test___call__spec_alreadyregistered'
%files %{python_files}
%doc CHANGES.txt README.rst