mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
build: remove support for python 3.7
This commit is contained in:
parent
ef06d1001c
commit
dc0c3f4fe5
3 changed files with 4 additions and 7 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
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]
|
dependencies: [normal]
|
||||||
database: [sqlite]
|
database: [sqlite]
|
||||||
# Test other databases with only a few versions of Python
|
# Test other databases with only a few versions of Python
|
||||||
|
@ -66,9 +66,6 @@ jobs:
|
||||||
dependencies: normal
|
dependencies: normal
|
||||||
database: mariadb
|
database: mariadb
|
||||||
# Try a few variants with the minimal versions supported
|
# Try a few variants with the minimal versions supported
|
||||||
- python-version: 3.7
|
|
||||||
dependencies: minimal
|
|
||||||
database: sqlite
|
|
||||||
- python-version: 3.9
|
- python-version: 3.9
|
||||||
dependencies: minimal
|
dependencies: minimal
|
||||||
database: sqlite
|
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
|
run: sed -i -e '/requires-python/!s/>=/==/g; /requires-python/!s/~=.*==\(.*\)/==\1/g; /requires-python/!s/~=/==/g;' pyproject.toml
|
||||||
if: matrix.dependencies == 'minimal'
|
if: matrix.dependencies == 'minimal'
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: make test
|
run: uv run --extra dev --extra database pytest .
|
||||||
env:
|
env:
|
||||||
# Setup the DATABASE_URI depending on the matrix we are using.
|
# Setup the DATABASE_URI depending on the matrix we are using.
|
||||||
TESTING_SQLALCHEMY_DATABASE_URI: ${{
|
TESTING_SQLALCHEMY_DATABASE_URI: ${{
|
||||||
|
|
|
@ -93,7 +93,7 @@ Some Paas (Platform-as-a-Service), provide a documentation or even a quick insta
|
||||||
|
|
||||||
«Ihatemoney» depends on:
|
«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 (>=
|
- **A database backend**: choose among SQLite, PostgreSQL, MariaDB (>=
|
||||||
10.3.2).
|
10.3.2).
|
||||||
- **Virtual environment** (recommended): [python3-venv]{.title-ref}
|
- **Virtual environment** (recommended): [python3-venv]{.title-ref}
|
||||||
|
|
|
@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
||||||
[project]
|
[project]
|
||||||
name = "ihatemoney"
|
name = "ihatemoney"
|
||||||
version = "6.2.0.dev0"
|
version = "6.2.0.dev0"
|
||||||
requires-python = ">=3.7"
|
requires-python = ">=3.8"
|
||||||
description = "A simple shared budget manager web application."
|
description = "A simple shared budget manager web application."
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {file = "LICENSE"}
|
license = {file = "LICENSE"}
|
||||||
|
|
Loading…
Reference in a new issue