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