python312Packages.onnx: remove useless pkgs.protobuf from inputs (#352577)
This commit is contained in:
@@ -8,9 +8,6 @@
|
||||
pybind11,
|
||||
setuptools,
|
||||
|
||||
# nativeBuildInputs
|
||||
protobuf-core,
|
||||
|
||||
# buildInputs
|
||||
abseil-cpp,
|
||||
protobuf,
|
||||
@@ -48,10 +45,6 @@ buildPythonPackage rec {
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
protobuf-core # `protoc` required
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
abseil-cpp
|
||||
gtestStatic
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
numpy,
|
||||
packaging,
|
||||
protobuf,
|
||||
@@ -14,7 +15,7 @@ buildPythonPackage rec {
|
||||
pname = "onnxconverter-common";
|
||||
version = "1.14.0";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoft";
|
||||
@@ -23,7 +24,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-NbHyjLcr/Gq1zRiJW3ZBpEVQGVQGhp7SmfVd5hBIi2o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
packaging
|
||||
protobuf
|
||||
|
||||
@@ -9340,13 +9340,9 @@ self: super: with self; {
|
||||
|
||||
onlykey-solo-python = callPackage ../development/python-modules/onlykey-solo-python { };
|
||||
|
||||
onnx = callPackage ../development/python-modules/onnx {
|
||||
protobuf-core = pkgs.protobuf;
|
||||
};
|
||||
onnx = callPackage ../development/python-modules/onnx { };
|
||||
|
||||
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common {
|
||||
inherit (pkgs) protobuf;
|
||||
};
|
||||
onnxconverter-common = callPackage ../development/python-modules/onnxconverter-common { };
|
||||
|
||||
onnxmltools = callPackage ../development/python-modules/onnxmltools { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user