Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-hypercorn for openSUSE:Factory checked in at 2024-04-02 16:43:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-hypercorn (Old) and /work/SRC/openSUSE:Factory/.python-hypercorn.new.1905 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hypercorn" Tue Apr 2 16:43:47 2024 rev:2 rq:1164000 version:0.16.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-hypercorn/python-hypercorn.changes 2024-02-21 17:57:46.070235467 +0100 +++ /work/SRC/openSUSE:Factory/.python-hypercorn.new.1905/python-hypercorn.changes 2024-04-02 16:46:33.185913839 +0200 @@ -1,0 +2,6 @@ +Tue Apr 2 02:07:15 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com> + +- Reflow spec file. +- Skip a test broken by new trio. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-hypercorn.spec ++++++ --- /var/tmp/diff_new_pack.S1Tr33/_old 2024-04-02 16:46:33.721931980 +0200 +++ /var/tmp/diff_new_pack.S1Tr33/_new 2024-04-02 16:46:33.725932116 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-Hypercorn +# spec file for package python-hypercorn # # Copyright (c) 2024 SUSE LLC # @@ -17,7 +17,6 @@ # avoid taskgroup backports -%define skip_python39 1 %define skip_python310 1 Name: python-hypercorn Version: 0.16.0 @@ -26,21 +25,21 @@ License: MIT URL: https://github.com/pgjones/hypercorn/ Source: https://github.com/pgjones/hypercorn/archive/refs/tags/%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module pip} -BuildRequires: %{python_module poetry-core >= 1} BuildRequires: %{python_module exceptiongroup >= 1.1.0} BuildRequires: %{python_module h11} BuildRequires: %{python_module h2 >= 3.1.0} BuildRequires: %{python_module hypothesis} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core >= 1} BuildRequires: %{python_module priority} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-trio} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module trio >= 0.22.0} BuildRequires: %{python_module wsproto >= 0.14.0} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-exceptiongroup >= 1.1.0 Requires: python-h11 Requires: python-h2 >= 3.1.0 @@ -64,9 +63,6 @@ %build %pyproject_wheel -%check -%pytest - %install %pyproject_install %python_expand %fdupes %{buildroot}/%{$python_sitelib} @@ -75,10 +71,9 @@ %python_expand chmod -x %{buildroot}/%{$python_sitelib}/hypercorn/protocol/h11.py %python_expand chmod -x %{buildroot}/%{$python_sitelib}/hypercorn/protocol/h2.py -%files %{python_files} -%{python_sitelib}/hypercorn -%{python_sitelib}/hypercorn-%{version}.dist-info -%python_alternative %{_bindir}/hypercorn +%check +# Broken with new trio +%pytest -k 'not test_startup_failure' %post %python_install_alternative hypercorn @@ -86,4 +81,8 @@ %postun %python_uninstall_alternative hypercorn +%files %{python_files} +%{python_sitelib}/hypercorn +%{python_sitelib}/hypercorn-%{version}.dist-info +%python_alternative %{_bindir}/hypercorn