Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pygments-pytest for openSUSE:Factory checked in at 2024-07-30 11:53:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pygments-pytest (Old) and /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.1882 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-pygments-pytest" Tue Jul 30 11:53:29 2024 rev:12 rq:1190075 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pygments-pytest/python-pygments-pytest.changes 2024-01-08 23:44:33.224766279 +0100 +++ /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.1882/python-pygments-pytest.changes 2024-07-30 11:53:48.811947812 +0200 @@ -1,0 +2,6 @@ +Mon Jul 29 04:21:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> + +- Switch to pyproject macros. +- Skip a test that fails with Pytest 8.3. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pygments-pytest.spec ++++++ --- /var/tmp/diff_new_pack.Sq4zh6/_old 2024-07-30 11:53:49.319968288 +0200 +++ /var/tmp/diff_new_pack.Sq4zh6/_new 2024-07-30 11:53:49.323968450 +0200 @@ -24,10 +24,12 @@ License: MIT URL: https://github.com/asottile/pygments-pytest Source: https://github.com/asottile/pygments-pytest/archive/v%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pygments-ansi-color >= 0.0.3} BuildRequires: %{python_module pygments} BuildRequires: %{python_module pytest >= 4.0.1} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pygments @@ -42,19 +44,20 @@ %setup -q -n pygments-pytest-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# https://github.com/pytest-dev/pygments-pytest/issues/135 +%pytest -k 'not test_warnings' %files %{python_files} %doc README.md %license LICENSE %pycache_only %{python_sitelib}/__pycache__/*.pyc %{python_sitelib}/pygments_pytest.py -%{python_sitelib}/pygments_pytest-%{version}*-info +%{python_sitelib}/pygments_pytest-%{version}.dist-info