This is an automated email from the ASF dual-hosted git repository.

tn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-atr-experiments.git


The following commit(s) were added to refs/heads/main by this push:
     new e7df0da  fix: correctly setup poetry env
e7df0da is described below

commit e7df0da945b89c22db5390335887a4fb87a7f7c4
Author: Thomas Neidhart <t...@apache.org>
AuthorDate: Wed Feb 12 16:10:10 2025 +0100

    fix: correctly setup poetry env
---
 Makefile    | 2 +-
 poetry.toml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 2594e42..dc931de 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 .PHONY: build certs check docs report serve sync
 
 MANAGER ?= poetry
-PYTHON ?= /usr/bin/python3
+PYTHON ?= $(which python3)
 SCRIPTS ?= scripts/$(MANAGER)
 
 build:
diff --git a/poetry.toml b/poetry.toml
index f4337fd..7a754e5 100644
--- a/poetry.toml
+++ b/poetry.toml
@@ -1,2 +1,3 @@
 [virtualenvs]
+in-project = false
 path = ".venv-poetry"


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tooling.apache.org
For additional commands, e-mail: dev-h...@tooling.apache.org

Reply via email to