diff options
| author | Juliana Sims <juli@incana.org> | 2023-05-13 13:31:40 -0400 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-22 17:05:22 +0200 |
| commit | 6ee8b5316cad2fb960227e42f1379b895a6caf5f (patch) | |
| tree | 997489faf30ccf646c5910b03c40c1baa5610cea /gnu/packages/python-crypto.scm | |
| parent | daeafac0c4b00cb95fbe50372428830f6be1059a (diff) | |
gnu: python-txtorcon: Update to 23.0.0.
* gnu/packages/python-crypto.scm (python-txtorcon): Update to 23.0.0.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 6a7611ccdbf..7b2ac2db6eb 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -1247,22 +1247,33 @@ Password-Authenticated Key Exchange algorithm.") | |||
| 1247 | (define-public python-txtorcon | 1247 | (define-public python-txtorcon |
| 1248 | (package | 1248 | (package |
| 1249 | (name "python-txtorcon") | 1249 | (name "python-txtorcon") |
| 1250 | (version "19.0.0") | 1250 | (version "23.0.0") |
| 1251 | (source (origin | 1251 | (source (origin |
| 1252 | (method url-fetch) | 1252 | (method url-fetch) |
| 1253 | (uri (pypi-uri "txtorcon" version)) | 1253 | (uri (pypi-uri "txtorcon" version)) |
| 1254 | (sha256 | 1254 | (sha256 |
| 1255 | (base32 | 1255 | (base32 |
| 1256 | "0fxzhsc62bhmr730vj9pzallmw56gz6iykvl28a5agrycm0bfc9p")) | 1256 | "09a3k4g90pvs0q006ighka7xic39nnnk9bfrka23g4b8cynzy982")))) |
| 1257 | (modules '((guix build utils))) | ||
| 1258 | (snippet #~(substitute* "txtorcon/controller.py" | ||
| 1259 | (("from collections import Sequence") | ||
| 1260 | "from collections.abc import Sequence"))))) | ||
| 1261 | (build-system python-build-system) | 1257 | (build-system python-build-system) |
| 1262 | (arguments | 1258 | (arguments |
| 1263 | ;; The tests fail immediately due to a missing file. Reported upstream: | 1259 | (list #:phases #~(modify-phases %standard-phases |
| 1264 | ;; <https://github.com/meejah/txtorcon/issues/330> | 1260 | (add-before 'check 'disable-failing-tests |
| 1265 | (list #:tests? #f)) | 1261 | (lambda _ |
| 1262 | ;; These tests fail | ||
| 1263 | (substitute* "test/test_router.py" | ||
| 1264 | (("\\W+def test_countrycode\\(self\\):" all) | ||
| 1265 | (string-append | ||
| 1266 | " from unittest import skip as _skip\n" | ||
| 1267 | " @_skip('Fails during Guix build')\n" all)) | ||
| 1268 | (("\\W+def test_get_location_private\\(self\\):" | ||
| 1269 | all) | ||
| 1270 | (string-append | ||
| 1271 | " @_skip('Fails during Guix build')\n" all))) | ||
| 1272 | ;; This test errors out | ||
| 1273 | (substitute* "test/test_util.py" | ||
| 1274 | (("\\W+def test_real_addr\\(self\\):" all) | ||
| 1275 | (string-append | ||
| 1276 | " @_skip('Fails during Guix build')\n" all)))))))) | ||
| 1266 | (propagated-inputs (list python-automat | 1277 | (propagated-inputs (list python-automat |
| 1267 | python-idna | 1278 | python-idna |
| 1268 | python-incremental | 1279 | python-incremental |
| @@ -1270,6 +1281,7 @@ Password-Authenticated Key Exchange algorithm.") | |||
| 1270 | python-service-identity | 1281 | python-service-identity |
| 1271 | python-twisted | 1282 | python-twisted |
| 1272 | python-zope-interface)) | 1283 | python-zope-interface)) |
| 1284 | (native-inputs (list python-mock)) | ||
| 1273 | (home-page "https://github.com/meejah/txtorcon") | 1285 | (home-page "https://github.com/meejah/txtorcon") |
| 1274 | (synopsis "Twisted-based Tor controller client") | 1286 | (synopsis "Twisted-based Tor controller client") |
| 1275 | (description "This package provides a Twisted-based Tor controller client, | 1287 | (description "This package provides a Twisted-based Tor controller client, |
