Drop support for Python 3.7
It reached end-of-life: <https://peps.python.org/pep-0537/>.
This commit is contained in:
parent
e9d2cb2bf3
commit
2b121d9574
|
@ -14,7 +14,7 @@ jobs:
|
|||
fail-fast: false
|
||||
max-parallel: 10
|
||||
matrix:
|
||||
python-version: ['3.11', '3.10', '3.9', '3.8', '3.7']
|
||||
python-version: ['3.11', '3.10', '3.9', '3.8']
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
exclude:
|
||||
# mac os: exclude all but the last two python releases
|
||||
|
@ -22,15 +22,11 @@ jobs:
|
|||
python-version: 3.9
|
||||
- os: macos-latest
|
||||
python-version: 3.8
|
||||
- os: macos-latest
|
||||
python-version: 3.7
|
||||
# windows: exclude all but the last two python releases
|
||||
- os: windows-latest
|
||||
python-version: 3.9
|
||||
- os: windows-latest
|
||||
python-version: 3.8
|
||||
- os: windows-latest
|
||||
python-version: 3.7
|
||||
|
||||
steps:
|
||||
|
||||
|
|
|
@ -225,7 +225,7 @@ On FreeBSD and DragonFly BSD, liquidctl is maintained in the Ports Collections,
|
|||
and is available as a pre-built binary package.
|
||||
|
||||
```
|
||||
pkg install py37-liquidctl
|
||||
pkg install py39-liquidctl
|
||||
```
|
||||
|
||||
### Manual installation
|
||||
|
@ -249,7 +249,7 @@ libraries already provided by the operating system.
|
|||
On Linux, the following dependencies are required at runtime (common package
|
||||
names are listed in parenthesis):
|
||||
|
||||
- Python 3.7 or later _(python3, python)_
|
||||
- Python 3.8 or later _(python3, python)_
|
||||
- pkg\_resources Python package _(python3-setuptools, python3-pkg-resources, python-setuptools)_
|
||||
- PyUSB _(python3-pyusb, python3-usb, python-pyusb)_
|
||||
- colorlog _(python3-colorlog, python-colorlog)_
|
||||
|
@ -270,7 +270,7 @@ needed:
|
|||
#### macOS system-level dependencies
|
||||
[macOS system dependencies]: #macos-system-level-dependencies
|
||||
|
||||
On macOS, Python (3.7 or later) and LibUSB 1.0 must be installed beforehand.
|
||||
On macOS, Python (3.8 or later) and LibUSB 1.0 must be installed beforehand.
|
||||
|
||||
```
|
||||
brew install python libusb
|
||||
|
@ -279,7 +279,7 @@ brew install python libusb
|
|||
#### Windows system-level dependencies
|
||||
[Windows system dependencies]: #windows-system-level-dependencies
|
||||
|
||||
On Windows, Python (3.7 or later) must be installed beforehand, which can be
|
||||
On Windows, Python (3.8 or later) must be installed beforehand, which can be
|
||||
done from the [official website][python.org]. It is recommended to select the
|
||||
option to add `python` and other tools to the `PATH`.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ addopts = "--doctest-modules -ra"
|
|||
|
||||
[tool.black]
|
||||
line-length = 100
|
||||
target-version = ["py37"]
|
||||
target-version = ["py38"]
|
||||
extend-exclude = '''
|
||||
/*
|
||||
To have all items start with |, this isn't a real comment; still, it
|
||||
|
|
|
@ -45,7 +45,7 @@ project_urls =
|
|||
|
||||
[options]
|
||||
packages = find:
|
||||
pythons_requires = >=3.7
|
||||
pythons_requires = >=3.8
|
||||
setup_requires = setuptools_scm
|
||||
install_requires =
|
||||
colorlog
|
||||
|
|
Loading…
Reference in New Issue