python312Packages.tensorboard: 2.18.0 -> 2.19.0

Diff: https://github.com/tensorflow/tensorboard/compare/2.18.0...2.19.0

Changelog: https://github.com/tensorflow/tensorboard/releases/tag/2.19.0
This commit is contained in:
Gaetan Lepage
2025-03-22 23:11:10 +01:00
parent 298793e609
commit 256db2e5b7
2 changed files with 31 additions and 37 deletions
@@ -2,37 +2,35 @@
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
numpy,
wheel,
werkzeug,
protobuf,
# dependencies
absl-py,
grpcio,
markdown,
absl-py,
google-auth-oauthlib,
numpy,
packaging,
protobuf,
setuptools,
standard-imghdr,
six,
tensorboard-data-server,
tensorboard-plugin-wit,
tensorboard-plugin-profile,
}:
werkzeug,
standard-imghdr,
# tensorflow/tensorboard is built from a downloaded wheel, because
# https://github.com/tensorflow/tensorboard/issues/719 blocks
# buildBazelPackage.
versionCheckHook,
}:
buildPythonPackage rec {
pname = "tensorboard";
version = "2.18.0";
version = "2.19.0";
format = "wheel";
disabled = pythonOlder "3.9";
# tensorflow/tensorboard is built from a downloaded wheel, because
# https://github.com/tensorflow/tensorboard/issues/719 blocks buildBazelPackage.
src = fetchPypi {
inherit pname version format;
dist = "py3";
python = "py3";
hash = "sha256-EHykghdF9z4q76AsUP9wqbaU8595CxHm9oL30yZ0Xqs=";
hash = "sha256-XnG5hmOmQafOim5wsL6OGkwMRdSHYLB2ODrEdVw1uaA=";
};
pythonRelaxDeps = [
@@ -40,28 +38,23 @@ buildPythonPackage rec {
"protobuf"
];
propagatedBuildInputs = [
dependencies = [
absl-py
grpcio
google-auth-oauthlib
markdown
numpy
packaging
protobuf
setuptools
standard-imghdr
six
tensorboard-data-server
tensorboard-plugin-profile
tensorboard-plugin-wit
werkzeug
# not declared in install_requires, but used at runtime
# https://github.com/NixOS/nixpkgs/issues/73840
wheel
];
# in the absence of a real test suite, run cli and imports
checkPhase = ''
$out/bin/tensorboard --help > /dev/null
'';
# Requires 'imghdr' which has been removed from python in 3.13
# ModuleNotFoundError: No module named 'imghdr'
# https://github.com/tensorflow/tensorboard/issues/6964
standard-imghdr
];
pythonImportsCheck = [
"tensorboard"
@@ -73,12 +66,17 @@ buildPythonPackage rec {
"tensorboard.util"
];
meta = with lib; {
nativeCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
meta = {
changelog = "https://github.com/tensorflow/tensorboard/blob/${version}/RELEASE.md";
description = "TensorFlow's Visualization Toolkit";
homepage = "https://www.tensorflow.org/";
license = licenses.asl20;
license = lib.licenses.asl20;
mainProgram = "tensorboard";
maintainers = with maintainers; [ abbradar ];
maintainers = with lib.maintainers; [ abbradar ];
};
}
-4
View File
@@ -16445,13 +16445,9 @@ self: super: with self; {
grpcioTF = self.grpcio.override {
protobuf = protobufTF;
};
tensorboard-plugin-profileTF = self.tensorboard-plugin-profile.override {
protobuf = protobuf-pythonTF;
};
tensorboardTF = self.tensorboard.override {
grpcio = grpcioTF;
protobuf = protobuf-pythonTF;
tensorboard-plugin-profile = tensorboard-plugin-profileTF;
};
};
in