jupyterhub / ltiauthenticator

A JupyterHub authenticator for LTI
https://ltiauthenticator.readthedocs.io
BSD 3-Clause "New" or "Revised" License
67 stars 54 forks source link

Fix build with hatchling backend #185

Closed martinclaus closed 8 months ago

martinclaus commented 8 months ago

For some reason, the build process got broken. It seems to be required now to explicitly include the source directory since it is named differently than the package name which make the include heuristics of hatch to fail.

consideRatio commented 8 months ago

Does this require a modern version of hatchling as used in the build environment, declared in the top of pyproject.toml?

I think maybe we should declare a lower bound on hatching to a recent version so we know it wont cause issues in older versions.

martinclaus commented 8 months ago

Does this require a modern version of hatchling as used in the build environment, declared in the top of pyproject.toml?

According to the hatch docs, the syntax should work as early as version 1.0. I haven't tested it though ;)