Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ef3be62b95 | |||
| 34f810fe87 |
@@ -1,10 +0,0 @@
|
||||
--- nest_asyncio-1.6.0/tests/nest_test.py
|
||||
+++ nest_asyncio-1.6.0/tests/nest_test.py
|
||||
@@ -62,6 +62,7 @@ class NestTest(unittest.TestCase):
|
||||
result = self.loop.run_until_complete(f())
|
||||
self.assertEqual(result, 42)
|
||||
|
||||
+ @unittest.skipIf(sys.version_info >= (3, 14), "Fails due to stricter asyncio timeout checks in Python 3.14+")
|
||||
def test_timeout(self):
|
||||
|
||||
async def f1():
|
||||
@@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 16 07:31:04 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add py314-skip-timeout-test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 14:37:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-nest-asyncio
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,7 +24,6 @@ Summary: Patch asyncio to allow nested event loops
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/erdewit/nest_asyncio
|
||||
Source: https://files.pythonhosted.org/packages/source/n/nest_asyncio/nest_asyncio-%{version}.tar.gz
|
||||
Patch1: py314-skip-timeout-test.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -48,7 +47,7 @@ This module patches asyncio to allow nested use of ``asyncio.run`` and
|
||||
``loop.run_until_complete``.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n nest_asyncio-%{version}
|
||||
%setup -q -n nest_asyncio-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
Reference in New Issue
Block a user