python312Packages.tensorflow-metadata: 1.15.0 -> 1.16.1 (#358589)

authored by

OTABI Tomoya and committed by
GitHub
d05b3108 ff797c2b

+7 -9
+7 -9
pkgs/development/python-modules/tensorflow-metadata/default.nix
··· 4 fetchFromGitHub, 5 googleapis-common-protos, 6 protobuf, 7 lib, 8 }: 9 10 buildPythonPackage rec { 11 pname = "tensorflow-metadata"; 12 - version = "1.15.0"; 13 - format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "tensorflow"; 17 repo = "metadata"; 18 rev = "refs/tags/v${version}"; 19 - hash = "sha256-f3bkDTy45uwqVJaXFb0Dmaj9U1lJTP5R5Ej1yzobEV4="; 20 }; 21 22 patches = [ ./build.patch ]; 23 24 - postPatch = '' 25 - substituteInPlace setup.py \ 26 - --replace 'protobuf>=3.13,<4' 'protobuf>=3.13' 27 - ''; 28 - 29 # Default build pulls in Bazel + extra deps, given the actual build 30 # is literally three lines (see below) - replace it with custom build. 31 preBuild = '' ··· 34 done 35 ''; 36 37 - propagatedBuildInputs = [ 38 absl-py 39 googleapis-common-protos 40 protobuf
··· 4 fetchFromGitHub, 5 googleapis-common-protos, 6 protobuf, 7 + setuptools, 8 lib, 9 }: 10 11 buildPythonPackage rec { 12 pname = "tensorflow-metadata"; 13 + version = "1.16.1"; 14 + pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "tensorflow"; 18 repo = "metadata"; 19 rev = "refs/tags/v${version}"; 20 + hash = "sha256-MP5P4kFACT1guZVU3f9YrnKeQaUK0Tnu7edKRy4yvlM="; 21 }; 22 23 patches = [ ./build.patch ]; 24 25 # Default build pulls in Bazel + extra deps, given the actual build 26 # is literally three lines (see below) - replace it with custom build. 27 preBuild = '' ··· 30 done 31 ''; 32 33 + build-system = [ setuptools ]; 34 + 35 + dependencies = [ 36 absl-py 37 googleapis-common-protos 38 protobuf