From 1895e25fb593b6865bf3de4bc08b32fb75510e35 Mon Sep 17 00:00:00 2001 From: Dirk Doesburg Date: Fri, 26 Apr 2024 13:36:50 +0200 Subject: [PATCH] Add poetry package-mode=false People now need to upgrade poetry to 1.8 or greater, with `poetry self update` --- .pre-commit-config.yaml | 2 +- README.md | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c46c3377d..05009ace9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,6 +29,6 @@ repos: hooks: - id: ruff - repo: https://github.com/python-poetry/poetry - rev: "1.4.0" + rev: "1.8.2" hooks: - id: poetry-check diff --git a/README.md b/README.md index f4b622cbb..189ac236b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ The latest Thalia Website built on Django. ## Getting started -0. Get at least Python 3.11 and install [poetry](https://python-poetry.org/docs/#installation) and the [Pillow dependencies](#pillow-dependencies) as per below. +0. Get at least Python 3.11 and install [poetry](https://python-poetry.org/docs/#installation) >= 1.8.0 and the [Pillow dependencies](#pillow-dependencies) as per below. 1. Clone this repository 2. `make member` to create the first member while in the cloned folder. This will also install all dependencies (in a separate virtual environment) 3. `make fixtures` to generate a bunch of test data diff --git a/pyproject.toml b/pyproject.toml index 74773d7cc..7cd006f3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,7 @@ version = "0.0.dev" description = "New new Thalia website, now with extra Django." authors = ["Thalia Technicie "] license = "AGPL-3.0-or-later" +package-mode = false [tool.poetry.dependencies] python = "^3.11"