Skip to content

Commit

Permalink
Drop Python 3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Feb 13, 2022
1 parent a384978 commit f46ca6f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ jobs:
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🏗 Set up Python 3.8
- name: 🏗 Set up Python 3.9
id: python
uses: actions/setup-python@v2.3.2
with:
python-version: 3.8
python-version: 3.9
- name: 🏗 Get pip cache dir
id: pip-cache
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
- name: 🏗 Set up Python 3.8
- name: 🏗 Set up Python 3.9
id: python
uses: actions/setup-python@v2.3.2
with:
python-version: 3.8
python-version: 3.9
- name: 🏗 Get pip cache dir
id: pip-cache
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ubuntu, windows, macos]
python: ['3.8', '3.9', '3.10']
python: ['3.9', '3.10']
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.4.0
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ repos:
language: system
types: [python]
entry: poetry run pyupgrade
args: [--py36-plus]
args: [--py39-plus, --keep-runtime-typing]
- id: trailing-whitespace
name: ✄ Trim Trailing Whitespace
language: system
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ manager.

You need at least:

- Python 3.8+
- Python 3.9+
- [Poetry][poetry-install]

Install all packages, including all development requirements:
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3",
Expand All @@ -26,7 +25,7 @@ packages = [
]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
aiohttp = ">=3.0.0"
yarl = ">=1.6.0"

Expand Down Expand Up @@ -64,7 +63,7 @@ bandit = "^1.7.2"
Changelog = "https://github.com/klaasnicolaas/python-omnikinverter/releases"

[tool.black]
target-version = ['py38']
target-version = ['py39']

[tool.coverage.paths]
source = ["omnikinverter"]
Expand Down

0 comments on commit f46ca6f

Please sign in to comment.