Skip to content

Fixing building pdev on osx-arm64#428

Merged
castelao merged 3 commits into
mainfrom
fix/pdev_osx_202605
May 21, 2026
Merged

Fixing building pdev on osx-arm64#428
castelao merged 3 commits into
mainfrom
fix/pdev_osx_202605

Conversation

@castelao
Copy link
Copy Markdown
Member

@castelao castelao commented May 20, 2026

Can't build pdev environment due to failing during compilation of docling-parse.

Since it was passing on our GA tests, it is probably associated with my local toolchain. I couldn't identify the exact issue, but was able to make the conda-forge distributions to work for OSX, so this should be enough for now.

@castelao castelao self-assigned this May 20, 2026
@castelao castelao added the bugfix Fixed a known bug label May 20, 2026
@castelao castelao force-pushed the fix/pdev_osx_202605 branch from f46bbd3 to 74541c5 Compare May 21, 2026 00:06
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.70%. Comparing base (4c24764) to head (2eeb028).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #428   +/-   ##
=======================================
  Coverage   55.70%   55.70%           
=======================================
  Files          62       62           
  Lines        5983     5983           
  Branches      568      568           
=======================================
  Hits         3333     3333           
  Misses       2590     2590           
  Partials       60       60           
Flag Coverage Δ
unittests 55.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@castelao
Copy link
Copy Markdown
Member Author

For the records, I wasn't able to setup docling-* through conda-forge for all platforms, but it seems to work for OSX only. I also wasn't able to bump the standard python in pixi to 3.13 due to a pinned legacy torch, but we can leave that for later.

@castelao castelao marked this pull request as ready for review May 21, 2026 00:42
@castelao castelao requested a review from ppinchuk as a code owner May 21, 2026 00:42
Copilot AI review requested due to automatic review settings May 21, 2026 00:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Pixi environment configuration and CI Pixi tooling to ensure the pdev environment can be created on osx-arm64, avoiding local build failures related to docling-parse.

Changes:

  • Add osx-arm64-specific conda dependencies for docling, docling-core, and docling-parse under the python-default feature.
  • Bump the Pixi version used in GitHub Actions workflows from v0.62.2 to v0.68.1.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pixi.toml Adds osx-arm64-scoped conda dependencies to ensure Docling components resolve without compilation failures on Apple Silicon.
.github/workflows/publish_to_pypi.yml Updates CI Pixi version to v0.68.1 for the build/publish environment.
.github/workflows/docs.yml Updates CI Pixi version to v0.68.1 for docs builds.
.github/workflows/codecov.yml Updates CI Pixi version to v0.68.1 for coverage runs.
.github/workflows/ci-rust.yml Updates CI Pixi version to v0.68.1 across Rust jobs.
.github/workflows/ci-python.yml Updates CI Pixi version to v0.68.1 across Python jobs (locked/unit/integration).

Copy link
Copy Markdown
Collaborator

@ppinchuk ppinchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow I am amazed that this worked, nice job!

@castelao castelao merged commit 51f003b into main May 21, 2026
31 checks passed
@castelao castelao deleted the fix/pdev_osx_202605 branch May 21, 2026 01:36
rajeee pushed a commit that referenced this pull request May 27, 2026
* cfg: Update pixi.lock to v7

* cfg: docling-* through conda for osx-arm64

* cfg: Bump pixi-version to 0.68.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixed a known bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants