diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8679fbb81..90b9d920d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] dependencies: [normal] database: [sqlite] # Test other databases with only a few versions of Python @@ -66,9 +66,6 @@ jobs: dependencies: normal database: mariadb # Try a few variants with the minimal versions supported - - python-version: 3.7 - dependencies: minimal - database: sqlite - python-version: 3.9 dependencies: minimal database: sqlite @@ -102,7 +99,7 @@ jobs: run: sed -i -e '/requires-python/!s/>=/==/g; /requires-python/!s/~=.*==\(.*\)/==\1/g; /requires-python/!s/~=/==/g;' pyproject.toml if: matrix.dependencies == 'minimal' - name: Run tests - run: make test + run: uv run --extra dev --extra database pytest . env: # Setup the DATABASE_URI depending on the matrix we are using. TESTING_SQLALCHEMY_DATABASE_URI: ${{ diff --git a/docs/installation.md b/docs/installation.md index beeecfab3..33bcbd04b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -93,7 +93,7 @@ Some Paas (Platform-as-a-Service), provide a documentation or even a quick insta «Ihatemoney» depends on: -- **Python**: any version from 3.7 to 3.12 will work. +- **Python**: any version from 3.8 to 3.12 will work. - **A database backend**: choose among SQLite, PostgreSQL, MariaDB (>= 10.3.2). - **Virtual environment** (recommended): [python3-venv]{.title-ref} diff --git a/pyproject.toml b/pyproject.toml index 89e72d3dc..cab8544c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "hatchling.build" [project] name = "ihatemoney" version = "6.2.0.dev0" -requires-python = ">=3.7" +requires-python = ">=3.8" description = "A simple shared budget manager web application." readme = "README.md" license = {file = "LICENSE"}