python310Packages.unstructured-inference 0 -> 1 attrpath: python310Packages.unstructured-inference Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/62c5vk87q7prl4sqdahy8sqd4kg537c2-packages.json.drv building '/nix/store/62c5vk87q7prl4sqdahy8sqd4kg537c2-packages.json.drv'... Going to be running update for following packages: - python3.10-unstructured-inference-0.5.22 Press Enter key to continue... Running update for: - python3.10-unstructured-inference-0.5.22: UPDATING ... - python3.10-unstructured-inference-0.5.22: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/unstructured-inference/default.nix b/pkgs/development/python-modules/unstructured-inference/default.nix index eb34584736d3..ee2557aeffa4 100644 --- a/pkgs/development/python-modules/unstructured-inference/default.nix +++ b/pkgs/development/python-modules/unstructured-inference/default.nix @@ -22,14 +22,14 @@ buildPythonPackage rec { pname = "unstructured-inference"; - version = "0.5.22"; + version = "0.7.5"; format = "setuptools"; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-inference"; rev = "refs/tags/${version}"; - hash = "sha256-YMPChP8/KB/UioavIa0pdj0wH9bTkN8frFmkQZ3bUPc="; + hash = "sha256-PorNIga1NgKgxkTfa5uBbVJbYoETuDrskDr2jSGwyYE="; }; postPatch = '' No auto update branch exists Old version 0.5.22" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub # runtime dependencies , layoutparser , python-multipart , huggingface-hub , opencv , onnxruntime , transformers , detectron2 , paddleocr # check inputs , pytestCheckHook , coverage , click , httpx , mypy , pytest-cov , pdf2image }: buildPythonPackage rec { pname = "unstructured-inference"; version = "0.5.28"; format = "setuptools"; src = fetchFromGitHub { owner = "Unstructured-IO"; repo = "unstructured-inference"; rev = "refs/tags/${version}"; hash = "sha256-98TThX3mBInw/bnydWfgpKSANOt6OcxOdRq01nm13nA="; }; postPatch = '' substituteInPlace requirements/base.in \ --replace "opencv-python" "opencv" ''; propagatedBuildInputs = [ layoutparser python-multipart huggingface-hub opencv onnxruntime transformers detectron2 paddleocr # yolox ] ++ layoutparser.optional-dependencies.layoutmodels ++ layoutparser.optional-dependencies.tesseract; nativeCheckInputs = [ pytestCheckHook coverage click httpx mypy pytest-cov pdf2image huggingface-hub ]; preCheck = '' export HOME=$(mktemp -d) ''; disabledTests = [ # not sure why this fails "test_get_path_oob_move_deeply_nested" "test_get_path_oob_move_nested[False]" # requires yolox "test_yolox" ]; disabledTestPaths = [ # network access "test_unstructured_inference/inference/test_layout.py" "test_unstructured_inference/models/test_chippermodel.py" "test_unstructured_inference/models/test_detectron2.py" "test_unstructured_inference/models/test_detectron2onnx.py" # unclear failure "test_unstructured_inference/models/test_donut.py" "test_unstructured_inference/models/test_model.py" "test_unstructured_inference/models/test_tables.py" ]; pythonImportsCheck = [ "unstructured_inference" ]; meta = with lib; { description = "hosted model inference code for layout parsing models"; homepage = "https://github.com/Unstructured-IO/unstructured-inference"; changelog = "https://github.com/Unstructured-IO/unstructured-inference/blob/${src.rev}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ happysalada ]; platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ]; }; }