mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 17:32:38 +02:00
chore: dump python 3.7 support
This commit is contained in:
parent
7c782443d3
commit
d057cdbf35
8 changed files with 19 additions and 19 deletions
14
.github/workflows/test-docs.yml
vendored
14
.github/workflows/test-docs.yml
vendored
|
@ -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
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
sudo: false
|
||||
language: python
|
||||
python:
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
- "3.9"
|
||||
script: tox
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
7
tox.ini
7
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue