Skip to content

Commit

Permalink
Drop Python 3.9 (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggravlingen authored Feb 5, 2023
1 parent 0f1a715 commit 32a46d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.9"
python-version: "3.10"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit autoupdate
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"

Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]
target-version = ["py39", "py310"]
target-version = ["py310", "py311"]

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

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

[tool.mypy]
python_version = 3.9
python_version = 3.10
show_error_codes = true
follow_imports = "silent"
ignore_missing_imports = true
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
setup(
name="pytradfri",
packages=PACKAGES,
python_requires=">=3.9",
python_requires=">=3.10",
version=VERSION,
description="IKEA Trådfri/Tradfri API. Control and observe your "
"lights from Python.",
Expand All @@ -41,7 +41,6 @@
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Home Automation",
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[tox]
envlist = py39, py310, py311, lint, typing, coverage
envlist = py310, py311, lint, typing, coverage
skip_missing_interpreters = True

[gh-actions]
python =
3.9: py39, lint, typing, coverage
3.10: py310
3.10: py310, lint, typing, coverage
3.11: py311

[testenv]
Expand Down

0 comments on commit 32a46d6

Please sign in to comment.