Skip to content

Conversation

vincentsarago
Copy link
Member

This PR does:

  • switch to pyproject.toml for package metadata
  • switch to UV
  • limit FastAPI to <0.119.0 to avoid 🔴 (the real issue might be fixed in another PR)

@@ -1,19 +0,0 @@
FROM python:3.12-slim
Copy link
Member Author

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

Copy link
Member Author

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"]
Copy link
Member Author

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

ref: https://stackoverflow.com/a/77944019

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