From ec9b84baa965b988667430e2cfe37c61ed9aea92 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Wed, 4 Dec 2024 16:28:01 +0000 Subject: [PATCH] update requirements --- .github/workflows/check-lint.yml | 2 +- .github/workflows/check-test.yml | 2 +- .github/workflows/check-type.yml | 2 +- .pre-commit-config.yaml | 4 ++-- custom_components/ramses_cc/manifest.json | 4 ++-- pyproject.toml | 2 +- requirements_dev.txt | 8 ++++---- requirements_test.txt | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index 3c74b10..a78718d 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/check-test.yml b/.github/workflows/check-test.yml index df5cee0..fc3e631 100644 --- a/.github/workflows/check-test.yml +++ b/.github/workflows/check-test.yml @@ -31,7 +31,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/check-type.yml b/.github/workflows/check-type.yml index a7f011f..46f9520 100644 --- a/.github/workflows/check-type.yml +++ b/.github/workflows/check-type.yml @@ -28,7 +28,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 953c4be..b9e8d7e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,13 +3,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.8.1 hooks: - id: ruff # linter - id: ruff-format # formatter - repo: https://github.com/cdce8p/python-typing-update - rev: v0.6.0 + rev: v0.7.0 hooks: # Run `python-typing-update` hook manually from time to time # to update python typing syntax. diff --git a/custom_components/ramses_cc/manifest.json b/custom_components/ramses_cc/manifest.json index a312d80..29f4f40 100644 --- a/custom_components/ramses_cc/manifest.json +++ b/custom_components/ramses_cc/manifest.json @@ -8,10 +8,10 @@ "loggers": ["ramses_rf"], "requirements": [ "pyserial-asyncio-fast>=0.13", - "ramses-rf==0.43.0" + "ramses-rf==0.50.0" ], "config_flow": true, "single_config_entry": true, "type": "hub", - "version": "0.43.0" + "version": "0.50.0" } diff --git a/pyproject.toml b/pyproject.toml index 2e095ce..48a02bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ [tool.ruff] # exclude = ["tests/deprecated/*.py"] src = ["custom_components"] - target-version = "py312" + target-version = "py313" [tool.ruff.lint] diff --git a/requirements_dev.txt b/requirements_dev.txt index 7c39d84..6e3bf73 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -5,7 +5,7 @@ # requirements (dependencies) are in manifest.json # - pip list | grep -E 'ramses|serial' - ramses_rf == 0.42.0 # as per: manifest.json + ramses_rf == 0.50.0 # as per: manifest.json pyserial-asyncio-fast >= 0.13 # as per: manifest.json @@ -13,10 +13,10 @@ # - pip list | grep -E 'pre-commit|ruff|mypy|types-|voluptuous' # used for development (linting) - pre-commit >= 3.7.1 - ruff >= 0.6.4 # also: pre-commit-config.yaml + pre-commit >= 4.0.1 + ruff >= 0.8.1 # also: pre-commit-config.yaml # used for development (typing) - mypy >= 1.11.1 + mypy >= 1.13.0 types-paho-mqtt >= 1.6.0 voluptuous >= 0.15.2 diff --git a/requirements_test.txt b/requirements_test.txt index fa71037..9c7f5da 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -11,4 +11,4 @@ # used for testing (incl. HA, pytest*, syrupy, voluptuous, etc.) # - pytest - pytest_homeassistant_custom_component >= 0.13.162 + pytest_homeassistant_custom_component >= 0.13.189