You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting this error when building wheels for my multistage docker build:
ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection
The most likely cause of this is that there is no directory that matches the name of your project (jupyterhub_kubespawner).
At least one file selection option must be defined in the `tool.hatch.build.targets.wheel` table, see: https://hatch.pypa.io/latest/config/build/
As an example, if you intend to ship a directory named `foo` that resides within a `src` directory located at the root of your project, you can define the following:
[tool.hatch.build.targets.wheel]
packages = ["src/foo"]
The wheel to build successfully and the .whl file to be written to /tmp/wheels.
Actual behaviour
The command fails because the package name is different to the folder name. The package name is jupyterhub_kubespawner and the folder name is kubespawner.
Your personal set up
OS:
Version(s): Ubuntu 22.04.4
Jupyterhub:
Version(s): 4.1.5
Python:
Version(s): 3.11.5
Full environment
I can't provide this information.
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Bug description
I'm getting this error when building wheels for my multistage docker build:
How to reproduce
Run the following:
Expected behaviour
The wheel to build successfully and the
.whl
file to be written to/tmp/wheels
.Actual behaviour
The command fails because the package name is different to the folder name. The package name is
jupyterhub_kubespawner
and the folder name iskubespawner
.Your personal set up
Jupyterhub:
Python:
Full environment
I can't provide this information.
The text was updated successfully, but these errors were encountered: