[packages/python3-aiohappyeyeballs] Up to 2.7.1
arekm
arekm at pld-linux.org
Thu Nov 12 07:16:09 CET 2026
commit c06b45d5c091626de3e2c472c0d1a79175d41b93
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 12 00:59:23 2026 +0100
Up to 2.7.1
aiohappyeyeballs-pytest_asyncio.patch | 25 -------------------------
python3-aiohappyeyeballs.spec | 14 ++++++--------
2 files changed, 6 insertions(+), 33 deletions(-)
---
diff --git a/python3-aiohappyeyeballs.spec b/python3-aiohappyeyeballs.spec
index ca91427..dfc1c13 100644
--- a/python3-aiohappyeyeballs.spec
+++ b/python3-aiohappyeyeballs.spec
@@ -6,19 +6,18 @@
Summary: Happy Eyeballs for asyncio
Summary(pl.UTF-8): Algorytm Happy Eyeballs dla asyncio
Name: python3-%{module}
-Version: 2.6.1
+Version: 2.7.1
Release: 1
License: PSF
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/aiohappyeyeballs/
Source0: https://files.pythonhosted.org/packages/source/a/aiohappyeyeballs/%{module}-%{version}.tar.gz
-# Source0-md5: 2fa845a1ce2f7730045fa763aa9987f8
-Patch0: aiohappyeyeballs-pytest_asyncio.patch
+# Source0-md5: 0f2e6f584d94d4d21d7d6911f584fb2c
URL: https://pypi.org/project/aiohappyeyeballs/
BuildRequires: python3-build
BuildRequires: python3-installer
-BuildRequires: python3-modules >= 1:3.9
-BuildRequires: python3-poetry-core
+BuildRequires: python3-modules >= 1:3.10
+BuildRequires: python3-poetry-core >= 2.0.0
%if %{with tests}
BuildRequires: python3-pytest >= 7
BuildRequires: python3-pytest-cov >= 3
@@ -26,7 +25,7 @@ BuildRequires: python3-pytest-asyncio >= 0.23.2
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 2.044
-Requires: python3-modules >= 1:3.9
+Requires: python3-modules >= 1:3.10
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,13 +39,12 @@ Ta biblioteka pozwala na łączenie z użyciem algorythmu Happy Eyeballs
%prep
%setup -q -n %{module}-%{version}
-%patch -P0 -p1
%build
%py3_build_pyproject
%if %{with tests}
-%{__python} -m zipfile -e build-3/*.whl build-3-test
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
PYTEST_PLUGINS=pytest_cov.plugin,pytest_asyncio.plugin \
%{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
diff --git a/aiohappyeyeballs-pytest_asyncio.patch b/aiohappyeyeballs-pytest_asyncio.patch
deleted file mode 100644
index 91a5637..0000000
--- a/aiohappyeyeballs-pytest_asyncio.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-event_loop fixture no longer exists in pytest_asyncio 1.0.0
---- aiohappyeyeballs-2.6.1/tests/conftest.py.orig 1970-01-01 01:00:00.000000000 +0100
-+++ aiohappyeyeballs-2.6.1/tests/conftest.py 2025-07-12 16:32:28.421774801 +0200
-@@ -41,12 +41,11 @@ def long_repr_strings() -> Generator[Non
-
-
- @pytest.fixture(autouse=True)
--def verify_no_lingering_tasks(
-- event_loop: asyncio.AbstractEventLoop,
--) -> Generator[None, None, None]:
-+def verify_no_lingering_tasks() -> Generator[None, None, None]:
- """Verify that all tasks are cleaned up."""
-+ event_loop = asyncio.new_event_loop()
- tasks_before = asyncio.all_tasks(event_loop)
-- yield
-+ yield event_loop
-
- tasks = asyncio.all_tasks(event_loop) - tasks_before
- for task in tasks:
-@@ -60,3 +60,5 @@ def verify_no_lingering_tasks(
- with long_repr_strings():
- pytest.fail(f"Lingering timer after test {handle!r}")
- handle.cancel()
-+
-+ event_loop.close()
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-aiohappyeyeballs.git/commitdiff/c06b45d5c091626de3e2c472c0d1a79175d41b93
More information about the pld-cvs-commit
mailing list