python3Packages.sigstore: relax cryptography

This commit is contained in:
Gaetan Lepage
2026-05-21 09:15:37 +00:00
parent 669a64507a
commit c56ce7aba5
@@ -51,6 +51,7 @@ buildPythonPackage (finalAttrs: {
build-system = [ flit-core ];
pythonRelaxDeps = [
"cryptography"
"sigstore-models"
];
@@ -83,6 +84,15 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "sigstore" ];
disabledTestPaths = [
# AttributeError: module 'cryptography.hazmat.primitives.asymmetric.ec' has no attribute 'SECT163K1'
#
# Uses ec.SECT163K1 which cryptography 48 removed entirely.
# Upstream considers this over-testing (sigstore itself never uses this curve at runtime):
# https://github.com/sigstore/sigstore-python/issues/1603
"test/unit/internal/test_key_details.py"
];
disabledTests = [
# Tests require network access
"test_fail_init_url"