python3Packages.tensorboard: 2.9.1 -> 2.10.0

This commit is contained in:
Martin Weinelt 2022-09-14 23:36:22 +02:00
parent 81ab49a99c
commit f256380dc2

View File

@ -23,7 +23,7 @@
buildPythonPackage rec {
pname = "tensorboard";
version = "2.9.1";
version = "2.10.0";
format = "wheel";
disabled = pythonOlder "3.6" || pythonAtLeast "3.11";
@ -31,7 +31,7 @@ buildPythonPackage rec {
inherit pname version format;
dist = "py3";
python = "py3";
hash = "sha256-uqcn95F3b55YQdNHEncgzu1LvVnDa0BgS5X7KuYCknY=";
hash = "sha256-dskaXolZzSIIzDLLF6DLACutq7ZqBqwq8Cp4EPSaWeM=";
};
postPatch = ''
@ -41,8 +41,8 @@ buildPythonPackage rec {
pushd unpacked/tensorboard-${version}
substituteInPlace tensorboard-${version}.dist-info/METADATA \
--replace "google-auth (<2,>=1.6.3)" "google-auth (<3,>=1.6.3)" \
--replace "google-auth-oauthlib (<0.5,>=0.4.1)" "google-auth-oauthlib (<0.6,>=0.4.1)"
--replace "google-auth-oauthlib (<0.5,>=0.4.1)" "google-auth-oauthlib (<0.6,>=0.4.1)" \
--replace "protobuf (<3.20,>=3.9.2)" "protobuf (>=3.9.2)"
popd
wheel pack ./unpacked/tensorboard-${version}