-
Notifications
You must be signed in to change notification settings - Fork 116
switch to uv and pyproject.toml #855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1,19 +0,0 @@ | |||
FROM python:3.12-slim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't really need a docker image just for the docs
"stac_fastapi_extensions", | ||
] | ||
package = false | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadata for the whole repo (not a package)
exclude = ["tests/"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
only-include = ["stac_fastapi"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI: This is the important bit. we want the packages to be installed on a stac_fastapi/
directory (to keep the imports working). The hatch
documentation is not 💯 clear about how to keep the namespace
but this seems to be working.
I think we will release the package as an pre
version to test it properly
a317abf
to
6ac0b0e
Compare
6ac0b0e
to
304a741
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the switch to uv
! I think everything looks good but there might be one more change we need to make in scripts/publish
.
@jonhealy1 this PR might be of interest as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super cool
This PR does:
UV