home-assistant: pin sigstore at 1.1.2

Fixes the github component.

Closes: #310122
This commit is contained in:
Martin Weinelt 2024-05-09 12:57:15 +02:00
parent b4a45dadf0
commit 3f8ff2f06b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -387,6 +387,46 @@ let
};
});
# newer sigstore version transitivevly require pydantic>=2
sigstore = super.sigstore.overridePythonAttrs (oldAttrs: rec {
version = "1.1.2";
src = fetchFromGitHub {
owner = "sigstore";
repo = "sigstore-python";
rev = "refs/tags/v${version}";
hash = "sha256-QqY5GOBS75OkbSaF5Ua5jnJAhsYfVRuWLUoWDxX8Ino=";
};
dependencies = with self; [
appdirs
cryptography
id
pydantic
pyjwt
pyopenssl
requests
securesystemslib
sigstore-protobuf-specs
tuf
];
doCheck = false; # pytest too new
});
sigstore-protobuf-specs = super.sigstore-protobuf-specs.overridePythonAttrs {
version = "0.1.0";
src = fetchPypi {
pname = "sigstore-protobuf-specs";
version = "0.1.0";
hash = "sha256-YistIxYToo7T5mYKzYeBhnW06DSG9JoPDBmKxUdfy4E=";
};
nativeBuildInputs = with self; [
flit-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"betterproto"
];
};
tesla-powerwall = super.tesla-powerwall.overridePythonAttrs (oldAttrs: rec {
version = "0.5.1";
src = fetchFromGitHub {
@ -397,6 +437,19 @@ let
};
});
tuf = super.tuf.overridePythonAttrs rec {
version = "2.1.0";
src = fetchFromGitHub {
owner = "theupdateframework";
repo = "python-tuf";
rev = "refs/tags/v${version}";
hash = "sha256-MdPctAZuKn/YAwpMJ5gWU7PXJD3iK7bYprLXV52wNQQ=";
};
disabledTests = [
"test_sign_failures"
];
};
versioningit = super.versioningit.overridePythonAttrs {
doCheck = false;
};