fix(devcontainer): update Python version to 3.14 in devcontainer configuration

fix(pyproject): require Python version 3.14 in project settings
This commit is contained in:
Julian Pawlowski 2026-03-29 18:19:33 +00:00
parent 9123903b7f
commit dbe73452f7
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "jpawlowski/hass.tibber_prices", "name": "jpawlowski/hass.tibber_prices",
"image": "mcr.microsoft.com/devcontainers/python:3.13", "image": "mcr.microsoft.com/devcontainers/python:3.14",
"postCreateCommand": "bash .devcontainer/setup-git.sh && scripts/setup/setup", "postCreateCommand": "bash .devcontainer/setup-git.sh && scripts/setup/setup",
"postStartCommand": "scripts/motd", "postStartCommand": "scripts/motd",
"containerEnv": { "containerEnv": {
@ -70,7 +70,7 @@
], ],
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
"python.analysis.extraPaths": [ "python.analysis.extraPaths": [
"${workspaceFolder}/.venv/lib/python3.13/site-packages" "${workspaceFolder}/.venv/lib/python3.14/site-packages"
], ],
"python.terminal.activateEnvironment": true, "python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true, "python.terminal.activateEnvInCurrentTerminal": true,

View file

@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "tibber_prices" name = "tibber_prices"
version = "0.0.0" # Version is managed in manifest.json only version = "0.0.0" # Version is managed in manifest.json only
requires-python = ">=3.13" requires-python = ">=3.14"
[tool.setuptools] [tool.setuptools]
packages = ["custom_components.tibber_prices"] packages = ["custom_components.tibber_prices"]