14
0

4 Commits

Author SHA256 Message Date
aa89e8f8a8 Accepting request 1325513 from devel:languages:python
- Update to 8.1:
  * Remove run-time dependency on setuptools.
  * Replace pkg_resources namespace with PEP 420 native namespace.
  * Add --auto-path option. This automatically adds the path of all packages
    from the --package option to the test paths. (#198)
  * Improve @unittest.expectedFailure support, especially regarding
    post-mortem debugger. (#196)
  * Re-add a single import of pkg_resources to avoid other import issues in
    mixed pip/buildout environments. (#194)
  * Replace pkg_resources with importlib.metadata.
  * Remove setup.py ftest command. (#178)
  * Remove zope.testrunner.eggsupport. It is no longer usable as of
    setuptools 72.0.0. (#185)
  * Drop support for Python 3.8.
  * Add option --only-level=level to run tests only at the specified
    level. (#188)
- Clean up BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/1325513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=30
2026-01-06 16:45:41 +00:00
7fbd5761fd - Update to 8.1:
* Remove run-time dependency on setuptools.
  * Replace pkg_resources namespace with PEP 420 native namespace.
  * Add --auto-path option. This automatically adds the path of all packages
    from the --package option to the test paths. (#198)
  * Improve @unittest.expectedFailure support, especially regarding
    post-mortem debugger. (#196)
  * Re-add a single import of pkg_resources to avoid other import issues in
    mixed pip/buildout environments. (#194)
  * Replace pkg_resources with importlib.metadata.
  * Remove setup.py ftest command. (#178)
  * Remove zope.testrunner.eggsupport. It is no longer usable as of
    setuptools 72.0.0. (#185)
  * Drop support for Python 3.8.
  * Add option --only-level=level to run tests only at the specified
    level. (#188)
- Clean up BuildRequires.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=59
2026-01-06 02:46:55 +00:00
514a917e15 Accepting request 1301411 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zope.testrunner?expand=0&rev=29
2025-08-26 12:57:30 +00:00
cd4be871eb - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.testrunner?expand=0&rev=57
2025-08-26 09:52:45 +00:00
4 changed files with 48 additions and 11 deletions

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Jan 6 02:46:39 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 8.1:
* Remove run-time dependency on setuptools.
* Replace pkg_resources namespace with PEP 420 native namespace.
* Add --auto-path option. This automatically adds the path of all packages
from the --package option to the test paths. (#198)
* Improve @unittest.expectedFailure support, especially regarding
post-mortem debugger. (#196)
* Re-add a single import of pkg_resources to avoid other import issues in
mixed pip/buildout environments. (#194)
* Replace pkg_resources with importlib.metadata.
* Remove setup.py ftest command. (#178)
* Remove zope.testrunner.eggsupport. It is no longer usable as of
setuptools 72.0.0. (#185)
* Drop support for Python 3.8.
* Add option --only-level=level to run tests only at the specified
level. (#188)
- Clean up BuildRequires.
-------------------------------------------------------------------
Tue Aug 26 09:52:11 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 1 16:06:08 UTC 2025 - Markéta Machová <mmachova@suse.com> Tue Apr 1 16:06:08 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-zope.testrunner # spec file for package python-zope.testrunner
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# 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
@@ -24,27 +24,35 @@
%define psuffix %{nil} %define psuffix %{nil}
%bcond_with test %bcond_with test
%endif %endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-zope.testrunner%{psuffix} Name: python-zope.testrunner%{psuffix}
Version: 6.6.1 Version: 8.1
Release: 0 Release: 0
Summary: Zope testrunner script Summary: Zope testrunner script
License: ZPL-2.1 License: ZPL-2.1
URL: https://github.com/zopefoundation/zope.testrunner URL: https://github.com/zopefoundation/zope.testrunner
Source: https://files.pythonhosted.org/packages/source/z/zope.testrunner/zope_testrunner-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/z/zope_testrunner/zope_testrunner-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.exceptions}
BuildRequires: %{python_module zope.interface}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Requires: python-zope.exceptions Requires: python-zope.exceptions
Requires: python-zope.interface Requires: python-zope.interface
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch %endif
%if %{with test} %if %{with test}
BuildRequires: %{python_module zope.testing} BuildRequires: %{python_module zope.testing}
BuildRequires: %{python_module zope.testrunner = %{version}} BuildRequires: %{python_module zope.testrunner = %{version}}
@@ -84,12 +92,15 @@ $python -m zope.testrunner --test-path=src -vv
%postun %postun
%python_uninstall_alternative zope-testrunner %python_uninstall_alternative zope-testrunner
%pre
%python_libalternatives_reset_alternative zope-testrunner
%files %{python_files} %files %{python_files}
%license LICENSE.md %license LICENSE.md
%doc README.rst %doc README.rst
%python_alternative %{_bindir}/zope-testrunner %python_alternative %{_bindir}/zope-testrunner
%dir %{python_sitelib}/zope
%{python_sitelib}/zope/testrunner %{python_sitelib}/zope/testrunner
%{python_sitelib}/zope.testrunner-%{version}-py*-nspkg.pth
%{python_sitelib}/zope[_.]testrunner-%{version}.dist-info %{python_sitelib}/zope[_.]testrunner-%{version}.dist-info
%endif %endif

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65389bb17634291cab3590bb9addc6ff010e6907440e772a04dcb2b8029acfde
size 155129