Skip to content

Commit

Permalink
Bump minimum Python to 3.10, test on 3.12 (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
slovdahl authored Feb 1, 2024
1 parent c4a4ee7 commit da11ee6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.10"

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 @@ -7,7 +7,7 @@ on: # yamllint disable-line rule:truthy
- published

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.10"

jobs:
release:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ on: # yamllint disable-line rule:truthy
workflow_dispatch:

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.10"

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

env:
DEFAULT_PYTHON: "3.9"
DEFAULT_PYTHON: "3.10"

jobs:
mypy:
Expand Down
5 changes: 2 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ example = "examples.energy:start"
[tool.poetry.dependencies]
aiohttp = ">=3.0.0"
async-timeout = "^4.0.3"
python = "^3.9"
python = "^3.10"
yarl = ">=1.6.0"

[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit da11ee6

Please sign in to comment.