python3Packages: various fixes (#522582)
This commit is contained in:
@@ -56,6 +56,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
pname = "executorch";
|
||||
version = "1.2.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytorch";
|
||||
@@ -152,6 +153,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
"pytest-xdist"
|
||||
];
|
||||
pythonRelaxDeps = [
|
||||
"mpmath"
|
||||
"scikit-learn"
|
||||
"torchao"
|
||||
];
|
||||
|
||||
@@ -32,6 +32,7 @@ buildPythonPackage (finalAttrs: {
|
||||
pname = "mlflow";
|
||||
version = "3.12.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mlflow";
|
||||
@@ -47,6 +48,9 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
];
|
||||
dependencies = [
|
||||
aiohttp
|
||||
alembic
|
||||
|
||||
@@ -37,19 +37,21 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "sigstore";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigstore";
|
||||
repo = "sigstore-python";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Wt9ZoMHTiMlbAab9p8/WF38/OiyCaqHPS5R7/fTAfxw=";
|
||||
hash = "sha256-33JjQdYH/FptFUo0CecWItm9qH1wGQPHdk/JSdX8QfQ=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"cryptography"
|
||||
"sigstore-models"
|
||||
];
|
||||
|
||||
@@ -82,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"
|
||||
|
||||
Reference in New Issue
Block a user