public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Georg Sauthoff <mail@gms.tf>
To: git-commits@fedoraproject.org
Subject: [rpms/python-asyncssh] rawhide: update to version 2.24.0 (fixes fedora#2468438)
Date: Sun, 28 Jun 2026 23:08:18 GMT [thread overview]
Message-ID: <178268809898.1.11428310725091886386.rpms-python-asyncssh-f56d67d449e1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-asyncssh
Branch : rawhide
Commit : f56d67d449e137ea04a24c83c8c1e86ed941b1df
Author : Georg Sauthoff <mail@gms.tf>
Date : 2026-06-29T01:07:07+02:00
Stats : +5/-126 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-asyncssh/c/f56d67d449e137ea04a24c83c8c1e86ed941b1df?branch=rawhide
Log:
update to version 2.24.0 (fixes fedora#2468438)
---
diff --git a/aiofiles-context-manager.patch b/aiofiles-context-manager.patch
deleted file mode 100644
index f7f767b..0000000
--- a/aiofiles-context-manager.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-commit cadb03113b925820041892c8f0266005e3e2d6fe
-Author: Georg Sauthoff <mail@gms.tf>
-Date: Sat Jan 3 19:07:36 2026 +0100
-
- use context managers with aiofiles open
-
- to make the tests more explicit and eliminate possible race conditions
-
-diff --git a/tests/test_process.py b/tests/test_process.py
-index 326feb2..9a42a01 100644
---- a/tests/test_process.py
-+++ b/tests/test_process.py
-@@ -1210,10 +1210,9 @@ class _TestAsyncFileRedirection(_TestProcess):
- with open('stdin', 'w') as file:
- file.write(data)
-
-- file = await aiofiles.open('stdin', 'r')
--
-- async with self.connect() as conn:
-- result = await conn.run('echo', stdin=file)
-+ async with aiofiles.open('stdin', 'r') as file:
-+ async with self.connect() as conn:
-+ result = await conn.run('echo', stdin=file)
-
- self.assertEqual(result.stdout, data)
- self.assertEqual(result.stderr, data)
-@@ -1227,10 +1226,9 @@ class _TestAsyncFileRedirection(_TestProcess):
- with open('stdin', 'wb') as file:
- file.write(data)
-
-- file = await aiofiles.open('stdin', 'rb')
--
-- async with self.connect() as conn:
-- result = await conn.run('echo', stdin=file, encoding=None)
-+ async with aiofiles.open('stdin', 'rb') as file:
-+ async with self.connect() as conn:
-+ result = await conn.run('echo', stdin=file, encoding=None)
-
- self.assertEqual(result.stdout, data)
- self.assertEqual(result.stderr, data)
-@@ -1241,10 +1239,9 @@ class _TestAsyncFileRedirection(_TestProcess):
-
- data = str(id(self))
-
-- file = await aiofiles.open('stdout', 'w')
--
-- async with self.connect() as conn:
-- result = await conn.run('echo', input=data, stdout=file)
-+ async with aiofiles.open('stdout', 'w') as file:
-+ async with self.connect() as conn:
-+ result = await conn.run('echo', input=data, stdout=file)
-
- with open('stdout') as file:
- stdout_data = file.read()
-@@ -1275,11 +1272,10 @@ class _TestAsyncFileRedirection(_TestProcess):
-
- data = str(id(self)).encode() + b'\xff'
-
-- file = await aiofiles.open('stdout', 'wb')
--
-- async with self.connect() as conn:
-- result = await conn.run('echo', input=data, stdout=file,
-- encoding=None)
-+ async with aiofiles.open('stdout', 'wb') as file:
-+ async with self.connect() as conn:
-+ result = await conn.run('echo', input=data, stdout=file,
-+ encoding=None)
-
- with open('stdout', 'rb') as file:
- stdout_data = file.read()
-@@ -1297,11 +1293,10 @@ class _TestAsyncFileRedirection(_TestProcess):
- with open('stdin', 'w') as file:
- file.write(data)
-
-- file = await aiofiles.open('stdin', 'r')
--
-- async with self.connect() as conn:
-- result = await conn.run('delay', stdin=file,
-- stderr=asyncssh.DEVNULL)
-+ async with aiofiles.open('stdin', 'r') as file:
-+ async with self.connect() as conn:
-+ result = await conn.run('delay', stdin=file,
-+ stderr=asyncssh.DEVNULL)
-
- self.assertEqual(result.stdout, data)
-
diff --git a/libnacl-dep-cleanup.patch b/libnacl-dep-cleanup.patch
deleted file mode 100644
index bc2c2a1..0000000
--- a/libnacl-dep-cleanup.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-commit 68fad751f7b4fc597c70a1e48cd2a4374cf74fbd
-Author: Georg Sauthoff <mail@gms.tf>
-Date: Sat Jan 3 19:31:00 2026 +0100
-
- remove libnacl dependency declarations
-
- after release 2.22.0 elimnated code usage
-
- cf. https://asyncssh.readthedocs.io/en/latest/changes.html#release-2-22-0-21-dec-2025
-
-diff --git a/pyproject.toml b/pyproject.toml
-index d595baf..7b45ecd 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -36,7 +36,6 @@ dynamic = ['version']
- bcrypt = ['bcrypt >= 3.1.3']
- fido2 = ['fido2 >= 2']
- gssapi = ['gssapi >= 1.2.0']
--libnacl = ['libnacl >= 1.4.2']
- pkcs11 = ['python-pkcs11 >= 0.7.0']
- pyOpenSSL = ['pyOpenSSL >= 23.0.0']
- pywin32 = ['pywin32 >= 227']
-diff --git a/tox.ini b/tox.ini
-index 03d2013..eaf7923 100644
---- a/tox.ini
-+++ b/tox.ini
-@@ -11,7 +11,6 @@ deps =
- aiofiles>=0.6.0
- bcrypt>=3.1.3
- fido2>=2
-- libnacl>=1.4.2
- pyOpenSSL>=23.0.0
- pytest>=7.0.1
- pytest-cov>=3.0.0
diff --git a/python-asyncssh.spec b/python-asyncssh.spec
index 3ce140b..e21813f 100644
--- a/python-asyncssh.spec
+++ b/python-asyncssh.spec
@@ -5,7 +5,7 @@ implements many SSH protocol features such as the various channels,\
SFTP, SCP, forwarding, session multiplexing over a connection and more.
Name: python-%{srcname}
-Version: 2.22.0
+Version: 2.24.0
Release: %autorelease
Summary: Asynchronous SSH for Python
@@ -14,10 +14,6 @@ License: EPL-2.0 OR GPL-2.0-or-later
URL: https://github.com/ronf/asyncssh
Source0: %pypi_source
-# XXX remove with next release
-# cf. https://github.com/ronf/asyncssh/pull/788
-Patch0: libnacl-dep-cleanup.patch
-Patch1: aiofiles-context-manager.patch
BuildArch: noarch
@@ -56,6 +52,9 @@ Summary: %{summary}
# remove superfluous build dependencies
sed '/pytest-cov/d' tox.ini -i # coverage not desired
sed -E '/(uvloop|python-pkcs11)/d' tox.ini -i # not available, tests skipped when missing
+# sometimes upstream is too eager to bump this dependency,
+# e.g. due to 'Vulnerable OpenSSL included in cryptography wheels'
+sed "s/cryptography >= [^']\+/cryptography/" pyproject.toml -i
%generate_buildrequires
diff --git a/sources b/sources
index ec92712..667c803 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (asyncssh-2.22.0.tar.gz) = 30340dbfa0db60071458ce51f24d972760b3284ed7bc10613546eddb39cb191076e02c0f1405d9f2f74bed8d5102f182d5e7e8264ad0c46b10e536cd80819da6
+SHA512 (asyncssh-2.24.0.tar.gz) = f8504dc52945424da34812e2a08b9d6d00f69a2d30f55ec25df4e41b31419a368852f3124a885e62012520b255838599101b32ae7a8ed4abd5d926ce1c6ca72b
reply other threads:[~2026-06-28 23:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178268809898.1.11428310725091886386.rpms-python-asyncssh-f56d67d449e1@fedoraproject.org \
--to=mail@gms.tf \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox