Skip to content

Commit

Permalink
Drop python 3.9 and 3.10, add python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Dec 30, 2023
1 parent 88b449c commit 51d5fd8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.11"

jobs:
codespell:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- published

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.11"

jobs:
release:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.11"

jobs:
pytest:
name: Python ${{ matrix.python }}
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.9", "3.10", "3.11"]
python: ["3.11", "3.12"]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4.1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.11"

jobs:
mypy:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ providing comprehensive management and control over project dependencies.

You need at least:

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

Install all packages, including all development requirements:
Expand Down
70 changes: 10 additions & 60 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand All @@ -28,19 +27,19 @@ packages = [

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

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/klaasnicolaas/python-omnikinverter/issues"
Changelog = "https://github.com/klaasnicolaas/python-omnikinverter/releases"

[tool.poetry.group.dev.dependencies]
ruff = "0.1.9"
aresponses = "2.1.6"
black = "23.12.1"
blacken-docs = "1.16.0"
codespell = "2.2.6"
covdefaults = "2.3.0"
coverage = {version = "7.4.0", extras = ["toml"]}
mypy = "1.8.0"
pre-commit = "3.6.0"
Expand All @@ -49,8 +48,8 @@ pylint = "3.0.3"
pytest = "7.4.3"
pytest-asyncio = "0.23.2"
pytest-cov = "4.1.0"
ruff = "0.1.9"
yamllint = "1.33.0"
covdefaults = "2.3.0"

[tool.coverage.run]
plugins = ["covdefaults"]
Expand All @@ -65,7 +64,7 @@ show_missing = true
# free to run mypy on Windows, Linux, or macOS and get consistent
# results.
platform = "linux"
python_version = "3.9"
python_version = "3.11"

# flake8-mypy expects the two following for sensible formatting
show_column_numbers = true
Expand Down

0 comments on commit 51d5fd8

Please sign in to comment.