Sync from SUSE:SLFO:Main python-nose2 revision 8b39a284a79865df66d48bd65e2c9591
This commit is contained in:
BIN
nose2-0.12.0.tar.gz
(Stored with Git LFS)
BIN
nose2-0.12.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
nose2-0.15.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
nose2-0.15.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,72 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 4 20:42:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.15.1:
|
||||||
|
* Fix a bug with config loading which caused custom ini configs
|
||||||
|
not to load if they were not named with a .cfg extension.
|
||||||
|
Thanks :user:`grhwalls` for the bug report!
|
||||||
|
* Official support for python3.13 betas. nose2 now tests itself
|
||||||
|
against Python 3.13.
|
||||||
|
* Official support for python3.13 betas. nose2 now tests itself
|
||||||
|
against Python 3.13.
|
||||||
|
* nose2 now supports loading configuration data from the
|
||||||
|
tool.nose2 table in pyproject.toml. Thanks to :user:`qequ`
|
||||||
|
for the PR! (:pr:`596`, :pr:`606`) On python 3.11+, tomllib
|
||||||
|
is used to parse TOML data. On python 3.10 and lower, tomli
|
||||||
|
must be installed to enable TOML support. Simply pip install
|
||||||
|
tomli as necessary.
|
||||||
|
* nose2 now supports loading configuration data from the
|
||||||
|
tool.nose2 table in pyproject.toml. Thanks to :user:`qequ`
|
||||||
|
for the PR! (:pr:`596`, :pr:`606`)
|
||||||
|
* On python 3.11+, tomllib is used to parse TOML data. On
|
||||||
|
python 3.10 and lower, tomli must be installed to enable TOML
|
||||||
|
support. Simply pip install tomli as necessary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 7 20:14:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.14.2:
|
||||||
|
* For the coverage plugin, add a config option, coverage-
|
||||||
|
combine, which defaults to False. When set, this config
|
||||||
|
invokes a coverage combine step before reporting results,
|
||||||
|
regardless of whether or not multiprocessing was used to run
|
||||||
|
tests. This allows reporting of coverage results via the
|
||||||
|
plugin on testsuites which invoke subprocesses.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 9 21:43:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.14.1:
|
||||||
|
* Fix the reporting of skipped tests in verbose mode on newer
|
||||||
|
pythons (3.12.1+), in which a skipped test is no longer
|
||||||
|
treated as "started". nose2 will not introduce a
|
||||||
|
StartTestEvent in such cases -- the fix is narrowly and
|
||||||
|
adjustment to the test reporter.
|
||||||
|
* Fix the reporting of skipped tests in verbose mode on newer
|
||||||
|
pythons (3.12.1+), in which a skipped test is no longer
|
||||||
|
treated as "started".
|
||||||
|
* nose2 will not introduce a StartTestEvent in such cases --
|
||||||
|
the fix is narrowly and adjustment to the test reporter.
|
||||||
|
- drop support-python312.patch (upstream)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 8 05:39:22 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.14.0;
|
||||||
|
* Add official support for python3.12
|
||||||
|
* Remove support for python3.6 and python3.7
|
||||||
|
* Remove support for python2 and older python3 versions
|
||||||
|
* Fix support for python3.12 to avoid warnings about addDuration.
|
||||||
|
* nose2 package metadata is converted to pyproject.toml format, using
|
||||||
|
setuptools.
|
||||||
|
* nose2 license metadata has been corrected in format and content to be
|
||||||
|
distributed in the sdist and wheel distributions correctly.
|
||||||
|
- Add patch support-python312.patch:
|
||||||
|
* Support changes made upstream in Python 3.12.1.
|
||||||
|
- Switch to autosetup macro.
|
||||||
|
- Instruct pip it isn't allowed to reach PyPi and teach it where to look for
|
||||||
|
wheels.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:28:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:28:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-nose2
|
# spec file for package python-nose2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,23 +16,25 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-nose2
|
Name: python-nose2
|
||||||
Version: 0.12.0
|
Version: 0.15.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The successor to the Python testing framework nose, based on unittest
|
Summary: The successor to the Python testing framework nose, based on unittest
|
||||||
License: BSD-2-Clause AND Python-2.0
|
License: BSD-2-Clause AND Python-2.0
|
||||||
URL: https://github.com/nose-devs/nose2
|
URL: https://github.com/nose-devs/nose2
|
||||||
Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
|
||||||
|
# Required for testsuite. Bring on python-wheel-wheel
|
||||||
|
Source1: https://files.pythonhosted.org/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools-wheel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun):update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Suggests: python-coverage
|
Suggests: python-coverage
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -43,7 +45,9 @@ 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.
|
nose2's purpose is to extend unittest to make testing nicer and easier to understand.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n nose2-%{version}
|
%autosetup -p1 -n nose2-%{version}
|
||||||
|
mkdir ../wheels
|
||||||
|
cp %{SOURCE1} ../wheels
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -59,7 +63,7 @@ export LC_CTYPE=C.UTF8
|
|||||||
%{python_expand # nose must test itself in an editable install
|
%{python_expand # nose must test itself in an editable install
|
||||||
$python -m venv editable-%{$python_bin_suffix} --system-site-packages
|
$python -m venv editable-%{$python_bin_suffix} --system-site-packages
|
||||||
. editable-%{$python_bin_suffix}/bin/activate
|
. editable-%{$python_bin_suffix}/bin/activate
|
||||||
pip install -e .
|
pip install --no-index --find-links /usr/lib/python%{$python_bin_suffix}/wheels --find-links ../wheels -e .
|
||||||
nose2 -v --pretty-assert
|
nose2 -v --pretty-assert
|
||||||
deactivate
|
deactivate
|
||||||
}
|
}
|
||||||
@@ -71,10 +75,10 @@ deactivate
|
|||||||
%python_uninstall_alternative nose2
|
%python_uninstall_alternative nose2
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license license.txt
|
%license LICENSE
|
||||||
%doc AUTHORS README.rst
|
%doc AUTHORS README.rst
|
||||||
%python_alternative %{_bindir}/nose2
|
%python_alternative %{_bindir}/nose2
|
||||||
%{python_sitelib}/nose2
|
%{python_sitelib}/nose2
|
||||||
%{python_sitelib}/nose2-%{version}*-info
|
%{python_sitelib}/nose2-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
wheel-0.42.0-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
wheel-0.42.0-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user