···22 lib,
33 fetchPypi,
44 buildPythonPackage,
55- pythonOlder,
66- numpy,
77- wheel,
88- werkzeug,
99- protobuf,
55+66+ # dependencies
77+ absl-py,
108 grpcio,
119 markdown,
1212- absl-py,
1313- google-auth-oauthlib,
1010+ numpy,
1111+ packaging,
1212+ protobuf,
1413 setuptools,
1515- standard-imghdr,
1414+ six,
1615 tensorboard-data-server,
1717- tensorboard-plugin-wit,
1818- tensorboard-plugin-profile,
1919-}:
1616+ werkzeug,
1717+ standard-imghdr,
20182121-# tensorflow/tensorboard is built from a downloaded wheel, because
2222-# https://github.com/tensorflow/tensorboard/issues/719 blocks
2323-# buildBazelPackage.
1919+ versionCheckHook,
2020+}:
24212522buildPythonPackage rec {
2623 pname = "tensorboard";
2727- version = "2.18.0";
2424+ version = "2.19.0";
2825 format = "wheel";
2929- disabled = pythonOlder "3.9";
30262727+ # tensorflow/tensorboard is built from a downloaded wheel, because
2828+ # https://github.com/tensorflow/tensorboard/issues/719 blocks buildBazelPackage.
3129 src = fetchPypi {
3230 inherit pname version format;
3331 dist = "py3";
3432 python = "py3";
3535- hash = "sha256-EHykghdF9z4q76AsUP9wqbaU8595CxHm9oL30yZ0Xqs=";
3333+ hash = "sha256-XnG5hmOmQafOim5wsL6OGkwMRdSHYLB2ODrEdVw1uaA=";
3634 };
37353836 pythonRelaxDeps = [
···4038 "protobuf"
4139 ];
42404343- propagatedBuildInputs = [
4141+ dependencies = [
4442 absl-py
4543 grpcio
4646- google-auth-oauthlib
4744 markdown
4845 numpy
4646+ packaging
4947 protobuf
5048 setuptools
5151- standard-imghdr
4949+ six
5250 tensorboard-data-server
5353- tensorboard-plugin-profile
5454- tensorboard-plugin-wit
5551 werkzeug
5656- # not declared in install_requires, but used at runtime
5757- # https://github.com/NixOS/nixpkgs/issues/73840
5858- wheel
5959- ];
60526161- # in the absence of a real test suite, run cli and imports
6262- checkPhase = ''
6363- $out/bin/tensorboard --help > /dev/null
6464- '';
5353+ # Requires 'imghdr' which has been removed from python in 3.13
5454+ # ModuleNotFoundError: No module named 'imghdr'
5555+ # https://github.com/tensorflow/tensorboard/issues/6964
5656+ standard-imghdr
5757+ ];
65586659 pythonImportsCheck = [
6760 "tensorboard"
···7366 "tensorboard.util"
7467 ];
75687676- meta = with lib; {
6969+ nativeCheckInputs = [
7070+ versionCheckHook
7171+ ];
7272+ versionCheckProgramArg = "--version";
7373+7474+ meta = {
7775 changelog = "https://github.com/tensorflow/tensorboard/blob/${version}/RELEASE.md";
7876 description = "TensorFlow's Visualization Toolkit";
7977 homepage = "https://www.tensorflow.org/";
8080- license = licenses.asl20;
7878+ license = lib.licenses.asl20;
8179 mainProgram = "tensorboard";
8282- maintainers = with maintainers; [ abbradar ];
8080+ maintainers = with lib.maintainers; [ abbradar ];
8381 };
8482}
+20-19
pkgs/development/python-modules/torch/default.nix
···44444545 # dependencies
4646 astunparse,
4747- fsspec,
4747+ expecttest,
4848 filelock,
4949+ fsspec,
5050+ hypothesis,
4951 jinja2,
5052 networkx,
5353+ packaging,
5454+ psutil,
5555+ pyyaml,
5656+ requests,
5157 sympy,
5252- numpy,
5353- pyyaml,
5454- cffi,
5555- click,
5858+ types-dataclasses,
5659 typing-extensions,
5760 # ROCm build and `torch.compile` requires `triton`
5861 tritonSupport ? (!stdenv.hostPlatform.isDarwin),
···6871 # (@SomeoneSerge)
6972 _tritonEffective ? if cudaSupport then triton-cuda else triton,
7073 triton-cuda,
7171-7272- # Unit tests
7373- hypothesis,
7474- psutil,
75747675 # Disable MKLDNN on aarch64-darwin, it negatively impacts performance,
7776 # this is also what official pytorch build does
···510509 dependencies =
511510 [
512511 astunparse
513513- cffi
514514- click
515515- numpy
516516- pyyaml
517517-518518- # From install_requires:
519519- fsspec
512512+ expecttest
520513 filelock
521521- typing-extensions
522522- sympy
523523- networkx
514514+ fsspec
515515+ hypothesis
524516 jinja2
517517+ networkx
518518+ ninja
519519+ packaging
520520+ psutil
521521+ pyyaml
522522+ requests
523523+ sympy
524524+ types-dataclasses
525525+ typing-extensions
525526526527 # the following are required for tensorboard support
527528 pillow
+1
pkgs/top-level/aliases.nix
···822822 licensor = throw "'licensor' has been removed due to lack of upstream maintenance"; # Added 2025-01-25
823823 lightdm_gtk_greeter = lightdm-gtk-greeter; # Added 2022-08-01
824824 lightstep-tracer-cpp = throw "lightstep-tracer-cpp is deprecated since 2022-08-29; the upstream recommends migration to opentelemetry projects.";
825825+ lime3ds = throw "lime3ds is deprecated, use 'azahar' instead."; # Added 2025-03-22
825826 limesctl = throw "limesctl has been removed because it is insignificant."; # Added 2024-11-25
826827 lispPackages_new = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07
827828 lispPackages = throw "Lisp packages have been redesigned. See 'lisp-modules' in the nixpkgs manual."; # Added 2024-05-07