Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-pylint for
openSUSE:Factory checked in at 2026-01-21 14:27:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-pylint (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-pylint.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-pylint"
Wed Jan 21 14:27:39 2026 rev:2 rq:1328454 version:0.21.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-pylint/python-pytest-pylint.changes
2024-09-02 13:14:42.823009259 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-pylint.new.1928/python-pytest-pylint.changes
2026-01-21 14:27:40.956704665 +0100
@@ -1,0 +2,5 @@
+Wed Jan 21 09:58:54 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Add pytest9.patch to fix tests with pytest 9.0
+
+-------------------------------------------------------------------
New:
----
_scmsync.obsinfo
build.specials.obscpio
pytest9.patch
----------(New B)----------
New:
- Add pytest9.patch to fix tests with pytest 9.0
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-pylint.spec ++++++
--- /var/tmp/diff_new_pack.w7CuTL/_old 2026-01-21 14:27:42.224757514 +0100
+++ /var/tmp/diff_new_pack.w7CuTL/_new 2026-01-21 14:27:42.228757681 +0100
@@ -27,6 +27,8 @@
Source:
https://files.pythonhosted.org/packages/source/p/pytest-pylint/pytest-pylint-%{version}.tar.gz
# Remove archived https://github.com/pytest-dev/pytest-runner from
setup_requires
Patch0: rm-pytest-runner.patch
+# PATCH-FIX-OPENSUSE pytest9.patch
+Patch1: pytest9.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
++++++ _scmsync.obsinfo ++++++
mtime: 1768989563
commit: de06a6a3184fe77fe55042b0f139e286c4cd18aec8c334adfa563587de0be7cf
url: https://src.opensuse.org/python-pytest/python-pytest-pylint.git
revision: de06a6a3184fe77fe55042b0f139e286c4cd18aec8c334adfa563587de0be7cf
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-01-21 11:00:13.000000000 +0100
@@ -0,0 +1 @@
+.osc
++++++ pytest9.patch ++++++
Index: pytest-pylint-0.21.0/pytest_pylint/plugin.py
===================================================================
--- pytest-pylint-0.21.0.orig/pytest_pylint/plugin.py
+++ pytest-pylint-0.21.0/pytest_pylint/plugin.py
@@ -220,16 +220,16 @@ class PylintPlugin:
if hasattr(session.config, "cache"):
session.config.cache.set(HISTKEY, self.mtimes)
- def pytest_collect_file(self, path, parent):
+ def pytest_collect_file(self, file_path, parent):
"""Collect files on which pylint should run"""
- if path.ext != ".py":
+ if file_path.suffix != ".py":
return None
- rel_path = get_rel_path(path.strpath, str(parent.session.path))
+ rel_path = get_rel_path(str(file_path), str(parent.session.path))
if should_include_file(
rel_path, self.pylint_ignore, self.pylint_ignore_patterns
):
- item = PylintFile.from_parent(parent, path=Path(path), plugin=self)
+ item = PylintFile.from_parent(parent, path=file_path, plugin=self)
else:
return None
Index: pytest-pylint-0.21.0/pytest_pylint/tests/test_pytest_pylint.py
===================================================================
--- pytest-pylint-0.21.0.orig/pytest_pylint/tests/test_pytest_pylint.py
+++ pytest-pylint-0.21.0/pytest_pylint/tests/test_pytest_pylint.py
@@ -38,7 +38,7 @@ def test_nodeid_no_dupepath(testdir):
testdir.makepyfile(app="import sys")
result = testdir.runpytest("--pylint", "--verbose")
assert re.search(
- r"^FAILED\s+app\.py::PYLINT$", result.stdout.str(), flags=re.MULTILINE
+ r"^app\.py::PYLINT FAILED", result.stdout.str(), flags=re.MULTILINE
)