Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+31 -37
+31 -33
pkgs/development/python-modules/tensorboard/default.nix
··· 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 - pythonOlder, 6 - numpy, 7 - wheel, 8 - werkzeug, 9 - protobuf, 10 grpcio, 11 markdown, 12 - absl-py, 13 - google-auth-oauthlib, 14 setuptools, 15 - standard-imghdr, 16 tensorboard-data-server, 17 - tensorboard-plugin-wit, 18 - tensorboard-plugin-profile, 19 - }: 20 21 - # tensorflow/tensorboard is built from a downloaded wheel, because 22 - # https://github.com/tensorflow/tensorboard/issues/719 blocks 23 - # buildBazelPackage. 24 25 buildPythonPackage rec { 26 pname = "tensorboard"; 27 - version = "2.18.0"; 28 format = "wheel"; 29 - disabled = pythonOlder "3.9"; 30 31 src = fetchPypi { 32 inherit pname version format; 33 dist = "py3"; 34 python = "py3"; 35 - hash = "sha256-EHykghdF9z4q76AsUP9wqbaU8595CxHm9oL30yZ0Xqs="; 36 }; 37 38 pythonRelaxDeps = [ ··· 40 "protobuf" 41 ]; 42 43 - propagatedBuildInputs = [ 44 absl-py 45 grpcio 46 - google-auth-oauthlib 47 markdown 48 numpy 49 protobuf 50 setuptools 51 - standard-imghdr 52 tensorboard-data-server 53 - tensorboard-plugin-profile 54 - tensorboard-plugin-wit 55 werkzeug 56 - # not declared in install_requires, but used at runtime 57 - # https://github.com/NixOS/nixpkgs/issues/73840 58 - wheel 59 - ]; 60 61 - # in the absence of a real test suite, run cli and imports 62 - checkPhase = '' 63 - $out/bin/tensorboard --help > /dev/null 64 - ''; 65 66 pythonImportsCheck = [ 67 "tensorboard" ··· 73 "tensorboard.util" 74 ]; 75 76 - meta = with lib; { 77 changelog = "https://github.com/tensorflow/tensorboard/blob/${version}/RELEASE.md"; 78 description = "TensorFlow's Visualization Toolkit"; 79 homepage = "https://www.tensorflow.org/"; 80 - license = licenses.asl20; 81 mainProgram = "tensorboard"; 82 - maintainers = with maintainers; [ abbradar ]; 83 }; 84 }
··· 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 + 6 + # dependencies 7 + absl-py, 8 grpcio, 9 markdown, 10 + numpy, 11 + packaging, 12 + protobuf, 13 setuptools, 14 + six, 15 tensorboard-data-server, 16 + werkzeug, 17 + standard-imghdr, 18 19 + versionCheckHook, 20 + }: 21 22 buildPythonPackage rec { 23 pname = "tensorboard"; 24 + version = "2.19.0"; 25 format = "wheel"; 26 27 + # tensorflow/tensorboard is built from a downloaded wheel, because 28 + # https://github.com/tensorflow/tensorboard/issues/719 blocks buildBazelPackage. 29 src = fetchPypi { 30 inherit pname version format; 31 dist = "py3"; 32 python = "py3"; 33 + hash = "sha256-XnG5hmOmQafOim5wsL6OGkwMRdSHYLB2ODrEdVw1uaA="; 34 }; 35 36 pythonRelaxDeps = [ ··· 38 "protobuf" 39 ]; 40 41 + dependencies = [ 42 absl-py 43 grpcio 44 markdown 45 numpy 46 + packaging 47 protobuf 48 setuptools 49 + six 50 tensorboard-data-server 51 werkzeug 52 53 + # Requires 'imghdr' which has been removed from python in 3.13 54 + # ModuleNotFoundError: No module named 'imghdr' 55 + # https://github.com/tensorflow/tensorboard/issues/6964 56 + standard-imghdr 57 + ]; 58 59 pythonImportsCheck = [ 60 "tensorboard" ··· 66 "tensorboard.util" 67 ]; 68 69 + nativeCheckInputs = [ 70 + versionCheckHook 71 + ]; 72 + versionCheckProgramArg = "--version"; 73 + 74 + meta = { 75 changelog = "https://github.com/tensorflow/tensorboard/blob/${version}/RELEASE.md"; 76 description = "TensorFlow's Visualization Toolkit"; 77 homepage = "https://www.tensorflow.org/"; 78 + license = lib.licenses.asl20; 79 mainProgram = "tensorboard"; 80 + maintainers = with lib.maintainers; [ abbradar ]; 81 }; 82 }
-4
pkgs/top-level/python-packages.nix
··· 16445 grpcioTF = self.grpcio.override { 16446 protobuf = protobufTF; 16447 }; 16448 - tensorboard-plugin-profileTF = self.tensorboard-plugin-profile.override { 16449 - protobuf = protobuf-pythonTF; 16450 - }; 16451 tensorboardTF = self.tensorboard.override { 16452 grpcio = grpcioTF; 16453 protobuf = protobuf-pythonTF; 16454 - tensorboard-plugin-profile = tensorboard-plugin-profileTF; 16455 }; 16456 }; 16457 in
··· 16445 grpcioTF = self.grpcio.override { 16446 protobuf = protobufTF; 16447 }; 16448 tensorboardTF = self.tensorboard.override { 16449 grpcio = grpcioTF; 16450 protobuf = protobuf-pythonTF; 16451 }; 16452 }; 16453 in