tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.wandb: 0.13.4 -> 0.13.5
Samuel Ainsworth
3 years ago
980a853c
b37bcf7c
+5
-20
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
wandb
default.nix
hardcode-git-path.patch
+2
-4
pkgs/development/python-modules/wandb/default.nix
reviewed
···
39
39
40
40
buildPythonPackage rec {
41
41
pname = "wandb";
42
42
-
version = "0.13.4";
42
42
+
version = "0.13.5";
43
43
format = "setuptools";
44
44
45
45
disabled = pythonOlder "3.6";
···
48
48
owner = pname;
49
49
repo = pname;
50
50
rev = "refs/tags/v${version}";
51
51
-
hash = "sha256-+3fLExLQChXKx1LCnNvPLNTUzopP+D+6tOikFrjdysY=";
51
51
+
hash = "sha256-1GoFmncG5bUWJOIUDLatopQMxCFsmlcj8aofJMGUTzQ=";
52
52
};
53
53
54
54
patches = [
···
132
132
"tests/unit_tests/test_internal_api.py"
133
133
"tests/unit_tests/test_label_full.py"
134
134
"tests/unit_tests/test_login.py"
135
135
-
"tests/unit_tests/test_meta.py"
136
135
"tests/unit_tests/test_metric_full.py"
137
136
"tests/unit_tests/test_metric_internal.py"
138
137
"tests/unit_tests/test_mode_disabled.py"
···
145
144
"tests/unit_tests/test_start_method.py"
146
145
"tests/unit_tests/test_tb_watcher.py"
147
146
"tests/unit_tests/test_telemetry_full.py"
148
148
-
"tests/unit_tests/test_tpu.py"
149
147
"tests/unit_tests/test_util.py"
150
148
151
149
# Tries to access /homeless-shelter
+3
-16
pkgs/development/python-modules/wandb/hardcode-git-path.patch
reviewed
···
15
15
index 5767e61c..56009fec 100644
16
16
--- a/wandb/cli/cli.py
17
17
+++ b/wandb/cli/cli.py
18
18
-
@@ -1917,7 +1917,7 @@ def restore(ctx, run, no_git, branch, project, entity):
18
18
+
@@ -1919,7 +1919,7 @@ def restore(ctx, run, no_git, branch, project, entity):
19
19
commit, json_config, patch_content, metadata = api.run_config(
20
20
project, run=run, entity=entity
21
21
)
···
24
24
image = metadata.get("docker")
25
25
restore_message = (
26
26
"""`wandb restore` needs to be run from the same git repository as the original run.
27
27
-
@@ -1936,7 +1936,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
27
27
+
@@ -1938,7 +1938,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
28
28
29
29
if commit and api.git.enabled:
30
30
wandb.termlog(f"Fetching origin and finding commit: {commit}")
···
33
33
try:
34
34
api.git.repo.commit(commit)
35
35
except ValueError:
36
36
-
@@ -1990,7 +1990,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
36
36
+
@@ -1992,7 +1992,7 @@ Run `git clone %s` and restore from there or pass the --no-git flag."""
37
37
# --reject is necessary or else this fails any time a binary file
38
38
# occurs in the diff
39
39
exit_code = subprocess.call(
···
42
42
)
43
43
if exit_code == 0:
44
44
wandb.termlog("Applied patch")
45
45
-
diff --git a/wandb/sdk/internal/meta.py b/wandb/sdk/internal/meta.py
46
46
-
index 6c53f750..c385951a 100644
47
47
-
--- a/wandb/sdk/internal/meta.py
48
48
-
+++ b/wandb/sdk/internal/meta.py
49
49
-
@@ -125,7 +125,7 @@ class Meta:
50
50
-
logger.debug("save patches")
51
51
-
try:
52
52
-
root = self._git.root
53
53
-
- diff_args = ["git", "diff"]
54
54
-
+ diff_args = ["@git@", "diff"]
55
55
-
if self._git.has_submodule_diff:
56
56
-
diff_args.append("--submodule=diff")
57
57
-
58
45
diff --git a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py b/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py
59
46
index 614df9f5..38db460b 100644
60
47
--- a/wandb/vendor/graphql-core-1.1/wandb_graphql/pyutils/version.py