From e837bcc36e53ca0843a1d9ac1d4a1c18e88d71892d30e316f0be608c94f74cce Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Fri, 15 Dec 2023 06:03:34 +0000 Subject: [PATCH] Accepting request 1133126 from home:pgajdos:python pmmu version update OBS-URL: https://build.opensuse.org/request/show/1133126 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiofiles?expand=0&rev=15 --- aiofiles-23.1.0.tar.gz | 3 --- aiofiles-23.2.1.tar.gz | 3 +++ python-aiofiles.changes | 24 ++++++++++++++++++++++++ python-aiofiles.spec | 7 ++++--- 4 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 aiofiles-23.1.0.tar.gz create mode 100644 aiofiles-23.2.1.tar.gz diff --git a/aiofiles-23.1.0.tar.gz b/aiofiles-23.1.0.tar.gz deleted file mode 100644 index e18e499..0000000 --- a/aiofiles-23.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0495ba2c4b28c6e6845e3186b7d77306cb656f0cf711eb98c048064357341fec -size 30110 diff --git a/aiofiles-23.2.1.tar.gz b/aiofiles-23.2.1.tar.gz new file mode 100644 index 0000000..d1dc0ec --- /dev/null +++ b/aiofiles-23.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0eb90fd1986d3ebb0c744c439fc5d539d799b140ee5b42f121ff15bf3dc3879d +size 31810 diff --git a/python-aiofiles.changes b/python-aiofiles.changes index 245623f..cf2c243 100644 --- a/python-aiofiles.changes +++ b/python-aiofiles.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Dec 14 09:12:51 UTC 2023 - Petr Gajdos + +- update to 23.2.1: + * Import `os.statvfs` conditionally to fix importing on non- + UNIX systems. + * #171 #172 + * aiofiles is now also tested on Windows. +update to 23.2.0: + * # 23.2.0 + + * aiofiles is now tested on Python 3.12 too. + * #166 #168 + * On Python 3.12, `aiofiles.tempfile.NamedTemporaryFile` now + accepts a `delete_on_close` argument, just like the stdlib + version. + * On Python 3.12, `aiofiles.tempfile.NamedTemporaryFile` no + longer exposes a `delete` attribute, just like the stdlib + version. + * Added `aiofiles.os.statvfs` and `aiofiles.os.path.ismount`. + * #162 + * Use PDM instead of Poetry. + * #169 + ------------------------------------------------------------------- Sun Jun 11 13:37:03 UTC 2023 - ecsos diff --git a/python-aiofiles.spec b/python-aiofiles.spec index 0836ebe..974a9e3 100644 --- a/python-aiofiles.spec +++ b/python-aiofiles.spec @@ -18,13 +18,14 @@ %{?sle15_python_module_pythons} Name: python-aiofiles -Version: 23.1.0 +Version: 23.2.1 Release: 0 Summary: File support for asyncio License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/Tinche/aiofiles Source: https://github.com/Tinche/aiofiles/archive/v%{version}.tar.gz#/aiofiles-%{version}.tar.gz +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry-core} BuildRequires: fdupes @@ -40,7 +41,7 @@ BuildArch: noarch aiofiles: file support for asyncio %prep -%setup -q -n aiofiles-%{version} +%autosetup -p1 -n aiofiles-%{version} %build %pyproject_wheel @@ -54,7 +55,7 @@ aiofiles: file support for asyncio %files %{python_files} %license LICENSE -%doc README.rst +%doc README.md %{python_sitelib}/aiofiles* %changelog