From f0002bf749aa6dffe2d34cb77b70b17c84c644bdc18aa22abbd3d15cbd280272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 7 Oct 2024 14:49:25 +0000 Subject: [PATCH] Accepting request 1206093 from home:glaubitz:branches:devel:languages:python - Update to 0.22.3 * minimal python version downgraded to 3.8 - from version 0.22.2 * ci: separate build and publish jobs - from version 0.22.1 * docs: update/fix readthedocs configuration * ci: fix workflow file extension from `yaml` to `yml` - from version 0.22.0 * client.list: fix infinite symlink loop for `.` and `..` on FTP servers with UNIX-like filesystem for `client.list(path, recursive=True)` * project file structure: refactor to use `pyproject.toml` * minimal python version bumped to 3.11 * ci: update publish/deploy job (#171) - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Update BuildRequires from pyproject.toml OBS-URL: https://build.opensuse.org/request/show/1206093 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioftp?expand=0&rev=18 --- aioftp-0.21.4.tar.gz | 3 --- aioftp-0.22.3.tar.gz | 3 +++ python-aioftp.changes | 22 ++++++++++++++++++++++ python-aioftp.spec | 18 +++++++++--------- 4 files changed, 34 insertions(+), 12 deletions(-) delete mode 100644 aioftp-0.21.4.tar.gz create mode 100644 aioftp-0.22.3.tar.gz diff --git a/aioftp-0.21.4.tar.gz b/aioftp-0.21.4.tar.gz deleted file mode 100644 index 82c07ee..0000000 --- a/aioftp-0.21.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28bb26d4616c7c381a1543281f987051b8d2d1d5bfaf023d9e7e2c2105c51bb9 -size 52587 diff --git a/aioftp-0.22.3.tar.gz b/aioftp-0.22.3.tar.gz new file mode 100644 index 0000000..a681860 --- /dev/null +++ b/aioftp-0.22.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:baa2b13186aa01622e4b82f27c2f48f4dafb48e457a6b18fcda99a925e0dc270 +size 62210 diff --git a/python-aioftp.changes b/python-aioftp.changes index 81ab337..d02584c 100644 --- a/python-aioftp.changes +++ b/python-aioftp.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Oct 7 12:07:24 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.22.3 + * minimal python version downgraded to 3.8 +- from version 0.22.2 + * ci: separate build and publish jobs +- from version 0.22.1 + * docs: update/fix readthedocs configuration + * ci: fix workflow file extension from `yaml` to `yml` +- from version 0.22.0 + * client.list: fix infinite symlink loop for `.` and `..` on FTP servers + with UNIX-like filesystem for `client.list(path, recursive=True)` + * project file structure: refactor to use `pyproject.toml` + * minimal python version bumped to 3.11 + * ci: update publish/deploy job (#171) +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Update BuildRequires from pyproject.toml + ------------------------------------------------------------------- Sat Jan 7 20:25:23 UTC 2023 - Ben Greiner diff --git a/python-aioftp.spec b/python-aioftp.spec index 352ffa8..19d29f0 100644 --- a/python-aioftp.spec +++ b/python-aioftp.spec @@ -1,7 +1,7 @@ # # spec file for package python-aioftp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,27 +15,27 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-aioftp -Version: 0.21.4 +Version: 0.22.3 Release: 0 Summary: FTP client/server for asyncio License: Apache-2.0 URL: https://github.com/aio-libs/aioftp Source: https://files.pythonhosted.org/packages/source/a/aioftp/aioftp-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-siosocks >= 0.2.0 BuildArch: noarch -# SECTION test requirements -BuildRequires: %{python_module async_timeout} +BuildRequires: %{python_module async_timeout >= 4.0.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module siosocks >= 0.2.0} BuildRequires: %{python_module trustme} -# /SECTION %python_subpackages %description @@ -45,10 +45,10 @@ aioftp is a python FTP client/server based on asyncio. %setup -q -n aioftp-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check