Skip to content

Unable to determine which files to ship inside the wheel on docker build when following doc #98

Answered by br3ndonland
flpStrri asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for pointing this out @flpStrri. It sounds like you're seeing two issues:

  1. Need to copy source code package into image before running hatch env commands
  2. ValueError: Unable to determine which files to ship inside the wheel

I've updated the docs to address these two issues. Happy to consider further updates to the docs if needed.

1. Need to copy source code package into image before running hatch env commands

When I set up a Hatch project exactly as described in the docs, I do not get a ValueError, but a metadata-generation-failed error instead (expand).
~/dev/inboard-example-from-docs via 🐳 orbstack via 🐍 v3.11.7 on ☁️  (us-east-2) took 6s
❯ docker build . -t inboard-example-from-d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by br3ndonland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants