Skip to content

Commit 32a46d6

Browse files
authored
Drop Python 3.9 (#627)
1 parent 0f1a715 commit 32a46d6

File tree

5 files changed

+7
-10
lines changed

5 files changed

+7
-10
lines changed

.github/workflows/pre-commit-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v4.5.0
1414
with:
15-
python-version: "3.9"
15+
python-version: "3.10"
1616
- name: Install pre-commit
1717
run: pip install pre-commit
1818
- name: Run pre-commit autoupdate

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
python-version:
17-
- "3.9"
1817
- "3.10"
1918
- "3.11"
2019

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.black]
2-
target-version = ["py39", "py310"]
2+
target-version = ["py310", "py311"]
33

44
[tool.isort]
55
# https://github.com/PyCQA/isort/wiki/isort-Settings
@@ -17,7 +17,7 @@ known_first_party = [
1717

1818
[tool.pylint.MASTER]
1919
ignore = []
20-
py-version = "3.9"
20+
py-version = "3.10"
2121
# Use a conservative default here; 2 should speed up most setups and not hurt
2222
# any too bad. Override on command line as appropriate.
2323
extension-pkg-whitelist = "pydantic"
@@ -97,7 +97,7 @@ testpaths = [
9797
]
9898

9999
[tool.mypy]
100-
python_version = 3.9
100+
python_version = 3.10
101101
show_error_codes = true
102102
follow_imports = "silent"
103103
ignore_missing_imports = true

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
setup(
2121
name="pytradfri",
2222
packages=PACKAGES,
23-
python_requires=">=3.9",
23+
python_requires=">=3.10",
2424
version=VERSION,
2525
description="IKEA Trådfri/Tradfri API. Control and observe your "
2626
"lights from Python.",
@@ -41,7 +41,6 @@
4141
"Intended Audience :: Developers",
4242
"Natural Language :: English",
4343
"Programming Language :: Python :: 3",
44-
"Programming Language :: Python :: 3.9",
4544
"Programming Language :: Python :: 3.10",
4645
"Programming Language :: Python :: 3.11",
4746
"Topic :: Home Automation",

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
[tox]
2-
envlist = py39, py310, py311, lint, typing, coverage
2+
envlist = py310, py311, lint, typing, coverage
33
skip_missing_interpreters = True
44

55
[gh-actions]
66
python =
7-
3.9: py39, lint, typing, coverage
8-
3.10: py310
7+
3.10: py310, lint, typing, coverage
98
3.11: py311
109

1110
[testenv]

0 commit comments

Comments
 (0)