Repository navigation
[Enhancement] Pin datus-semantic-dosi to 0.1.7 and extend its platform markers - #1366
Conversation
…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>
📊 PR Test Coverage Report
Coverage DetailsDiff CoverageDiff: origin/main...HEAD, staged and unstaged changesNo lines with coverage information in this diff. Test Failure Details260/261 tests passed, 1 skipped Generated by pytest-cov + diff-cover |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe CI-only ChangesCI dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This change pins the adapter dependency and expands supported platform markers; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation 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)
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. Comment |
|
@Mergifyio backport release/0.4.0 |
✅ Backports have been createdDetails
|
…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>
Why
datus-semantic-dosiin thecidependency group was gated to linux x86_64 only, because dosi-engine used to publish manylinux wheels exclusively. On macOS dev machinesuv sync --group citherefore silently skipped the adapter, and every test importingdatus_semantic_dosi(e.g.tests/unit_tests/api/services/test_explorer_service.py::TestExplorerServiceOSIAuthoring) failed withModuleNotFoundErrorunless the package was installed by hand — 15 spurious failures in a local PR-harness run traced back to this.The old
>=0.1.6floor also left cross-platform installability up to the resolver: datus-semantic-dosi 0.1.6 constrains onlydosi-engine>=0.1.4, so a correct wheel selection depended on this repo's lockfile explicitly holding dosi-engine at 0.1.7.Solution
datus-semantic-dosi==0.1.7— the first release that itself pinsdosi-engine==0.1.7— so every resolution path, locked or not, lands on an installable combination.uv.lockregenerated accordingly (datus-semantic-dosi 0.1.7, dosi-engine 0.1.7 incl. the macOS wheel).CI behavior is unchanged:
run-ut-and-coverage.ymlreinstalls datus-semantic-dosi from the source checkout regardless of the lockfile, so this affects local/uv syncresolution only.Test Cases
No new tests — the change is dependency metadata only. Verified resolution with
uv lock(minimal diff) anduv sync --group ci --dry-runon macOS arm64, which now selects datus-semantic-dosi 0.1.7 + dosi-engine 0.1.7 instead of skipping the package. The previously failingTestExplorerServiceOSIAuthoringsuite passes on macOS once the group is synced (85 passed locally).🤖 Generated with Claude Code
Backport
Summary by CodeRabbit
datus-semantic-dosiversion 0.1.7.