diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-04 10:56:06 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-04 12:21:20 +0000 |
| commit | 3722cb156a0f779515218b4abf0b93ceadc6ffb4 (patch) | |
| tree | be2bcd4d61a6dfa5c01101d0dd62d8f8f804ce5b /gnu/packages/python-crypto.scm | |
| parent | 4fa41a04802c43dc4c064b7ac4c2e6a4e92f63b6 (diff) | |
gnu: python-txtorcon: Update to 24.8.0.
Reported in #75979 by bdju <bdju@tilde.team>.
Test suite failed to complete successfully, this change refreshes
version and simplify package.
* gnu/packages/python-crypto.scm: Add (gnu packages lsof).
(python-txtorcon): Update to 24.8.0.
[build-system]: Swap to pyproject-build-system.
[arguments] <phases>: Remove 'disable-failing-tests.
[inputs]: Add lsof.
[native-inputs]: Remove python-mock; add python-pytest,
python-setuptools, and python-wheel.
Change-Id: I26bc9bb1040b4e4408405e40db108a38e674df81
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 49 |
1 files changed, 19 insertions, 30 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index bf2262950ad..5984f7fc570 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -30,6 +30,7 @@ | |||
| 30 | ;;; Copyright © 2023 Juliana Sims <juli@incana.org> | 30 | ;;; Copyright © 2023 Juliana Sims <juli@incana.org> |
| 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> | 31 | ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> |
| 32 | ;;; Copyright © 2024 jgart <jgart@dismail.de> | 32 | ;;; Copyright © 2024 jgart <jgart@dismail.de> |
| 33 | ;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com> | ||
| 33 | ;;; | 34 | ;;; |
| 34 | ;;; This file is part of GNU Guix. | 35 | ;;; This file is part of GNU Guix. |
| 35 | ;;; | 36 | ;;; |
| @@ -62,6 +63,7 @@ | |||
| 62 | #:use-module (gnu packages crypto) | 63 | #:use-module (gnu packages crypto) |
| 63 | #:use-module (gnu packages kerberos) | 64 | #:use-module (gnu packages kerberos) |
| 64 | #:use-module (gnu packages libffi) | 65 | #:use-module (gnu packages libffi) |
| 66 | #:use-module (gnu packages lsof) | ||
| 65 | #:use-module (gnu packages multiprecision) | 67 | #:use-module (gnu packages multiprecision) |
| 66 | #:use-module (gnu packages password-utils) | 68 | #:use-module (gnu packages password-utils) |
| 67 | #:use-module (gnu packages pkg-config) | 69 | #:use-module (gnu packages pkg-config) |
| @@ -1338,41 +1340,28 @@ Password-Authenticated Key Exchange algorithm.") | |||
| 1338 | (define-public python-txtorcon | 1340 | (define-public python-txtorcon |
| 1339 | (package | 1341 | (package |
| 1340 | (name "python-txtorcon") | 1342 | (name "python-txtorcon") |
| 1341 | (version "23.0.0") | 1343 | (version "24.8.0") |
| 1342 | (source (origin | 1344 | (source (origin |
| 1343 | (method url-fetch) | 1345 | (method url-fetch) |
| 1344 | (uri (pypi-uri "txtorcon" version)) | 1346 | (uri (pypi-uri "txtorcon" version)) |
| 1345 | (sha256 | 1347 | (sha256 |
| 1346 | (base32 | 1348 | (base32 |
| 1347 | "09a3k4g90pvs0q006ighka7xic39nnnk9bfrka23g4b8cynzy982")))) | 1349 | "1l4ajw4h7nay4vmllh6cs7zh3hnh8vj4yvgfnq3m734wil9ikzmy")))) |
| 1348 | (build-system python-build-system) | 1350 | (build-system pyproject-build-system) |
| 1349 | (arguments | 1351 | (native-inputs |
| 1350 | (list #:phases #~(modify-phases %standard-phases | 1352 | (list python-pytest |
| 1351 | (add-before 'check 'disable-failing-tests | 1353 | python-setuptools |
| 1352 | (lambda _ | 1354 | python-wheel)) |
| 1353 | ;; These tests fail | 1355 | (inputs |
| 1354 | (substitute* "test/test_router.py" | 1356 | (list lsof)) |
| 1355 | (("\\W+def test_countrycode\\(self\\):" all) | 1357 | (propagated-inputs |
| 1356 | (string-append | 1358 | (list python-automat |
| 1357 | " from unittest import skip as _skip\n" | 1359 | python-idna |
| 1358 | " @_skip('Fails during Guix build')\n" all)) | 1360 | python-incremental |
| 1359 | (("\\W+def test_get_location_private\\(self\\):" | 1361 | python-pyopenssl |
| 1360 | all) | 1362 | python-service-identity |
| 1361 | (string-append | 1363 | python-twisted |
| 1362 | " @_skip('Fails during Guix build')\n" all))) | 1364 | python-zope-interface)) |
| 1363 | ;; This test errors out | ||
| 1364 | (substitute* "test/test_util.py" | ||
| 1365 | (("\\W+def test_real_addr\\(self\\):" all) | ||
| 1366 | (string-append | ||
| 1367 | " @_skip('Fails during Guix build')\n" all)))))))) | ||
| 1368 | (propagated-inputs (list python-automat | ||
| 1369 | python-idna | ||
| 1370 | python-incremental | ||
| 1371 | python-pyopenssl | ||
| 1372 | python-service-identity | ||
| 1373 | python-twisted | ||
| 1374 | python-zope-interface)) | ||
| 1375 | (native-inputs (list python-mock)) | ||
| 1376 | (home-page "https://github.com/meejah/txtorcon") | 1365 | (home-page "https://github.com/meejah/txtorcon") |
| 1377 | (synopsis "Twisted-based Tor controller client") | 1366 | (synopsis "Twisted-based Tor controller client") |
| 1378 | (description "This package provides a Twisted-based Tor controller client, | 1367 | (description "This package provides a Twisted-based Tor controller client, |
