Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-named for openSUSE:Factory 
checked in at 2024-11-22 23:50:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-named (Old)
 and      /work/SRC/openSUSE:Factory/.python-named.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-named"

Fri Nov 22 23:50:59 2024 rev:2 rq:1225776 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-named/python-named.changes        
2024-11-14 16:10:56.160374722 +0100
+++ /work/SRC/openSUSE:Factory/.python-named.new.28523/python-named.changes     
2024-11-22 23:51:25.445146162 +0100
@@ -1,0 +2,10 @@
+Fri Nov 22 09:51:46 UTC 2024 - Matej Cepl <[email protected]>
+
+- Add no-coverage.patch eliminating coverage measurement.
+
+-------------------------------------------------------------------
+Fri Nov 22 09:12:07 UTC 2024 - ecsos <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------

New:
----
  no-coverage.patch

BETA DEBUG BEGIN:
  New:
- Add no-coverage.patch eliminating coverage measurement.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-named.spec ++++++
--- /var/tmp/diff_new_pack.Ej7LwL/_old  2024-11-22 23:51:26.325182825 +0100
+++ /var/tmp/diff_new_pack.Ej7LwL/_new  2024-11-22 23:51:26.325182825 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%{?sle15_python_module_pythons}
 Name:           python-named
 Version:        1.4.2
 Release:        0
@@ -23,9 +24,11 @@
 License:        MIT
 URL:            https://github.com/nekitdev/named
 Source:         
https://github.com/nekitdev/named/archive/refs/tags/v%{version}.tar.gz#/named-%{version}-gh.tar.gz
+# PATCH-FEATURE-OPENSUSE no-coverage.patch [email protected]
+# Don't calculate test coverage
+Patch0:         no-coverage.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module poetry-core >= 1.9.0}
-BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module typing-extensions}
 BuildRequires:  fdupes

++++++ no-coverage.patch ++++++
---
 pyproject.toml |   22 ----------------------
 1 file changed, 22 deletions(-)

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,9 +40,7 @@ ruff = "0.3.2"
 mypy = "1.9.0"
 
 [tool.poetry.group.test.dependencies]
-coverage = "7.4.4"
 pytest = "8.1.1"
-pytest-cov = "4.1.0"
 
 [tool.poetry.group.docs]
 optional = true
@@ -65,28 +63,8 @@ changelogging = "1.4.1"
 line-length = 100
 
 [tool.pytest.ini_options]
-addopts = "--cov named"
 testpaths = ["tests"]
 
-[tool.coverage.run]
-source = ["named"]
-
-[tool.coverage.report]
-ignore_errors = true
-exclude_lines = [
-    "pragma: never",
-    "pragma: no cover",
-    "if TYPE_CHECKING",
-    "@overload",
-    "@required",
-    "raise NotImplementedError",
-    "raise AssertionError",
-    "def __repr__",
-]
-
-[tool.coverage.html]
-directory = "coverage"
-
 [tool.mypy]
 strict = true
 

Reply via email to