21 Commits

Author SHA256 Message Date
c41e9a30d6 - Rip out the requirement of the wheel.whl, recent setuptools no longer
require it.
- Add patch support-python314.patch:
  * Support Python 3.14 multiprocessing and argparse changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=39
2025-11-04 01:46:40 +00:00
9fdb4ac3a7 - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=36
2025-08-21 10:03:07 +00:00
d454144aa3 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=33
2025-07-16 13:06:39 +00:00
6364dbeba7 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=31
2024-06-04 20:44:07 +00:00
ac53ca7706 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=29
2024-05-07 20:15:39 +00:00
8d9101e00c - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=27
2024-02-09 21:44:10 +00:00
bbaed4fb0e - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=25
2024-01-08 05:40:45 +00:00
e4e8d3867e Accepting request 1081500 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=23
2023-04-21 14:20:28 +00:00
647fdb7303 Accepting request 998350 from home:bnavigator:branches:devel:languages:python
- 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!

OBS-URL: https://build.opensuse.org/request/show/998350
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=21
2022-08-20 21:28:15 +00:00
0e4a3ce3c5 Accepting request 974898 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/974898
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=19
2022-05-04 17:46:38 +00:00
6883a4c1a0 Accepting request 923788 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/923788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=18
2021-10-07 14:51:49 +00:00
Tomáš Chvátal
9e2ca8010a - Update to 0.9.2:
* Add --junit-xml-path to the junit plugin argument list
  * It is now possible to use the multiprocess and coverage plugins together, as long as all of the coverage config is put into the config file
  * Minor changes to be compatible with newer pythons (3.8, 3.9)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=16
2020-03-02 13:32:38 +00:00
d5430a4da2 - Add ignore-warnings-doctests.patch to supress warnings when running
doctests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=14
2019-11-11 03:26:34 +00:00
Tomáš Chvátal
d02b6b20c9 - Add dep on coverage as it is hard requirement based on requires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=12
2019-09-30 13:20:29 +00:00
Tomáš Chvátal
a9df8a5556 Accepting request 702903 from home:scarabeus_iv:branches:devel:languages:python
- Add patch to fix build with new mock versions:
  * fix-mock-dep.patch

OBS-URL: https://build.opensuse.org/request/show/702903
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=10
2019-05-14 17:13:21 +00:00
3676daabf1 - update to 0.9.1
- refresh remove_unittest2.patch
 * the prof plugin now uses cProfile instead of hotshot for profiling
 * skipped tests now include the user's reason in junit XML's message field
 * the prettyassert plugin mishandled multi-line function definitions
 * Using a plugin's CLI flag when the plugin is already enabled via config
   no longer errors
 * nose2.plugins.prettyassert, enabled with --pretty-assert
 * Cleanup code for EOLed python versions
 * Dropped support for distutils.
 * Result reporter respects failure status set by other plugins
 * JUnit XML plugin now includes the skip reason in its output

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=8
2019-04-08 11:22:28 +00:00
a11ace9b01 Accepting request 629533 from home:jengelh:branches:devel:languages:python
- Avoid name repetition in summary (rpmlint).

OBS-URL: https://build.opensuse.org/request/show/629533
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=6
2018-08-16 10:37:11 +00:00
bd54bf8eac - Remove dependency on unittest2
Add remove_unittest2.patch to faciliate that
- Upgrade to 0.8.0:
    List of changes is too long to show here, see
    https://github.com/nose-devs/nose2/blob/master/docs/changelog.rst
    changes between 0.6.5 and 0.8.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=5
2018-08-13 12:18:01 +00:00
2666d9a47a Accepting request 506615 from home:jengelh:branches:devel:languages:python
let's try this instead

OBS-URL: https://build.opensuse.org/request/show/506615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=3
2017-06-30 00:32:52 +00:00
Todd R
b89bea4f3f Accepting request 490251 from home:alarrosa:branches:devel:languages:python
- Use singlespec macros

OBS-URL: https://build.opensuse.org/request/show/490251
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=2
2017-04-24 14:57:26 +00:00
6b31a8d7b5 Accepting request 455097 from home:alarrosa:branches:devel:languages:python
New package python-nose2

OBS-URL: https://build.opensuse.org/request/show/455097
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nose2?expand=0&rev=1
2017-02-07 08:53:40 +00:00