[packages/python3-aiofiles] - updated to 25.1.0

qboosh qboosh at pld-linux.org
Tue Jan 27 07:33:51 CET 2026


commit ee86af63998fcd3cb2a626370cb723690ec4e4cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 27 07:33:57 2026 +0100

    - updated to 25.1.0

 python3-aiofiles.spec | 38 ++++++++++++++++++++++++--------------
 1 file changed, 24 insertions(+), 14 deletions(-)
---
diff --git a/python3-aiofiles.spec b/python3-aiofiles.spec
index f31fa4b..bb59aed 100644
--- a/python3-aiofiles.spec
+++ b/python3-aiofiles.spec
@@ -1,28 +1,31 @@
 #
 # Conditional build:
-%bcond_with	tests	# unit tests (not included in sdist)
+%bcond_without	tests	# unit tests
 
 Summary:	File support for asyncio
 Summary(pl.UTF-8):	Obsługa plików dla asyncio
 Name:		python3-aiofiles
-# 23.2.x requires hatchling to build
-Version:	23.1.0
-Release:	3
+Version:	25.1.0
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 #Source0Download: https://pypi.org/simple/aiofiles/
 Source0:	https://files.pythonhosted.org/packages/source/a/aiofiles/aiofiles-%{version}.tar.gz
-# Source0-md5:	d648a31366030470c97401741747065f
+# Source0-md5:	7a92207aab48342239959dc5ccffb81d
 URL:		https://pypi.org/project/aiofiles/
-BuildRequires:	python3-modules >= 1:3.7
+BuildRequires:	python3-build
+BuildRequires:	python3-hatch-vcs
+BuildRequires:	python3-hatchling
+BuildRequires:	python3-installer
+BuildRequires:	python3-modules >= 1:3.9
 BuildRequires:	python3-setuptools
 %if %{with tests}
-BuildRequires:	python3-pytest >= 7.1.2
-BuildRequires:	python3-pytest-asyncio >= 0.19.0
+BuildRequires:	python3-pytest >= 8.3.5
+BuildRequires:	python3-pytest-asyncio >= 1.0.0
 %endif
 BuildRequires:	rpm-pythonprov
-BuildRequires:	rpmbuild(macros) >= 1.714
-Requires:	python3-modules >= 1:3.7
+BuildRequires:	rpmbuild(macros) >= 2.044
+Requires:	python3-modules >= 1:3.9
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,18 +41,25 @@ biblioteka do obsługi plików na dysku lokalnym w aplikacjach asyncio.
 %setup -q -n aiofiles-%{version}
 
 %build
-%py3_build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS=pytest_asyncio.plugin \
+PYTHONPATH=$(pwd)/src \
+%{__python3} -m pytest tests
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%py3_install
+%py3_install_pyproject
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.rst
+%doc CHANGELOG.md README.md
 %{py3_sitescriptdir}/aiofiles
-%{py3_sitescriptdir}/aiofiles-%{version}-py*.egg-info
+%{py3_sitescriptdir}/aiofiles-%{version}.dist-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-aiofiles.git/commitdiff/ee86af63998fcd3cb2a626370cb723690ec4e4cc



More information about the pld-cvs-commit mailing list