Skip to content

Commit

Permalink
Bump to python 3.12 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
alengwenus authored Aug 30, 2024
1 parent b21e3f2 commit 2d337fd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alengwenus/ha-sma-ev-charger",
"image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
"image": "mcr.microsoft.com/devcontainers/python:3.12-bullseye",
"postCreateCommand": "scripts/setup",
"forwardPorts": [
8123
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_dependencies/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
python-version:
description: 'Python version'
required: true
default: '3.11'
default: '3.12'
core-version:
description: 'Home Assistant core version'
required: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
core-version: ["2023.9.0", "2024.1.5", "dev"]
python-version: ["3.12"]
core-version: ["2024.2.0", "2024.8.3", "dev"]
steps:
- name: Check out code from GitHub
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The contents of this file is based on https://github.com/home-assistant/core/blob/dev/pyproject.toml

target-version = "py310"
target-version = "py312"

select = [
"B002", # Python does not support the unary prefix increment
Expand Down
2 changes: 1 addition & 1 deletion hacs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "SMA EV Charger",
"render_readme": true,
"homeassistant": "2023.9.0"
"homeassistant": "2024.2.0"
}

0 comments on commit 2d337fd

Please sign in to comment.