Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Faced while running the following command in the CI (I was not able to reproduce this locally): ``` Run python -m build ``` Resulted in the stacktrace: ``` val = self.func(instance) File "/tmp/build-env-o83v4k67/lib/python3.10/site-packages/hatchling/builders/wheel.py", line 247, in default_file_selection_options raise ValueError(message) 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 (astronomer_cosmos). 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"] ERROR Backend subprocess exited when trying to invoke build_wheel ``` As seen in: https://github.com/astronomer/astronomer-cosmos/actions/runs/8986616060/job/24683237685
- Loading branch information