diff --git a/python-trio.spec b/python-trio.spec index 41bf7f9430c041e08e3c7de0ad5e07a96076ca6d..508889eb84701b384f94f38a265ab34bb42026e5 100644 --- a/python-trio.spec +++ b/python-trio.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-trio Version: 0.27.0 -Release: 1 +Release: 2 Summary: A friendly Python library for async concurrency and I/O License: Apache-2.0 URL: https://github.com/python-trio/trio -Source0: https://files.pythonhosted.org/packages/17/d1/a83dee5be404da7afe5a71783a33b8907bacb935a6dc8c69ab785e4a3eed/trio-0.27.0.tar.gz +Source0: https://github.com/python-trio/trio/archive/v%{version}/trio-%{version}.tar.gz BuildArch: noarch %description The Trio project's goal is to produce a production-quality, permissively licensed, @@ -28,12 +28,15 @@ BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-pip BuildRequires: python3-wheel -BuildRequires: python3-hatchling +BuildRequires: python3-hatchling # General requires BuildRequires: python3-attrs BuildRequires: python3-sortedcontainers BuildRequires: python3-idna BuildRequires: python3-cffi +BuildRequires: python3-outcome +BuildRequires: python3-sniffio +BuildRequires: python3-pytest %description -n python3-trio The Trio project's goal is to produce a production-quality, permissively licensed, @@ -88,6 +91,9 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . +%check +%pytest -- --pyargs trio -p trio._tests.pytest_plugin --verbose --skip-optional-imports + %files -n python3-trio %license LICENSE LICENSE.APACHE2 LICENSE.MIT %doc README.rst @@ -97,6 +103,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Nov 4 2024 Dongxing Wang - 0.27.0-2 +- Fix pytest-trio test error + * Thu Oct 24 2024 guochao - 0.27.0-1 - Upgrade package to 0.27.0 - Fix test.polish comments and tests diff --git a/trio-0.27.0.tar.gz b/trio-0.27.0.tar.gz index c3b5d40fd9d3a4b033a7aedb5133bfd5751689d8..98152e93bb17f8a9419742038bb8639cd79f59c2 100644 Binary files a/trio-0.27.0.tar.gz and b/trio-0.27.0.tar.gz differ