Skip to content

Commit 36203f7

Browse files
Mark as only compatible with 3.10+
1 parent 8e87329 commit 36203f7

5 files changed

Lines changed: 98 additions & 1861 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16+
python-version: ["3.10", "3.11", "3.12"]
1717
fail-fast: false
1818

1919
steps:
@@ -27,10 +27,13 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
pip install tox
30+
pip install -e ".[test]"
3131
32-
- name: Test with tox
33-
run: tox -e py$(echo ${{ matrix.python-version }} | sed 's/\.//')
32+
- name: Run tests with pytest
33+
run: |
34+
pytest
35+
coverage run -m pytest
36+
coverage report
3437
3538
- name: Upload coverage reports
3639
if: matrix.python-version == '3.11'

doc/full_example/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "example-appdaemon-project"
33
version = "0.1.0"
44
description = "Example project using Appdaemon Test Framework"
5-
requires-python = ">=3.8"
5+
requires-python = ">=3.10"
66
dependencies = [
77
"appdaemon>=4.0.0",
88
"appdaemontestframework>=4.1.0",

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "4.1.0"
88
description = "Clean, human-readable tests for Appdaemon"
99
readme = "README.md"
1010
license = "MIT"
11-
requires-python = ">=3.8"
11+
requires-python = ">=3.10"
1212
authors = [
1313
{ name = "Florian Kempenich", email = "Flori@nKempenich.com" },
1414
]
@@ -27,8 +27,6 @@ classifiers = [
2727
"Intended Audience :: Developers",
2828
"License :: OSI Approved :: MIT License",
2929
"Programming Language :: Python :: 3",
30-
"Programming Language :: Python :: 3.8",
31-
"Programming Language :: Python :: 3.9",
3230
"Programming Language :: Python :: 3.10",
3331
"Programming Language :: Python :: 3.11",
3432
"Programming Language :: Python :: 3.12",
@@ -53,7 +51,6 @@ dev = [
5351
"appdaemontestframework[test]",
5452
"pylint>=2.0.0",
5553
"autopep8>=1.5.0",
56-
"tox>=3.0.0",
5754
]
5855

5956
[project.urls]

tox.ini

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)