Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-apipkg for openSUSE:Factory checked in at 2025-12-02 13:18:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-apipkg (Old) and /work/SRC/openSUSE:Factory/.python-apipkg.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-apipkg" Tue Dec 2 13:18:27 2025 rev:13 rq:1320321 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-apipkg/python-apipkg.changes 2023-10-12 11:51:41.993922856 +0200 +++ /work/SRC/openSUSE:Factory/.python-apipkg.new.14147/python-apipkg.changes 2025-12-02 13:18:38.007017193 +0100 @@ -1,0 +2,7 @@ +Wed Nov 26 03:58:45 UTC 2025 - Steve Kowalik <[email protected]> + +- Add patch support-pytest-9.patch: + * Fix function defintion as per pytest 9. +- Correct BuildRequires to match reality. + +------------------------------------------------------------------- New: ---- _scmsync.obsinfo build.specials.obscpio support-pytest-9.patch ----------(New B)---------- New: - Add patch support-pytest-9.patch: * Fix function defintion as per pytest 9. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-apipkg.spec ++++++ --- /var/tmp/diff_new_pack.Hnh0Mv/_old 2025-12-02 13:18:39.155065394 +0100 +++ /var/tmp/diff_new_pack.Hnh0Mv/_new 2025-12-02 13:18:39.159065562 +0100 @@ -30,18 +30,19 @@ Release: 0 Summary: Namespace control and lazy-import mechanism License: MIT -Group: Development/Languages/Python URL: https://github.com/pytest-dev/apipkg/ Source: https://github.com/pytest-dev/apipkg/archive/refs/tags/v%{version}.tar.gz#/apipkg-%{version}-gh.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/pytest-dev/apipkg/pull/58 +Patch0: support-pytest-9.patch %if %{with test} BuildRequires: %{python_module apipkg = %{version}} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 7} +# Assumes setuptools is installed, Python 3.12+ +BuildRequires: %{python_module setuptools} %endif BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -90,6 +91,6 @@ %license LICENSE %doc README.rst %{python_sitelib}/apipkg -%{python_sitelib}/apipkg-%{version}*-info +%{python_sitelib}/apipkg-%{version}.dist-info %endif ++++++ _scmsync.obsinfo ++++++ mtime: 1764129542 commit: 96bb93e28f3d261b490a4ee61cdb0941af4011c7b9f76e78063fcb39caa82a92 url: https://src.opensuse.org/python-pytest/python-apipkg.git revision: 96bb93e28f3d261b490a4ee61cdb0941af4011c7b9f76e78063fcb39caa82a92 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 2025-11-26 05:10:35.000000000 +0100 @@ -0,0 +1 @@ +.osc ++++++ support-pytest-9.patch ++++++ >From dd5a5b755003989746139e847bf3eeaee91f1bb3 Mon Sep 17 00:00:00 2001 From: Steve Kowalik <[email protected]> Date: Wed, 26 Nov 2025 14:48:43 +1100 Subject: [PATCH] Support pytest 9 Change the function specification of pytest_report_header to match what pytest 9 expects. Closes #55 --- conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conftest.py b/conftest.py index 795c06b..3b70f03 100644 --- a/conftest.py +++ b/conftest.py @@ -6,7 +6,7 @@ INSTALL_TYPE = "editable" if apipkg.__file__ == LOCAL_APIPKG else "full" -def pytest_report_header(startdir): +def pytest_report_header(start_path): return "apipkg {install_type} install version={version}".format( install_type=INSTALL_TYPE, version=apipkg.__version__ )
