Skip to content

[Enhancement] Pin datus-semantic-dosi to 0.1.7 and extend its platform markers - #1366

Merged
stukid merged 2 commits into
Datus-ai:mainfrom
stukid:pin-datus-semantic-dosi
Aug 26, 2026
Merged

stukid merged 2 commits into
Datus-ai:mainfrom
stukid:pin-datus-semantic-dosi

Conversation

@stukid

@stukid stukid commented Aug 26, 2026 •

Copy link
Copy Markdown
Collaborator

Why

datus-semantic-dosi in the ci dependency group was gated to linux x86_64 only, because dosi-engine used to publish manylinux wheels exclusively. On macOS dev machines uv sync --group ci therefore silently skipped the adapter, and every test importing datus_semantic_dosi (e.g. tests/unit_tests/api/services/test_explorer_service.py::TestExplorerServiceOSIAuthoring) failed with ModuleNotFoundError unless the package was installed by hand — 15 spurious failures in a local PR-harness run traced back to this.

The old >=0.1.6 floor also left cross-platform installability up to the resolver: datus-semantic-dosi 0.1.6 constrains only dosi-engine>=0.1.4, so a correct wheel selection depended on this repo's lockfile explicitly holding dosi-engine at 0.1.7.

Solution

  • Extend the platform marker to linux aarch64 (dosi-engine ships manylinux aarch64 wheels since 0.1.6) and macOS arm64 (macosx_11_0_arm64 wheel since 0.1.7).
  • Pin datus-semantic-dosi==0.1.7 — the first release that itself pins dosi-engine==0.1.7 — so every resolution path, locked or not, lands on an installable combination.
  • uv.lock regenerated accordingly (datus-semantic-dosi 0.1.7, dosi-engine 0.1.7 incl. the macOS wheel).

CI behavior is unchanged: run-ut-and-coverage.yml reinstalls datus-semantic-dosi from the source checkout regardless of the lockfile, so this affects local/uv sync resolution only.

Test Cases

No new tests — the change is dependency metadata only. Verified resolution with uv lock (minimal diff) and uv sync --group ci --dry-run on macOS arm64, which now selects datus-semantic-dosi 0.1.7 + dosi-engine 0.1.7 instead of skipping the package. The previously failing TestExplorerServiceOSIAuthoring suite passes on macOS once the group is synced (85 passed locally).

🤖 Generated with Claude Code

Backport

  • release/0.3.1
  • release/0.3.2
  • release/0.3.3
  • release/0.3.4
  • release/0.3.5
  • release/0.3.6
  • release/0.3.7
  • release/0.3.8
  • release/0.3.9
  • release/0.4.0

Summary by CodeRabbit

  • Chores
    • Updated the CI environment to use datus-semantic-dosi version 0.1.7.
    • Expanded CI compatibility to Linux x86_64, Linux aarch64, and macOS arm64.
    • Removed the macOS source-build requirement.

stukid and others added 2 commits August 26, 2026 20:37
…arm64

dosi-engine ships manylinux aarch64 wheels since 0.1.6 and a macOS arm64
wheel since 0.1.7, so the linux-x86_64-only marker on the ci group's
datus-semantic-dosi dependency is stale: macOS dev machines silently skip
the adapter and its unit tests fail with ModuleNotFoundError unless it is
installed by hand. Extend the marker to the two newly supported platforms
and bump the locked dosi-engine to 0.1.7 (the oldest release with a macOS
wheel).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0.1.7 is the first release that itself pins dosi-engine==0.1.7 (the
oldest engine with wheels for manylinux x86_64/aarch64 and macOS arm64).
With the previous >=0.1.6 floor, cross-platform installability depended
on this repo's lockfile explicitly upgrading dosi-engine; pinning the
adapter release that carries the constraint makes any resolution path —
locked or not — arrive at an installable combination.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mergify mergify Bot assigned stukid Aug 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📊 PR Test Coverage Report

Metric Value Threshold Status
Overall Coverage 25.75% - ℹ️
Diff Coverage 100.00% 80% ✅
PR Tests 260/261 passed, 1 skipped pass ✅
Coverage Details

Diff Coverage

Diff: origin/main...HEAD, staged and unstaged changes

No lines with coverage information in this diff.

Test Failure Details

260/261 tests passed, 1 skipped


Generated by pytest-cov + diff-cover

@coderabbitai

coderabbitai Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d2578c17-a2a8-4337-addb-fcf72c022739

📥 Commits

Reviewing files that changed from the base of the PR and between 171a0e9 and f24d06b.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • pyproject.toml

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The CI-only datus-semantic-dosi dependency is pinned to 0.1.7 and enabled for Linux x86_64, Linux aarch64, and macOS arm64. The previous macOS source-build path is removed.

Changes

CI dependency update

Layer / File(s) Summary
Update CI dependency declaration
pyproject.toml
The CI dependency is pinned to 0.1.7 for Linux x86_64, Linux aarch64, and macOS arm64. The prior macOS source-build declaration is removed.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to f24d0

This change pins the adapter dependency and expands supported platform markers; no actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: arnozhang, liuyufei9527, louis-law

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately identifies the main changes: pinning datus-semantic-dosi to 0.1.7 and extending its platform markers.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@stukid
stukid added this pull request to the merge queue Aug 26, 2026
Merged via the queue into Datus-ai:main with commit aa70a2c Aug 26, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@Mergifyio backport release/0.4.0

@mergify

mergify Bot commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor

backport release/0.4.0

✅ Backports have been created

Details

stukid added a commit that referenced this pull request Aug 26, 2026
…m markers (#1366) (#1367)

* [Enhancement] Resolve datus-semantic-dosi on linux aarch64 and macOS arm64

dosi-engine ships manylinux aarch64 wheels since 0.1.6 and a macOS arm64
wheel since 0.1.7, so the linux-x86_64-only marker on the ci group's
datus-semantic-dosi dependency is stale: macOS dev machines silently skip
the adapter and its unit tests fail with ModuleNotFoundError unless it is
installed by hand. Extend the marker to the two newly supported platforms
and bump the locked dosi-engine to 0.1.7 (the oldest release with a macOS
wheel).



* [Enhancement] Pin datus-semantic-dosi to 0.1.7

0.1.7 is the first release that itself pins dosi-engine==0.1.7 (the
oldest engine with wheels for manylinux x86_64/aarch64 and macOS arm64).
With the previous >=0.1.6 floor, cross-platform installability depended
on this repo's lockfile explicitly upgrading dosi-engine; pinning the
adapter release that carries the constraint makes any resolution path —
locked or not — arrive at an installable combination.



---------



(cherry picked from commit aa70a2c)

Co-authored-by: stukid <xue3121@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: release-merge-simulation <noreply@example.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant