1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00

Install poetry dependencies with --no-root (#27919)

Poetry 1.7.0 or higher will print a warning otherwise, see discussions:

https://github.com/python-poetry/poetry/pull/8369
https://github.com/python-poetry/poetry/issues/1132

> --no-root Do not install the root package (the current project).
This commit is contained in:
silverwind 2023-11-06 01:11:34 +01:00 committed by GitHub
parent 37a7c551d4
commit 1ccdb546f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -875,7 +875,7 @@ node_modules: package-lock.json
@touch node_modules @touch node_modules
.venv: poetry.lock .venv: poetry.lock
poetry install poetry install --no-root
@touch .venv @touch .venv
.PHONY: update .PHONY: update