Skip to content

Commit

Permalink
Fix Makefile to run make docker-run (#271)
Browse files Browse the repository at this point in the history
Fixes the following errors that popped up when trying to run `make
docker-run`:

```
(venv) ➜  dag-factory git:(release-0.2.0) ✗ make build-whl
cd examples && ln -s ../dev/dags dags
ln: dags/dags: File exists
make: *** [build-whl] Error 1
```

And
```
(venv) ➜  dag-factory git:(release-0.2.0) ✗ make docker-run 
cd dev
python3 -m build --outdir dev/include/
/Users/tati/Code/dag-factory/venv/bin/python3: No module named build
make: *** [build-whl] Error 1
```
  • Loading branch information
tatiana authored Oct 22, 2024
1 parent dfd46b8 commit a947aa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ clean: ## Removes build and test artifacts


.PHONY: build-whl
build-whl: ## Build installable whl file
cd examples && ln -s ../dev/dags dags
build-whl: setup-dev ## Build installable whl file
cd dev
python3 -m build --outdir dev/include/

.PHONY: docker-run
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ tests = [

[tool.hatch.envs.tests]
dependencies = [
"build",
"dag-factory[tests]",
"apache-airflow~={matrix:airflow}.0,!=2.9.0,!=2.9.1", # https://github.com/apache/airflow/pull/39670
"httpx>=0.25.0"
Expand Down

0 comments on commit a947aa8

Please sign in to comment.