···22, bokeh
33, buildPythonPackage
44, click
55-, configparser
65, docker_pycreds
76, fetchFromGitHub
87, flask
···2221, pytest-mock
2322, pytest-xdist
2423, pytestCheckHook
2525-, python
2624, python-dateutil
2725, pyyaml
2826, requests
···3331, shortuuid
3432, stdenv
3533, tqdm
3636-, yaspin
3734}:
38353936buildPythonPackage rec {
4037 pname = "wandb";
4141- version = "0.12.11";
3838+ version = "0.12.14";
42394340 src = fetchFromGitHub {
4441 owner = pname;
4542 repo = "client";
4643 rev = "v${version}";
4747- sha256 = "0av4vv4llan40678bw0vlah0gn6hjg5pdqwq0c5cv15lqrdb8g32";
4444+ hash = "sha256-60E64ePW+C0C/eG7pLp4SpAFqycOHiCvOvmNOg2yoqY=";
4845 };
49465050- # The wandb requirements.txt does not distinguish python2/3 dependencies. We
5151- # need to drop the subprocess32 dependency when building for python3.
5252- patchPhase = ''
5353- substituteInPlace requirements.txt --replace "subprocess32>=3.5.3" ""
5454- '';
5555-5656- # git is not a setup.py dependency of wandb, but wandb does expect git to be
5757- # in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
5858- # for the error message, and an example usage here: https://github.com/wandb/client/blob/master/wandb/sdk/internal/meta.py#L139-L141.
5947 # setuptools is necessary since pkg_resources is required at runtime.
6048 propagatedBuildInputs = [
6149 click
6262- configparser
6350 docker_pycreds
6464- git
6551 GitPython
6652 pathtools
6753 promise
···7460 setproctitle
7561 setuptools
7662 shortuuid
7777- yaspin
7863 ];
6464+6565+ # wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
6666+ # for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
6767+ # See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
6868+ # why we don't put it in propagatedBuildInputs. Note that this is difficult to
6969+ # test offline due to https://github.com/wandb/client/issues/3519.
7070+ postInstall = ''
7171+ mkdir -p $out/bin
7272+ ln -s ${git}/bin/git $out/bin/git
7373+ '';
79748075 disabledTestPaths = [
8176 # Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
···106101 "tests/wandb_settings_test.py"
107102 "tests/wandb_sweep_test.py"
108103 "tests/wandb_verify_test.py"
104104+ "tests/test_model_workflows.py"
109105110106 # Fails and borks the pytest runner as well.
111107 "tests/wandb_test.py"
···22# Do not edit!
3344{
55- version = "2022.4.3";
55+ version = "2022.4.4";
66 components = {
77 "abode" = ps: with ps; [
88 abodepy
+2-2
pkgs/servers/home-assistant/default.nix
···168168 extraPackagesFile = writeText "home-assistant-packages" (lib.concatMapStringsSep "\n" (pkg: pkg.pname) extraBuildInputs);
169169170170 # Don't forget to run parse-requirements.py after updating
171171- hassVersion = "2022.4.3";
171171+ hassVersion = "2022.4.4";
172172173173in python.pkgs.buildPythonApplication rec {
174174 pname = "homeassistant";
···186186 owner = "home-assistant";
187187 repo = "core";
188188 rev = version;
189189- hash = "sha256-kubW0JhG9ervVHVl65YmD5jd/0oWenacAyfSP0EPmsU=";
189189+ hash = "sha256-NcFQjLNBGT0tNrlgkVLB3uFr9Yh4rc4HnLzALYvcrYA=";
190190 };
191191192192 # leave this in, so users don't have to constantly update their downstream patch handling
+1
pkgs/servers/home-assistant/parse-requirements.py
···3737# If some requirements are matched by multiple or no Python packages, the
3838# following can be used to choose the correct one
3939PKG_PREFERENCES = {
4040+ "ha-av": "av",
4041 "youtube_dl": "youtube-dl-light",
4142 "tensorflow": "tensorflow",
4243 "fiblary3": "fiblary3-fork", # https://github.com/home-assistant/core/issues/66466