Conversation
|
✅ 40/40 passed, 2 skipped, 1m58s total Running from acceptance #433 |
…ies. Resources are now anchored to the project root, and src/ and tests/ are marked as directories.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #377 +/- ##
=======================================
Coverage 80.15% 80.15%
=======================================
Files 17 17
Lines 2474 2474
Branches 403 403
=======================================
Hits 1983 1983
Misses 364 364
Partials 127 127 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
asnare
approved these changes
May 7, 2026
Contributor
asnare
left a comment
There was a problem hiding this comment.
Thanks for flagging the problem. It took me a while to get back to this, and indeed it was a coincidence that it previously worked with hatch.
This was referenced May 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Build artifacts is broken after switching from
hatchtouv: the wheel is coming out empty, and the sdist is unpacked into asrc/directory instead of a clean project layout.Split the Hatch config into per-target sections:
[tool.hatch.build.targets.wheel]— setspackages = ["src/databricks"]so thedatabricks.labs.blueprintpackage is actually included in the wheel.[tool.hatch.build.targets.sdist]— usesonly-include = ["src", "README.md", "LICENSE", "NOTICE"]so the sdist contains the source tree and metadata at the top level.Test plan
uv buildproduces a non-empty wheel containingdatabricks/labs/blueprint/...src/,README.md,LICENSE,NOTICEat the top levelpip installthe wheel in a fresh venv andimport databricks.labs.blueprintsucceeds