Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aioftp for openSUSE:Factory checked in at 2022-10-17 14:58:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aioftp (Old) and /work/SRC/openSUSE:Factory/.python-aioftp.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aioftp" Mon Oct 17 14:58:40 2022 rev:7 rq:1012082 version:0.21.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aioftp/python-aioftp.changes 2022-08-19 17:59:10.536439527 +0200 +++ /work/SRC/openSUSE:Factory/.python-aioftp.new.2275/python-aioftp.changes 2022-10-17 14:58:41.718207463 +0200 @@ -1,0 +2,9 @@ +Mon Oct 17 11:31:51 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- 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) + +------------------------------------------------------------------- Old: ---- aioftp-0.21.3.tar.gz New: ---- aioftp-0.21.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aioftp.spec ++++++ --- /var/tmp/diff_new_pack.4KIXnb/_old 2022-10-17 14:58:43.306210514 +0200 +++ /var/tmp/diff_new_pack.4KIXnb/_new 2022-10-17 14:58:43.310210522 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-aioftp -Version: 0.21.3 +Version: 0.21.4 Release: 0 Summary: FTP client/server for asyncio License: Apache-2.0 ++++++ aioftp-0.21.3.tar.gz -> aioftp-0.21.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/PKG-INFO new/aioftp-0.21.4/PKG-INFO --- old/aioftp-0.21.3/PKG-INFO 2022-07-15 00:08:37.528395400 +0200 +++ new/aioftp-0.21.4/PKG-INFO 2022-10-12 23:32:23.486074400 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: aioftp -Version: 0.21.3 +Version: 0.21.4 Summary: ftp client/server for asyncio Home-page: https://github.com/aio-libs/aioftp Author: pohmelie Author-email: multisosnoo...@gmail.com License: Apache-2.0 -Platform: UNKNOWN Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Development Status :: 5 - Production/Stable @@ -128,6 +127,18 @@ Client example +**WARNING** + +For all commands, which use some sort of ??stats?? or ??listing??, ``aioftp`` tries +at first ``MLSx``-family commands (since they have structured, machine readable +format for all platforms). But old/lazy/nasty servers do not implement this +commands. In this case ``aioftp`` tries a ``LIST`` command, which have no +standard format and can not be parsed in all cases. Take a look at +`FileZilla <https://svn.filezilla-project.org/filezilla/FileZilla3/trunk/src/engine/directorylistingparser.cpp?revision=7322&view=markup>`_ +??directory listing?? parser code. So, before creating new issue be sure this +is not your case (you can check it with logs). Anyway, you can provide your own +``LIST`` parser routine (see the client documentation). + .. code-block:: python import asyncio @@ -170,5 +181,3 @@ .. code-block:: shell python -m aioftp --help - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/README.rst new/aioftp-0.21.4/README.rst --- old/aioftp-0.21.3/README.rst 2022-07-15 00:08:30.000000000 +0200 +++ new/aioftp-0.21.4/README.rst 2022-10-12 23:32:08.000000000 +0200 @@ -110,6 +110,18 @@ Client example +**WARNING** + +For all commands, which use some sort of ??stats?? or ??listing??, ``aioftp`` tries +at first ``MLSx``-family commands (since they have structured, machine readable +format for all platforms). But old/lazy/nasty servers do not implement this +commands. In this case ``aioftp`` tries a ``LIST`` command, which have no +standard format and can not be parsed in all cases. Take a look at +`FileZilla <https://svn.filezilla-project.org/filezilla/FileZilla3/trunk/src/engine/directorylistingparser.cpp?revision=7322&view=markup>`_ +??directory listing?? parser code. So, before creating new issue be sure this +is not your case (you can check it with logs). Anyway, you can provide your own +``LIST`` parser routine (see the client documentation). + .. code-block:: python import asyncio diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/aioftp/__init__.py new/aioftp-0.21.4/aioftp/__init__.py --- old/aioftp-0.21.3/aioftp/__init__.py 2022-07-15 00:08:30.000000000 +0200 +++ new/aioftp-0.21.4/aioftp/__init__.py 2022-10-12 23:32:08.000000000 +0200 @@ -7,7 +7,7 @@ from .pathio import * from .server import * -__version__ = "0.21.3" +__version__ = "0.21.4" version = tuple(map(int, __version__.split("."))) __all__ = ( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/aioftp.egg-info/PKG-INFO new/aioftp-0.21.4/aioftp.egg-info/PKG-INFO --- old/aioftp-0.21.3/aioftp.egg-info/PKG-INFO 2022-07-15 00:08:37.000000000 +0200 +++ new/aioftp-0.21.4/aioftp.egg-info/PKG-INFO 2022-10-12 23:32:23.000000000 +0200 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: aioftp -Version: 0.21.3 +Version: 0.21.4 Summary: ftp client/server for asyncio Home-page: https://github.com/aio-libs/aioftp Author: pohmelie Author-email: multisosnoo...@gmail.com License: Apache-2.0 -Platform: UNKNOWN Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Development Status :: 5 - Production/Stable @@ -128,6 +127,18 @@ Client example +**WARNING** + +For all commands, which use some sort of ??stats?? or ??listing??, ``aioftp`` tries +at first ``MLSx``-family commands (since they have structured, machine readable +format for all platforms). But old/lazy/nasty servers do not implement this +commands. In this case ``aioftp`` tries a ``LIST`` command, which have no +standard format and can not be parsed in all cases. Take a look at +`FileZilla <https://svn.filezilla-project.org/filezilla/FileZilla3/trunk/src/engine/directorylistingparser.cpp?revision=7322&view=markup>`_ +??directory listing?? parser code. So, before creating new issue be sure this +is not your case (you can check it with logs). Anyway, you can provide your own +``LIST`` parser routine (see the client documentation). + .. code-block:: python import asyncio @@ -170,5 +181,3 @@ .. code-block:: shell python -m aioftp --help - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/aioftp.egg-info/requires.txt new/aioftp-0.21.4/aioftp.egg-info/requires.txt --- old/aioftp-0.21.3/aioftp.egg-info/requires.txt 2022-07-15 00:08:37.000000000 +0200 +++ new/aioftp-0.21.4/aioftp.egg-info/requires.txt 2022-10-12 23:32:23.000000000 +0200 @@ -7,5 +7,5 @@ pytest-asyncio pytest-cov trustme -async_timeout +async_timeout>=4.0.0 siosocks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/history.rst new/aioftp-0.21.4/history.rst --- old/aioftp-0.21.3/history.rst 2022-07-15 00:08:30.000000000 +0200 +++ new/aioftp-0.21.4/history.rst 2022-10-12 23:32:08.000000000 +0200 @@ -1,6 +1,11 @@ x.x.x (xx-xx-xxxx) ------------------ +0.21.4 (13-10-2022) +------------------- +- tests: use `pytest_asyncio` `strict` mode and proper decorations (#155) +- setup/tests: set low bound for version of `async-timeout` (#159) + 0.21.3 (15-07-2022) ------------------- - server/`LIST`: prevent broken links are listed, but can't be used with `stat` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/setup.cfg new/aioftp-0.21.4/setup.cfg --- old/aioftp-0.21.3/setup.cfg 2022-07-15 00:08:37.532395600 +0200 +++ new/aioftp-0.21.4/setup.cfg 2022-10-12 23:32:23.486074400 +0200 @@ -26,7 +26,7 @@ pytest-asyncio pytest-cov trustme - async_timeout + async_timeout >= 4.0.0 siosocks [egg_info] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aioftp-0.21.3/tests/conftest.py new/aioftp-0.21.4/tests/conftest.py --- old/aioftp-0.21.3/tests/conftest.py 2022-07-15 00:08:30.000000000 +0200 +++ new/aioftp-0.21.4/tests/conftest.py 2022-10-12 23:32:08.000000000 +0200 @@ -10,6 +10,7 @@ from pathlib import Path import pytest +import pytest_asyncio import trustme from async_timeout import timeout @@ -115,7 +116,7 @@ return False async def __aenter__(self): - self.timeout.__enter__() + await self.timeout.__aenter__() await self.server.start(host=self.host) if self.connected: await self.client.connect(self.server.server_host, @@ -129,7 +130,7 @@ await self.client.quit() self.client.close() await self.server.close() - self.timeout.__exit__(*exc_info) + await self.timeout.__aexit__(*exc_info) return Factory @@ -191,8 +192,8 @@ yield sleeper -@pytest.fixture(params=[("127.0.0.1", socket.AF_INET), - ("::1", socket.AF_INET6)]) +@pytest_asyncio.fixture(params=[("127.0.0.1", socket.AF_INET), + ("::1", socket.AF_INET6)]) async def socks(request, unused_tcp_port): handler = functools.partial( socks_server_handler,