Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.ultralytics 0 -> 1 attrpath: python3Packages.ultralytics Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ls9c25m9qvcxqkyvs3ccwqa45pb1wikd-packages.json.drv building '/nix/store/ls9c25m9qvcxqkyvs3ccwqa45pb1wikd-packages.json.drv'... Going to be running update for following packages: - python3.13-ultralytics-8.4.46 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.13-ultralytics-8.4.46: UPDATING ... - python3.13-ultralytics-8.4.46: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/ultralytics/default.nix b/pkgs/development/python-modules/ultralytics/default.nix index ae11832410bc..ff79714c1304 100644 --- a/pkgs/development/python-modules/ultralytics/default.nix +++ b/pkgs/development/python-modules/ultralytics/default.nix @@ -34,14 +34,14 @@ buildPythonPackage (finalAttrs: { pname = "ultralytics"; - version = "8.4.46"; + version = "8.4.48"; pyproject = true; src = fetchFromGitHub { owner = "ultralytics"; repo = "ultralytics"; tag = "v${finalAttrs.version}"; - hash = "sha256-yU1aCUGNhbAWASF80qAHCORL/CZy3Cd0Odm7ZYhJAZs="; + hash = "sha256-FNZSZylsx/du/3h2cq/246ZQVvuroEvPta6nokdyXQ4="; }; build-system = [ setuptools ]; An auto update branch exists with message `python3Packages.ultralytics: 8.4.41 -> 8.4.46`. New version is 8.4.48. The auto update branch does not match or exceed the new version. Old version 8.4.46" not present in master derivation file with contents: { lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # dependencies lap, matplotlib, opencv-python, pandas, pillow, polars, psutil, py-cpuinfo, pyyaml, requests, scipy, seaborn, torch, torchvision, tqdm, ultralytics-thop, # tests aiohttp, onnx, onnxruntime, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "ultralytics"; version = "8.4.48"; pyproject = true; src = fetchFromGitHub { owner = "ultralytics"; repo = "ultralytics"; tag = "v${finalAttrs.version}"; hash = "sha256-FNZSZylsx/du/3h2cq/246ZQVvuroEvPta6nokdyXQ4="; }; build-system = [ setuptools ]; pythonRelaxDeps = [ "numpy" ]; dependencies = [ lap matplotlib opencv-python pandas pillow polars psutil py-cpuinfo pyyaml requests scipy scipy seaborn torch torchvision tqdm ultralytics-thop ]; pythonImportsCheck = [ "ultralytics" ]; nativeCheckInputs = [ aiohttp onnx onnxruntime pytestCheckHook ]; enabledTestPaths = [ # rest of the tests require internet access "tests/test_python.py" ]; disabledTests = [ # also remove the individual tests that require internet "test_predict_gray_and_4ch" "test_all_model_yamls" "test_data_annotator" "test_labels_and_crops" "test_model_embeddings" "test_model_methods" "test_predict_callback_and_setup" "test_predict_grey_and_4ch" "test_predict_img" "test_predict_txt" "test_predict_visualize" "test_results" "test_train_pretrained" "test_train_scratch" "test_utils_torchutils" "test_val" "test_workflow" "test_yolo_world" "test_yolov10" "test_yoloe" "test_multichannel" "test_grayscale" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ # Fatal Python error: Aborted # onnxruntime/capi/_pybind_state.py", line 32 in "test_utils_benchmarks" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Fatal Python error: Aborted # ultralytics/utils/checks.py", line 598 in check_imshow "test_utils_checks" # RuntimeError: required keyword attribute 'value' has the wrong type "test_utils_benchmarks" # RuntimeError: Dataset 'https://github.com/ultralytics/assets/releases/download/v0.0.0/coco8-ndjson.ndjson' # error <9D><8C> [Errno 13] Permission denied: # '/nix/store/rnns5r21nibx26f2c2gxdk3h8l0jcg68-python3.12-ultralytics-8.3.221/datasets/coco8-ndjson/labels/train/000000000009.txt' "test_train_ndjson" ]; meta = { homepage = "https://github.com/ultralytics/ultralytics"; changelog = "https://github.com/ultralytics/ultralytics/releases/tag/${finalAttrs.src.tag}"; description = "Train YOLO models for computer vision tasks"; mainProgram = "yolo"; license = lib.licenses.agpl3Only; maintainers = with lib.maintainers; [ osbm mana-byte ]; badPlatforms = [ # Tests crash with: # Fatal Python error: Segmentation fault for x86_64 Darwin in tests/python.py "x86_64-darwin" ]; }; })