From b8467d10f874f6a1b067ab5b58cc61b2ffa26c90 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Tue, 7 May 2024 15:09:01 +0100 Subject: [PATCH] Try to solve issue with release 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 --- cosmos/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cosmos/__init__.py b/cosmos/__init__.py index fe8e7bf10..143860e55 100644 --- a/cosmos/__init__.py +++ b/cosmos/__init__.py @@ -5,7 +5,7 @@ Contains dags, task groups, and operators. """ -__version__ = "1.4.0a3" +__version__ = "1.4.0a4" from cosmos.airflow.dag import DbtDag