diff --git a/python-asyncssh.spec b/python-asyncssh.spec index be28943e480915764a3c33005f6a92bc8f1c61be..bb5891d536abb6c2d0c5122dc97f4885617661cc 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 918fc9c1859b4fef4cbb2c7a8137030d244a8dc8..c355951bbad923fcd565b6883436ac74668a5365 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 0000000000000000000000000000000000000000..d99e5c5219b15eee67498b78b45f148145d7628d --- /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')) +