Skip to content

python3Packages.docling-serve: remove dependency on unavailable mlx-vlm#422844

Merged
drupol merged 1 commit intoNixOS:masterfrom
sarahec:docling-serve-rm-dep
Jul 6, 2025
Merged

python3Packages.docling-serve: remove dependency on unavailable mlx-vlm#422844
drupol merged 1 commit intoNixOS:masterfrom
sarahec:docling-serve-rm-dep

Conversation

@sarahec
Copy link
Contributor

@sarahec sarahec commented Jul 6, 2025

docling-serve fails to build with:

       > Checking runtime dependencies for docling_serve-0.11.0-py3-none-any.whl
       >   - mlx-vlm not installed

mlx-vlm is a Darwin-specific module that is not yet in nixpkgs. This disables the dependency.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

mlx-vlm is a Darwin-specific module that is not yet in nixpkgs.
@sarahec
Copy link
Contributor Author

sarahec commented Jul 6, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 422844
Commit: 0a95d6d9a7ddb7bacb08be3b7dfc6cbf802adebc


aarch64-darwin

✅ 4 packages built:
  • docling-serve (python313Packages.docling-serve)
  • docling-serve.dist (python313Packages.docling-serve.dist)
  • python312Packages.docling-serve
  • python312Packages.docling-serve.dist

@nixpkgs-ci nixpkgs-ci bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jul 6, 2025
@nix-owners nix-owners bot requested a review from drupol July 6, 2025 03:10
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. labels Jul 6, 2025
@sarahec
Copy link
Contributor Author

sarahec commented Jul 6, 2025

Close before #422747

@drupol drupol merged commit 8009619 into NixOS:master Jul 6, 2025
28 of 30 checks passed
@sarahec sarahec deleted the docling-serve-rm-dep branch July 6, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants