chore: dump python 3.7 support

This commit is contained in:
Éloi Rivard 2023-07-27 17:02:34 +02:00
parent 7c782443d3
commit d057cdbf35
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
8 changed files with 19 additions and 19 deletions

View file

@ -36,25 +36,25 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11"]
dependencies: [normal]
database: [sqlite]
# Test other databases only with one version of Python (Debian buster has 3.7)
# Test other databases only with one version of Python
include:
- python-version: 3.7
- python-version: 3.8
dependencies: normal
database: postgresql
- python-version: 3.7
- python-version: 3.8
dependencies: normal
database: mariadb
# Try a few variants with the minimal versions supported
- python-version: 3.7
- python-version: 3.8
dependencies: minimal
database: sqlite
- python-version: 3.7
- python-version: 3.8
dependencies: minimal
database: postgresql
- python-version: 3.7
- python-version: 3.8
dependencies: minimal
database: mariadb
- python-version: 3.9

View file

@ -1,7 +1,6 @@
sudo: false
language: python
python:
- "3.7"
- "3.8"
- "3.9"
script: tox

View file

@ -4,8 +4,11 @@ This document describes changes between each past release.
## 6.0.2 (unreleased)
### Breaking changes
- Drop Python 3.7 support
- Nothing changed yet.
The minimum supported version is now Python 3.8, and the project is
tested with up to Python 3.11
## 6.0.1 (2023-07-22)

View file

@ -22,7 +22,7 @@ highly encouraged to do so.
## Requirements
- **Python**: version 3.7 to 3.11.
- **Python**: version 3.8 to 3.11.
- **Backends**: SQLite, PostgreSQL, MariaDB (version 10.3.2 or above),
Memory.

View file

@ -83,7 +83,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.11 will work.
- **Python**: any version from 3.8 to 3.11 will work.
- **A database backend**: choose among SQLite, PostgreSQL, MariaDB (>=
10.3.2).
- **Virtual environment** (recommended): [python3-venv]{.title-ref}

View file

@ -35,14 +35,14 @@ special instructions:
#### Switch to a supported version of Python
::: {note}
If you are already using Python ≥ 3.7, you can skip this section, no
If you are already using Python ≥ 3.8, you can skip this section, no
special action is required.
:::
If you were running IHateMoney using Python < 3.7, you must, **before**
If you were running IHateMoney using Python < 3.8, you must, **before**
upgrading:
1. Ensure to have a Python ≥ 3.7 available on your system
1. Ensure to have a Python ≥ 3.8 available on your system
2. Rebuild your virtual environment (if any). It will *not* alter your
database nor configuration. For example, if your virtual environment

View file

@ -11,7 +11,6 @@ license = Custom BSD Beerware
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10

View file

@ -1,5 +1,5 @@
[tox]
envlist = py311,py310,py39,py38,py37,lint_docs
envlist = py311,py310,py39,py38,lint_docs
skip_missing_interpreters = True
[testenv]
@ -17,10 +17,10 @@ changedir = /tmp
[testenv:lint_docs]
commands =
black --check --target-version=py37 .
black --check --target-version=py38 .
isort --check --profile black .
flake8 ihatemoney
vermin --no-tips --violations -t=3.7- .
vermin --no-tips --violations -t=3.8- .
sphinx-build -a -n -b html -d docs/_build/doctrees docs docs/_build/html
deps =
-e.[dev,doc]
@ -35,6 +35,5 @@ extend-ignore =
[travis]
python =
3.7: py37
3.8: py38, lint_docs
3.9: py39