# # spec file for package python-aiohappyeyeballs # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?sle15_python_module_pythons} Name: python-aiohappyeyeballs Version: 2.4.8 Release: 1.3 Summary: Happy Eyeballs for asyncio License: Python-2.0 URL: https://github.com/aio-libs/aiohappyeyeballs Source: https://files.pythonhosted.org/packages/source/a/aiohappyeyeballs/aiohappyeyeballs-%{version}.tar.gz BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core >= 1.0.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch %python_subpackages %description This library exists to allow connecting with Happy Eyeballs (RFC 8305) when you already have a list of addrinfo and not a DNS name. The stdlib version of `loop.create_connection()` will only work when you pass in an unresolved name which is not a good fit when using DNS caching or resolving names via another method such was `zeroconf`. %prep %autosetup -p1 -n aiohappyeyeballs-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/aiohappyeyeballs %{python_sitelib}/aiohappyeyeballs-%{version}.dist-info %changelog * Tue Mar 4 2025 Martin Hauke <mardnh@gmx.de> - Update to version 2.4.8 Bug Fixes * Close runner up sockets in the event there are multiple winners - Update to version 2.4.7 Bug Fixes * Resolve warnings when running tests. * Instead of raising SystemExit which causes a RuntimeError, mock out SystemExit to a new exception. * Make sure the event loop is closed in tests. * Sat Feb 8 2025 Martin Hauke <mardnh@gmx.de> - Update to version 2.4.6 Bug Fixes * Ensure all timers are cancelled when after staggered race finishes. - Update to version 2.4.5 Bug Fixes * Keep classifiers in project to avoid automatic enrichment. * Move classifiers to prevent recalculation by Poetry. * Tue Dec 3 2024 Martin Hauke <mardnh@gmx.de> - Update to version 2.4.4 * fix: handle OSError on failure to close socket instead of raising IndexError (#114). * Mon Oct 28 2024 Martin Hauke <mardnh@gmx.de> - Update to version 2.4.3 * fix: rewrite staggered_race to be race safe. * fix: re-raise RuntimeError when uvloop raises RuntimeError during connect (#105). - Update to version 2.4.2 * fix: copy staggered from standard lib for python 3.12+ (#95). - Update to version 2.4.1 * fix: avoid passing loop to staggered.staggered_race (#94). - Update to version 2.4.0 * docs: fix a trivial typo in README.md (#84). * feat: add support for python 3.13 (#86). * Sat Aug 31 2024 Guang Yee <gyee@suse.com> - Enable sle15_python_module_pythons. * Mon Aug 19 2024 Steve Kowalik <steven.kowalik@suse.com> - Initial release of 2.3.7.