forked from pool/python-Twisted
Accepting request 810151 from home:mcalabkova:branches:devel:languages:python
- Update to 20.3.0
* drop Python 2
* twisted.news is deprecated.
* twisted.conch.ssh now supports the curve25519-sha256 key exchange
algorithm (requires OpenSSL >= 1.1.0).
* many bugfixes and other miscelaneous fixes
- Fixed update-alternatives mechanism
- Added true-binary.patch
- Dropped python-38-xml-namespace.patch
- Reapplied python-38-hmac-digestmod.patch
OBS-URL: https://build.opensuse.org/request/show/810151
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Twisted?expand=0&rev=91
This commit is contained in:
committed by
Git OBS Bridge
parent
221d5e0adf
commit
21fdee6018
22
true-binary.patch
Normal file
22
true-binary.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
Index: Twisted-20.3.0/src/twisted/conch/test/test_ckeygen.py
|
||||
===================================================================
|
||||
--- Twisted-20.3.0.orig/src/twisted/conch/test/test_ckeygen.py
|
||||
+++ Twisted-20.3.0/src/twisted/conch/test/test_ckeygen.py
|
||||
@@ -66,7 +66,7 @@ class KeyGenTests(TestCase):
|
||||
|
||||
def _testrun(self, keyType, keySize=None, privateKeySubtype=None):
|
||||
filename = self.mktemp()
|
||||
- args = ['ckeygen', '-t', keyType, '-f', filename, '--no-passphrase']
|
||||
+ args = ['ckeygen-' + sys.version[:3], '-t', keyType, '-f', filename, '--no-passphrase']
|
||||
if keySize is not None:
|
||||
args.extend(['-b', keySize])
|
||||
if privateKeySubtype is not None:
|
||||
@@ -100,7 +100,7 @@ class KeyGenTests(TestCase):
|
||||
def test_runBadKeytype(self):
|
||||
filename = self.mktemp()
|
||||
with self.assertRaises(subprocess.CalledProcessError):
|
||||
- subprocess.check_call(['ckeygen', '-t', 'foo', '-f', filename])
|
||||
+ subprocess.check_call(['ckeygen-' + sys.version[:3], '-t', 'foo', '-f', filename])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user