From b9c10a70723231c54a275d36765c1e8f264ac5dea75df65aa42898d56055348c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 12 Jul 2025 08:30:13 +0000 Subject: [PATCH] - update to 0.26.2: * fix type hinting * fix minor documentaion bugs * add type annotations OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioftp?expand=0&rev=28 --- .gitattributes | 23 ++++++ .gitignore | 1 + aioftp-0.21.4.tar.gz | 3 + aioftp-0.22.3.tar.gz | 3 + aioftp-0.23.1.tar.gz | 3 + aioftp-0.24.1.tar.gz | 3 + aioftp-0.25.1.tar.gz | 3 + aioftp-0.25.2.tar.gz | 3 + aioftp-0.26.2.tar.gz | 3 + python-aioftp.changes | 161 ++++++++++++++++++++++++++++++++++++++++++ python-aioftp.spec | 65 +++++++++++++++++ 11 files changed, 271 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 aioftp-0.21.4.tar.gz create mode 100644 aioftp-0.22.3.tar.gz create mode 100644 aioftp-0.23.1.tar.gz create mode 100644 aioftp-0.24.1.tar.gz create mode 100644 aioftp-0.25.1.tar.gz create mode 100644 aioftp-0.25.2.tar.gz create mode 100644 aioftp-0.26.2.tar.gz create mode 100644 python-aioftp.changes create mode 100644 python-aioftp.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/aioftp-0.21.4.tar.gz b/aioftp-0.21.4.tar.gz new file mode 100644 index 0000000..82c07ee --- /dev/null +++ b/aioftp-0.21.4.tar.gz @@ -0,0 +1,3 @@ +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/aioftp-0.23.1.tar.gz b/aioftp-0.23.1.tar.gz new file mode 100644 index 0000000..c4aa3a6 --- /dev/null +++ b/aioftp-0.23.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b80eadd8ca95d2bbbcfabe7de15cbe01ac117b2e7467717374de467bad93570b +size 62481 diff --git a/aioftp-0.24.1.tar.gz b/aioftp-0.24.1.tar.gz new file mode 100644 index 0000000..6461a7d --- /dev/null +++ b/aioftp-0.24.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74ac7c6ee4855e4db8ffa2c2fb1597789a697817c47ba21a54eb9039f43568af +size 62609 diff --git a/aioftp-0.25.1.tar.gz b/aioftp-0.25.1.tar.gz new file mode 100644 index 0000000..d9384e2 --- /dev/null +++ b/aioftp-0.25.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d2fb0b77d3fda4282cffcd05ba70567d8940cd9fdeedf10bdf788a001208016 +size 64687 diff --git a/aioftp-0.25.2.tar.gz b/aioftp-0.25.2.tar.gz new file mode 100644 index 0000000..57b7861 --- /dev/null +++ b/aioftp-0.25.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8402efe0d4783b9c4d6787446d5e027abe79796951f227241bd2c5d8f3e09d0b +size 64712 diff --git a/aioftp-0.26.2.tar.gz b/aioftp-0.26.2.tar.gz new file mode 100644 index 0000000..24ccecd --- /dev/null +++ b/aioftp-0.26.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ecd8cc9687bbb5e1b4dddc155aa1f3ea873d6e9f9e968221378daf04c2e4f763 +size 70140 diff --git a/python-aioftp.changes b/python-aioftp.changes new file mode 100644 index 0000000..d87b6ec --- /dev/null +++ b/python-aioftp.changes @@ -0,0 +1,161 @@ +------------------------------------------------------------------- +Sat Jul 12 08:30:03 UTC 2025 - Dirk Müller + +- update to 0.26.2: + * fix type hinting + * fix minor documentaion bugs + * add type annotations + +------------------------------------------------------------------- +Wed Jun 25 09:35:11 UTC 2025 - John Paul Adrian Glaubitz + +- Update to version 0.25.2 + * adjust codebase for python 3.14 (#190) + * client: resolve tls issues (fixes #186) (#187) + +------------------------------------------------------------------- +Tue Jun 3 06:47:47 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.25.1 + * do not start explicit tls if implicit mode used (fixes #184) (#185) +- from version 0.25.0 + * client: add partial client support for explicit tls (#183) +- Update BuildRequires from pyproject.toml + +------------------------------------------------------------------- +Wed Jan 22 10:03:34 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.24.1 + * server: use single line pasv response (fix #142) +- from versiom 0.24.0 + * remove documentation dependencies from pyproject.toml + (moved to docs/requirements.txt) + * include symlink destination in path info for unix legacy mode (#169) + * update documentation links (#180) + +------------------------------------------------------------------- +Wed Oct 23 11:58:36 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 0.23.1 + * Update ci +- from version 0.23.0 + * server: fix pathlib `relative_to` issue (#179) + * minimal python version upgraded to 3.9 + +------------------------------------------------------------------- +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 + +- Remove 'legacy' pytest-asyncio mode command line argument. It is + not available anymore, meanwhile upstream uses 'strict' from + config file. + +------------------------------------------------------------------- +Mon Oct 17 11:31:51 UTC 2022 - John Paul Adrian Glaubitz + +- Update to 0.21.4 + * setup/tests: set low bound for version of `async-timeout` + * docs: fix rst link markup + * docs: add `LIST` parsing warning explanation + * tests: use `pytest_asyncio` `strict` mode and proper decorations (fixes #155) + +------------------------------------------------------------------- +Thu Aug 18 10:42:42 UTC 2022 - Ben Greiner + +- Update to 0.21.3 + * server/LIST: prevent broken links are listed, but can't be used + with stat + * server: make User.get_permissions async +- Release 0.21.2 + + tests: remove exception representation check +- Release 0.21.1 + * tests: replace more specific ConnectionRefusedError with + OSError for compatibility with FreeBSD (#152) +- Release 0.21.0 + * server: support PASV response with custom address (#150) +- Release 0.20.1 + * server: fix real directory resolve for windows (#147) +- Release 0.20.0 + * add client argument to set priority of custom list parser + (parse_list_line_custom_first) (#145) + * do not ignore failed parsing of list response (#144) +- Enforce legacy pytest-asyncio mode + * gh#aio-libs/aioftp#155 + * works around gh#pytest-dev/pytest-asyncio#390 + +------------------------------------------------------------------- +Wed Nov 3 09:47:36 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 0.19.0 + * add client connection timeout + * remove explicit coroutine passing to `asyncio.wait` + +------------------------------------------------------------------- +Fri Jan 22 13:48:55 UTC 2021 - andy great + +- Add minimum python-siosocks version. + +------------------------------------------------------------------- +Thu Jan 21 14:09:30 UTC 2021 - andy great + +- Update to 0.18.1. + * sync tests with new `siosocks` + * some docs fixes +- Updates for 0.18.0 + * server: fix `MLSX` time format + * server: resolve server address from connection +- Updates for 0.17.2 + * server: fix broken `python -m aioftp` after 3.7 migration +- Updates for 0.17.1 + * common/stream: add `readexactly` proxy method +- Updates for 0.17.0 + * tests: fix test_unlink_on_dir on POSIX compatible systems + * docs: fix extra parentheses + * client: replace `ClientSession` with `Client.context` +- Updates for 0.16.1 + * client: strip date before parsing + * client: logger no longer prints out plaintext password + * client: add custom passive commands to client +- Updates for 0.16.0 + * server: remove obsolete `pass` to `pass_` command renaming + * client: fix leap year bug at `parse_ls_date` method + * all: add base exception class + +------------------------------------------------------------------- +Thu Jan 16 15:52:14 UTC 2020 - Marketa Calabkova + +- update to 0.15.0 + * server: use explicit mapping of available commands for security reasons + * client: add socks proxy support via siosocks + * client: add custom list parser + +------------------------------------------------------------------- +Thu Nov 7 16:12:05 UTC 2019 - Matej Cepl + +- Run through spec-cleaner + +------------------------------------------------------------------- +Tue Jul 23 17:00:03 UTC 2019 - Todd R + +- Initial version diff --git a/python-aioftp.spec b/python-aioftp.spec new file mode 100644 index 0000000..2de7562 --- /dev/null +++ b/python-aioftp.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-aioftp +# +# 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-aioftp +Version: 0.26.2 +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 +BuildRequires: %{python_module async_timeout >= 4.0.0} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module siosocks >= 0.2.0} +BuildRequires: %{python_module trustme} +%python_subpackages + +%description +aioftp is a python FTP client/server based on asyncio. + +%prep +%setup -q -n aioftp-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license license.txt +%{python_sitelib}/aioftp-%{version}*-info +%{python_sitelib}/aioftp + +%changelog