Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Python 3.8 support #129

Merged
merged 1 commit into from
Feb 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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