python3Packages.wandb: 0.26.1 -> 0.27.0
Diff: https://github.com/wandb/wandb/compare/v0.26.1...v0.27.0 Changelog: https://github.com/wandb/wandb/raw/0.27.0/CHANGELOG.md
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
bokeh,
|
||||
boto3,
|
||||
cloudpickle,
|
||||
cwsandbox,
|
||||
flask,
|
||||
google-cloud-artifact-registry,
|
||||
google-cloud-compute,
|
||||
@@ -75,12 +76,12 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.26.1";
|
||||
version = "0.27.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "wandb";
|
||||
repo = "wandb";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-QtMjiRqE9ZhA1S8gHt1F8NBXTq7QQ3ENhk02Lry80F4=";
|
||||
hash = "sha256-A/tEyY47BDgahOhQWlmeF2koEDpIsV9QVoYMIBEbKqA=";
|
||||
};
|
||||
|
||||
wandb-xpu = rustPlatform.buildRustPackage {
|
||||
@@ -90,7 +91,7 @@ let
|
||||
|
||||
sourceRoot = "${src.name}/xpu";
|
||||
|
||||
cargoHash = "sha256-RPvtMV9Mrzb6lJhMR+fi58h/ncvbNkbIjAP35sdaOO0=";
|
||||
cargoHash = "sha256-vB0LZjfnf//U1BXCzvaQBjlXLlGx/4g+emSZWcS+oGU=";
|
||||
|
||||
checkFlags = [
|
||||
# fails in sandbox
|
||||
@@ -120,13 +121,15 @@ let
|
||||
|
||||
sourceRoot = "${src.name}/parquet-rust-wrapper";
|
||||
|
||||
cargoHash = "sha256-w98wliTcVJr4IlmKFVU+glmawMJl5qVCSUSJ8LeceJ8=";
|
||||
cargoHash = "sha256-BkeSRbZoehYGHj15KcInugRBvOLXJlh1NqTHhRnNOK8=";
|
||||
|
||||
# The original build script renames the library:
|
||||
# https://github.com/wandb/wandb/blob/v0.26.0/parquet-rust-wrapper/build.sh#L37-L68
|
||||
postInstall = ''
|
||||
mv $out/lib/libarrow_rs_wrapper${sharedLibrary} $out/lib/${libRustParquet}
|
||||
'';
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
};
|
||||
|
||||
wandb-core = buildGoModule {
|
||||
@@ -136,8 +139,15 @@ let
|
||||
sourceRoot = "${src.name}/core";
|
||||
|
||||
postPatch =
|
||||
# hardcode the `wandb-xpu` binary path.
|
||||
# Relax the Go toolchain requirement; nixpkgs ships 1.26.2.
|
||||
''
|
||||
substituteInPlace go.mod \
|
||||
--replace-fail \
|
||||
"go 1.26.3" \
|
||||
"go 1.26.2"
|
||||
''
|
||||
# hardcode the `wandb-xpu` binary path.
|
||||
+ ''
|
||||
substituteInPlace internal/monitor/xpuresourcemanager.go \
|
||||
--replace-fail \
|
||||
'cmdPath, err := getXPUCmdPath()' \
|
||||
@@ -250,6 +260,7 @@ buildPythonPackage (finalAttrs: {
|
||||
bokeh
|
||||
boto3
|
||||
cloudpickle
|
||||
cwsandbox
|
||||
flask
|
||||
google-cloud-artifact-registry
|
||||
google-cloud-compute
|
||||
|
||||
Reference in New Issue
Block a user