From 61371c3fcf9aa23634a0742089a8d9e40cc77d9c Mon Sep 17 00:00:00 2001 From: Raman Gupta <7243222+raman325@users.noreply.github.com> Date: Wed, 15 May 2024 13:49:34 -0400 Subject: [PATCH] Bump python version to 3.12 (#975) --- .devcontainer/devcontainer.json | 2 +- .github/workflows/check-generated-modules.yml | 2 +- .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/test.yml | 2 +- pyproject.toml | 4 ++-- tox.ini | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 806de9354..c59f6f6b8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": { diff --git a/.github/workflows/check-generated-modules.yml b/.github/workflows/check-generated-modules.yml index 58ebdbcc5..0ca853b23 100644 --- a/.github/workflows/check-generated-modules.yml +++ b/.github/workflows/check-generated-modules.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: python-version: - - "3.11" + - "3.12" steps: - uses: actions/checkout@v4.1.4 diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 34a68e1b6..6e759d88e 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.1.4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v5.1.0 with: - python-version: "3.11" + python-version: "3.12" - name: Install wheel run: |- pip install wheel diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ae0331278..397433f84 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: python-version: - - "3.11" + - "3.12" steps: - uses: actions/checkout@v4.1.4 diff --git a/pyproject.toml b/pyproject.toml index 8693d9647..91fb2967c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "zwave-js-server-python" authors = [{ name = "Home Assistant Team", email = "hello@home-assistant.io" }] 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 = [ @@ -15,7 +15,7 @@ classifiers = [ "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"] diff --git a/tox.ini b/tox.ini index 344d99741..f1969ea77 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =