Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nose2 for openSUSE:Factory 
checked in at 2022-08-23 14:25:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nose2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-nose2.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nose2"

Tue Aug 23 14:25:32 2022 rev:10 rq:998408 version:0.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nose2/python-nose2.changes        
2022-05-06 18:59:12.861348408 +0200
+++ /work/SRC/openSUSE:Factory/.python-nose2.new.2083/python-nose2.changes      
2022-08-23 14:25:33.955083394 +0200
@@ -1,0 +2,64 @@
+Sat Aug 20 11:46:12 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.12.0
+  * Note: The 0.12.x series will be the final releases of nose2
+    which support Python 2.
+  * Passing --junit-xml-path now implies --junit-xml when using the
+    junitxml plugin. This means that the --junit-xml flag can be
+    omitted when --junit-xml-path is specified. (:issue:`521`)
+  * Remove the dependency on coverage. Use of the coverage plugin
+    now requires that you either install coverage independently, or
+    use the extra, nose2[coverage_plugin]. As a result, nose2 no
+    longer has any strict dependencies
+  * Remove the dependency on six, instead using a vendored copy.
+    This ensures that the dependency for nose2 doesn't conflict
+    with application dependencies
+  * nose2 no longer provides an entry-point named based on the
+    current python version, e.g. nose2-3.8 on python3.8 . Only the
+    nose2 command is provided.
+  * Remove support for setup.py test on nose2 itself. This usage is
+    deprecated by setuptools. Developers contributing to nose2 are
+    encouraged to use tox to run nose2's testsuite, per the
+    contributing guide.
+- Release 0.11.0
+  * Test classes now have their short description (first line of
+    docstring) printed in verbose output
+  * The junitxml plugin now sets timestamp on each testcase node as
+    an ISO-8601 timestamp. Thanks to :user:`deeplow` for the
+    contribution!
+  * Drop support for Python 3.5
+  * Python 3.10 is now officially supported. Python 3.11-dev will
+    be supported on a best-effort basis. Thanks to :user:`hugovk`
+    and :user:`tirkarthi` for their contributions!
+  * Add support for test classes when running with the
+    multiprocessing plugin. Thanks to :user:`ltfish` for the
+    initial contribution and :user:`stefanholek` for the refinement
+    to this change!
+- Release 0.10.0
+  * Support for subtests!
+  * Notes for plugin authors about subtest support:
+    - Subtest failures will produce a TestOutcomeEvent with outcome
+      = "subtest"
+    - Subtest events can be failures, but they do not indicate
+      success -- the containing test will send a success event if
+      no subtests fail
+  * Drop support for Python 3.4
+  * Python 3.8 and 3.9 are now officially supported
+  * Improve helptext for the multiprocess plugin's -N option
+  * When run with reduced verbosity (e.g. with -q), nose2 will no
+    longer print an empty line before test reports
+  * The plugin registry will no longer contain duplicate plugins
+    and or base event.Plugin instances
+  * Fix function test case implementation of id, __str__, and
+    __repr__. This removes the injected transplant_class.<locals>
+    from reporting output
+  * Doctest loading will now skip setup.py files in the project
+    root
+  * Class methods decorated (e.g. with mock.patch) are no longer
+    incorrectly picked up by the function loader
+- Drop patches
+  * remove_unittest2.patch
+  * ignore-warnings-doctests.patch
+  * fix-mock-dep.patch
+
+-------------------------------------------------------------------

Old:
----
  fix-mock-dep.patch
  ignore-warnings-doctests.patch
  nose2-0.9.2.tar.gz
  remove_unittest2.patch

New:
----
  nose2-0.12.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-nose2.spec ++++++
--- /var/tmp/diff_new_pack.f8ejoB/_old  2022-08-23 14:25:34.699085031 +0200
+++ /var/tmp/diff_new_pack.f8ejoB/_new  2022-08-23 14:25:34.703085040 +0200
@@ -18,53 +18,50 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-nose2
-Version:        0.9.2
+Version:        0.12.0
 Release:        0
-Summary:        Second generation of the "nose" Python testing framework
+Summary:        The successor to the Python testing framework nose, based on 
unittest
 License:        BSD-2-Clause AND Python-2.0
 URL:            https://github.com/nose-devs/nose2
 Source:         
https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
-Patch0:         remove_unittest2.patch
-Patch1:         fix-mock-dep.patch
-Patch2:         ignore-warnings-doctests.patch
-BuildRequires:  %{python_module coverage >= 4.4.1}
+BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six >= 1.1}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-coverage >= 4.4.1
-Requires:       python-six >= 1.1
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
+Suggests:       python-coverage
 BuildArch:      noarch
 %python_subpackages
 
 %description
-nose2 is a new version of the nose unit testing framework,
-supporting Python 2.6+ and 3.x, but not 2.4.
-nose2 does not need a custom importer anymore and instead imports
-modules with __import__. nose2 does not support all of the
-test project layouts that nose did, and also does not
-support package-level fixtures. Almost all configuration for nose2
-is to be done through config files, not command-line options.
+nose2 is the successor to nose. It's unittest with plugins.
+nose2 is a new project and does not support all of the behaviors of nose.
+nose2's purpose is to extend unittest to make testing nicer and easier to 
understand.
 
 %prep
 %setup -q -n nose2-%{version}
-%autopatch -p1
-rm -rf *.egg-info/
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
+# -I : work around boo#1201041
+%pyproject_install -I
 %python_clone -a %{buildroot}%{_bindir}/nose2
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LC_CTYPE=C.UTF8
-%pyunittest discover -v
+%{python_expand # nose must test itself in an editable install
+$python -m venv editable-%{$python_bin_suffix} --system-site-packages
+. editable-%{$python_bin_suffix}/bin/activate
+pip install -e .
+nose2 -v --pretty-assert
+deactivate
+}
 
 %post
 %python_install_alternative nose2
@@ -76,6 +73,7 @@
 %license license.txt
 %doc AUTHORS README.rst
 %python_alternative %{_bindir}/nose2
-%{python_sitelib}/*
+%{python_sitelib}/nose2
+%{python_sitelib}/nose2-%{version}*-info
 
 %changelog

++++++ nose2-0.9.2.tar.gz -> nose2-0.12.0.tar.gz ++++++
++++ 18275 lines of diff (skipped)

Reply via email to