Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aspectlib for
openSUSE:Factory checked in at 2026-09-28 10:36:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aspectlib (Old)
and /work/SRC/openSUSE:Factory/.python-aspectlib.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aspectlib"
Mon Sep 28 10:36:17 2026 rev:10 rq:1380055 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aspectlib/python-aspectlib.changes
2023-08-18 19:27:09.771187181 +0200
+++
/work/SRC/openSUSE:Factory/.python-aspectlib.new.383539/python-aspectlib.changes
2026-09-28 10:36:58.441133082 +0200
@@ -1,0 +2,6 @@
+Thu Sep 24 01:09:33 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-9.1.patch:
+ * Use pathlib.Path parameters for pytest_ignore_collect().
+
+-------------------------------------------------------------------
New:
----
support-pytest-9.1.patch
----------(New B)----------
New:
- Add patch support-pytest-9.1.patch:
* Use pathlib.Path parameters for pytest_ignore_collect().
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aspectlib.spec ++++++
--- /var/tmp/diff_new_pack.nURjC6/_old 2026-09-28 10:36:59.075159658 +0200
+++ /var/tmp/diff_new_pack.nURjC6/_new 2026-09-28 10:36:59.080159867 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-aspectlib
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-aspectlib
Version: 2.0.0
@@ -25,6 +24,8 @@
License: BSD-2-Clause
URL: https://github.com/ionelmc/python-aspectlib
Source:
https://files.pythonhosted.org/packages/source/a/aspectlib/aspectlib-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on
gh#ionelmc/python-aspectlib#b85abdb0565d1598ce56bd49d49dc709d4e16081
+Patch0: support-pytest-9.1.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -35,13 +36,6 @@
BuildRequires: %{python_module fields}
BuildRequires: %{python_module process-tests}
BuildRequires: %{python_module pytest}
-%if %{with python2}
-BuildRequires: python-mock
-BuildRequires: python-trollius
-%endif
-%ifpython2
-Requires: python-trollius
-%endif
%python_subpackages
%description
@@ -67,11 +61,11 @@
%check
# ignore deprecation warnings because of signature of throw() is deprecated
-%pytest --ignore=src -W ignore::DeprecationWarning
+%pytest --ignore=src -W ignore::DeprecationWarning -vv
%files %{python_files}
%license LICENSE
%doc AUTHORS.rst CHANGELOG.rst README.rst
%{python_sitelib}/aspectlib
-%{python_sitelib}/aspectlib-%{version}*-info
+%{python_sitelib}/aspectlib-%{version}.dist-info
++++++ support-pytest-9.1.patch ++++++
>From b85abdb0565d1598ce56bd49d49dc709d4e16081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= <[email protected]>
Date: Mon, 12 Aug 2024 18:36:13 +0300
Subject: [PATCH] Fix some cleanup regressions.
---
tests/conftest.py | 7 ++++---
tests/test_aspectlib.py | 2 +-
tests/test_integrations.py | 2 +-
3 files changed, 6 insertions(+), 5 deletions(-)
Index: aspectlib-2.0.0/tests/conftest.py
===================================================================
--- aspectlib-2.0.0.orig/tests/conftest.py
+++ aspectlib-2.0.0/tests/conftest.py
@@ -1,5 +1,6 @@
-def pytest_ignore_collect(path, config):
- basename = path.basename
+from pathlib import Path
- if 'pytestsupport' in basename:
+
+def pytest_ignore_collect(collection_path: Path, config):
+ if 'pytestsupport' in collection_path.__fspath__():
return True