Skip to content

Commit

Permalink
Bump python to 3.123 following core 2024.12
Browse files Browse the repository at this point in the history
  • Loading branch information
CoMPaTech committed Nov 28, 2024
1 parent e4c2b9c commit 76b927d
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Latest release

env:
CACHE_VERSION: 10
DEFAULT_PYTHON: "3.12"
DEFAULT_PYTHON: "3.13"

# Only run on merges
on:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Latest commit

env:
CACHE_VERSION: 11
DEFAULT_PYTHON: "3.12"
DEFAULT_PYTHON: "3.13"
PRE_COMMIT_HOME: ~/.cache/pre-commit

on:
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
needs: commitcheck
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- name: Check out committed code
uses: actions/checkout@v4
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
needs: prepare-test-cache
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.13"]

steps:
- name: Check out committed code
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ci:

default_language_version:
# force all unspecified python hooks to run python3
python: python3.12
python: python3.13

repos:
# Run manually in CI skipping the branch checks
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.6.1

- Support python 3.13

## v1.6.0

- New Feature: implement collection of location/zone data: Plugwise Adam thermostat representations are zone-based instead of device-based.
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "plugwise"
version = "1.6.0"
version = "1.6.1"
license = {file = "LICENSE"}
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
readme = "README.md"
Expand All @@ -15,6 +15,7 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Home Automation",
]
authors = [
Expand All @@ -24,7 +25,7 @@ maintainers = [
{ name = "bouwew"},
{ name = "CoMPaTech" }
]
requires-python = ">=3.11.0"
requires-python = ">=3.12.0"
dependencies = [
"aiohttp",
"defusedxml",
Expand All @@ -47,7 +48,7 @@ include-package-data = true
include = ["plugwise*"]

[tool.black]
target-version = ["py312"]
target-version = ["py313"]
exclude = 'generated'

[tool.isort]
Expand Down Expand Up @@ -185,7 +186,7 @@ norecursedirs = [
]

[tool.mypy]
python_version = "3.12"
python_version = "3.13"
show_error_codes = true
follow_imports = "silent"
ignore_missing_imports = true
Expand Down Expand Up @@ -215,7 +216,7 @@ omit= [
]

[tool.ruff]
target-version = "py312"
target-version = "py313"

lint.select = [
"B002", # Python does not support the unary prefix increment
Expand Down
2 changes: 1 addition & 1 deletion scripts/python-venv.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -eu

pyversions=(3.12)
pyversions=(3.13 3.12)
my_path=$(git rev-parse --show-toplevel)
my_venv=${my_path}/venv

Expand Down

0 comments on commit 76b927d

Please sign in to comment.