mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 14:13:52 +03:00
Enable poetry non-package mode (#31282)
[Poetry 1.8.0](https://github.com/python-poetry/poetry/releases/tag/1.8.0) added support for [non-package mode](https://python-poetry.org/docs/basic-usage/#operating-modes), e.g. projects that are not python packages themselves like we are. Make use of that and remove the previous workaround via `--no-root`. (cherry picked from commit 15debbbe4eb94c1855a0178e379b7e3d19bd07ad) Conflicts: Makefile pyproject.toml trivial context conflict
This commit is contained in:
parent
4ddd9af50f
commit
eaa2fef868
2 changed files with 2 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -893,7 +893,7 @@ node_modules: package-lock.json
|
||||||
@touch node_modules
|
@touch node_modules
|
||||||
|
|
||||||
.venv: poetry.lock
|
.venv: poetry.lock
|
||||||
poetry install --no-root
|
poetry install
|
||||||
@touch .venv
|
@touch .venv
|
||||||
|
|
||||||
.PHONY: fomantic
|
.PHONY: fomantic
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "forgejo"
|
package-mode = false
|
||||||
version = "0.0.0"
|
|
||||||
description = ""
|
|
||||||
authors = []
|
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
|
|
Loading…
Reference in a new issue