From b718938f3c21ccdc6d28703f6d2f50273b9c8267 Mon Sep 17 00:00:00 2001 From: Shuo Wang Date: Tue, 26 Sep 2023 11:23:15 +0800 Subject: [PATCH] update to 2.13.2 Signed-off-by: Shuo Wang --- python-asyncssh.spec | 9 ++++++--- sources | 2 +- test_stdout_stream.diff | 11 +++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 test_stdout_stream.diff diff --git a/python-asyncssh.spec b/python-asyncssh.spec index be28943..bb5891d 100644 --- a/python-asyncssh.spec +++ b/python-asyncssh.spec @@ -3,11 +3,11 @@ Summary: Asynchronous SSH for Python Name: python-%{srcname} -Version: 2.12.0 -Release: 7%{?dist} +Version: 2.13.2 +Release: 1%{?dist} License: EPL-2.0 or GPLv2+ URL: https://github.com/ronf/asyncssh -Source0: https://files.pythonhosted.org/packages/3e/51/647552e03b9eb73d0a456c8c01dc97ea0a1aa810288ceb2eb50eb521ba2d/%{srcname}-%{version}.tar.gz +Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel python3-setuptools python3-bcrypt python3-gssapi @@ -56,6 +56,9 @@ sed -i '1,1s@^#!.*$@#!%{__python3}@' examples/*.py %changelog +* Tue Sep 26 2023 Shuo Wang - 2.13.2-1 +- update to 2.13.2 + * Tue Sep 19 2023 OpenCloudOS Release Engineering - 2.12.0-7 - Rebuilt for python 3.11 diff --git a/sources b/sources index 918fc9c..c355951 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (asyncssh-2.12.0.tar.gz) = b7772fc7fe0a0d101ce1542b8e149e265dde0fdc3e824936f7b2db799f7580bbda5128501a6d51e6090c071014bac96897c2787442c53e333aa38bb231d66ccf +SHA512 (asyncssh-2.13.2.tar.gz) = 7d77b21cefda0d3275c2b422d1e5c4c57f691d60ab4c82feffdd1b45bbc1af3b485fd10e09a799bcae6834d53cbc249df44f1ff26e198240d10019785d97ecea diff --git a/test_stdout_stream.diff b/test_stdout_stream.diff new file mode 100644 index 0000000..d99e5c5 --- /dev/null +++ b/test_stdout_stream.diff @@ -0,0 +1,11 @@ +--- a/tests/test_process.py 2023-07-11 19:34:30.406758533 +0200 ++++ b/tests/test_process.py 2023-07-11 19:34:54.702860332 +0200 +@@ -902,7 +902,7 @@ + proc1.stdin.write(data) + proc1.stdin.write_eof() + +- stdout_data, _ = await proc2.communicate() ++ stdout_data = await proc2.stdout.read() + + self.assertEqual(stdout_data, data.encode('ascii')) + -- Gitee