Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sniffio for openSUSE:Factory checked in at 2023-10-13 23:13:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sniffio (Old) and /work/SRC/openSUSE:Factory/.python-sniffio.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sniffio" Fri Oct 13 23:13:51 2023 rev:9 rq:1117517 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sniffio/python-sniffio.changes 2023-04-22 21:59:20.420814653 +0200 +++ /work/SRC/openSUSE:Factory/.python-sniffio.new.20540/python-sniffio.changes 2023-10-13 23:13:59.557538829 +0200 @@ -1,0 +2,5 @@ +Thu Oct 5 17:20:13 UTC 2023 - Matej Cepl <mc...@cepl.eu> + +- Clean up the SPEC file + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sniffio.spec ++++++ --- /var/tmp/diff_new_pack.7vCy0r/_old 2023-10-13 23:14:00.965589900 +0200 +++ /var/tmp/diff_new_pack.7vCy0r/_new 2023-10-13 23:14:00.965589900 +0200 @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} +%define skip_python2 1 Name: python-sniffio Version: 1.3.0 Release: 0 @@ -28,12 +27,13 @@ URL: https://github.com/python-trio/sniffio Source: https://github.com/python-trio/sniffio/archive/v%{version}.tar.gz#/sniffio-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210127.3a18043 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module curio} +# BuildRequires: %%{python_module curio} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -47,17 +47,18 @@ %setup -q -n sniffio-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -k 'not test_curio' %files %{python_files} %doc README.rst %license LICENSE LICENSE.APACHE2 LICENSE.MIT -%{python_sitelib}/* +%{python_sitelib}/sniffio +%{python_sitelib}/sniffio-%{version}*-info