Skip to content

Commit

Permalink
Bump python version to 3.12 (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
raman325 authored May 15, 2024
1 parent e17663b commit 61371c3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zwave-js-server-python Dev",
"image": "mcr.microsoft.com/devcontainers/python:3.11",
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"postCreateCommand": "scripts/setup",
"customizations": {
"vscode": {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-generated-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.11"
- "3.12"

steps:
- uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/[email protected]
with:
python-version: "3.11"
python-version: "3.12"
- name: Install wheel
run: |-
pip install wheel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
python-version:
- "3.11"
- "3.12"

steps:
- uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ name = "zwave-js-server-python"
authors = [{ name = "Home Assistant Team", email = "[email protected]" }]
description = "Python wrapper for zwave-js-server"
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.12"
license = { file = "LICENSE" }
keywords = ["home", "automation", "zwave", "zwave-js"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Home Automation",
]
dependencies = ["aiohttp>3", "pydantic>=1.10.0"]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist = py311, lint, mypy
envlist = py312, lint, mypy
skip_missing_interpreters = True

[gh-actions]
python =
3.11: py311, lint, mypy
3.12: py312, lint, mypy

[testenv]
commands =
Expand Down

0 comments on commit 61371c3

Please sign in to comment.