From f29219345d9f40a1a9dfad5504440090c75e2ac9 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 26 Jan 2025 10:00:43 +0100 Subject: gnu: python-certauth: Add missing inputs and adjust disabled tests. * gnu/packages/python-crypto.scm (python-certauth)[native-inputs]: Add nss-certs-for-test. [arguments]: Adjust list of disabled tests. Change-Id: I948ad49276fa107efcfe34c8931a047c5d66ad1b --- gnu/packages/python-crypto.scm | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 846427ba6d5..cbb3ae30882 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Nikita ;;; Copyright © 2014, 2015 Mark H Weaver -;;; Copyright © 2015, 2016, 2017, 2019, 2022, 2024 Ricardo Wurmus +;;; Copyright © 2015, 2016, 2017, 2019, 2022, 2024, 2025 Ricardo Wurmus ;;; Copyright © 2016 Danny Milosavljevic ;;; Copyright © 2016, 2017, 2020 Arun Isaac ;;; Copyright © 2017 Carlo Zancanaro @@ -57,6 +57,7 @@ #:use-module (guix build-system python) #:use-module (guix utils) #:use-module (gnu packages) + #:use-module (gnu packages certs) #:use-module (gnu packages check) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-tls) @@ -455,13 +456,7 @@ blake3, a cryptographic hash function.") ;; Those tests uses PKCS12, which has been removed in ;; pyopenssl 23.3.0: "not test_custom_not_before_not_after" - "test_ca_cert_in_mem" - ;; Those tests try to download certificates: - "test_file_wildcard" - "test_file_wildcard_subdomains" - "test_in_mem_parent_wildcard_cert" - "test_in_mem_parent_wildcard_cert_at_tld" - "test_in_mem_parent_wildcard_cert_2") + "test_ca_cert_in_mem") " and not ")) #:phases #~(modify-phases %standard-phases @@ -474,7 +469,7 @@ blake3, a cryptographic hash function.") (propagated-inputs (list python-pyopenssl python-tldextract)) (native-inputs - (list python-pytest-cov python-setuptools python-wheel)) + (list nss-certs-for-test python-pytest-cov python-setuptools python-wheel)) (home-page "https://github.com/ikreymer/certauth") (synopsis "Certificate authority creation tool") (description "This package provides a small library, built on top of -- cgit v1.3