Skip to content

Commit c618f34

Browse files
committed
Try with python 3.7
1 parent 1f1eb7b commit c618f34

File tree

7 files changed

+13
-18
lines changed

7 files changed

+13
-18
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
15+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1616

1717
steps:
1818
- name: Checkout

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v6.0.0
44
hooks:
55
- id: check-added-large-files
66
- id: check-case-conflict
@@ -16,26 +16,26 @@ repos:
1616
- id: trailing-whitespace
1717

1818
- repo: https://github.com/asottile/pyupgrade
19-
rev: v3.17.0
19+
rev: v3.21.2
2020
hooks:
2121
- id: pyupgrade
2222
args: ["--py37-plus"]
2323

2424
- repo: https://github.com/psf/black
25-
rev: 24.8.0
25+
rev: 26.1.0
2626
hooks:
2727
- id: black
2828
args:
2929
- --safe
3030
- --quiet
3131

3232
- repo: https://github.com/pycqa/isort
33-
rev: 5.13.2
33+
rev: 8.0.0
3434
hooks:
3535
- id: isort
3636

3737
- repo: https://github.com/PyCQA/flake8
38-
rev: 7.1.1
38+
rev: 7.3.0
3939
hooks:
4040
- id: flake8
4141
additional_dependencies: [flake8-bugbear]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ See [wiki](https://github.com/ParadoxAlarmInterface/pai/wiki/Installation)
6565
## Tested Environment
6666

6767
Tested in the following environment:
68-
* Python 3.10, 3.11, 3.12, 3.13 and 3.14
68+
* Python 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14
6969
* Mosquitto MQTT Broker > 1.4.8
7070
* OrangePi 2G-IOT, NanoPi NEO, and Raspberry Pi 3 through their built in Serial Port (with a level shifter!), or a USB RS232 TTL adapter (CP2102, PL2303, CH340, etc..)
7171
* Ubuntu Server 16.04.3 LTS

paradox/console_scripts/pai_run.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@
99
__status__ = "Beta"
1010

1111
import argparse
12-
import sys
13-
14-
if sys.version_info < (3, 6,):
15-
print(
16-
"You are using Python %s.%s, but PAI requires at least Python 3.6"
17-
% (sys.version_info[0], sys.version_info[1])
18-
)
19-
sys.exit(-1)
2012

2113

2214
def main():

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=46.4.0"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.black]
6-
target-version = ["py310", "py311", "py312", "py313"]
6+
target-version = ["py37", "py38", "py39", "py310", "py311", "py312", "py313", "py314"]
77
exclude = 'generated'
88

99
[tool.isort]

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ classifiers =
1717
Operating System :: OS Independent
1818
Programming Language :: Python
1919
Programming Language :: Python :: 3 :: Only
20+
Programming Language :: Python :: 3.7
21+
Programming Language :: Python :: 3.8
22+
Programming Language :: Python :: 3.9
2023
Programming Language :: Python :: 3.10
2124
Programming Language :: Python :: 3.11
2225
Programming Language :: Python :: 3.12
@@ -27,7 +30,7 @@ license = EPL
2730
[options]
2831
zip_safe = True
2932
packages = find:
30-
python_requires = >=3.10
33+
python_requires = >=3.7
3134
install_requires =
3235
construct~=2.10.70
3336
argparse>=1.4.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py310, py311, py312, py313, py314
2+
envlist = py37, py38, py39, py310, py311, py312, py313, py314
33
isolated_build = True
44
skip_missing_interpreters = True
55

0 commit comments

Comments
 (0)