diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index a28ba2d9e..2e43fb0bd 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -4,7 +4,7 @@ name: Latest commit env: - CACHE_VERSION: 9 + CACHE_VERSION: 11 DEFAULT_PYTHON: 3.9 PRE_COMMIT_HOME: ~/.cache/pre-commit @@ -167,7 +167,7 @@ jobs: needs: commitcheck strategy: matrix: - python-version: [3.8, 3.9] + python-version: [3.8, 3.9, "3.10"] steps: - name: Check out committed code uses: actions/checkout@v2 @@ -204,7 +204,7 @@ jobs: needs: prepare-test-cache strategy: matrix: - python-version: [3.8, 3.9] + python-version: [3.8, 3.9, "3.10"] steps: - name: Check out committed code diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 95a6bfbfc..679903d68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,7 +56,7 @@ repos: hooks: - id: yamllint - repo: https://github.com/prettier/prettier - rev: 2.0.4 + rev: 2.5.1 hooks: - id: prettier stages: [manual] diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a1543d5b..d93ba18f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## In progress + - Add testing for python 3.10, improve dependencies (github workflow) + - Bump aiohttp to 3.8.1, remove fixed dependencies + ## v0.15.4 - Smile - Bugfix: handle removed thermostats - Recognize when a thermostat has been removed from a zone and don't show it in Core - Rename Group Switch to Switchgroup, remove vendor name diff --git a/package_constraints.txt b/package_constraints.txt index e7d0cb1f0..ba74309d4 100644 --- a/package_constraints.txt +++ b/package_constraints.txt @@ -4,6 +4,6 @@ # Test constraints #jsonpickle==1.4.1 -pytest-asyncio==0.14.0 +#pytest-asyncio==0.14.0 pytest-cover==3.0.0 radon==4.5.0 diff --git a/requirements_test.txt b/requirements_test.txt index 5283c9236..62d69d079 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,10 +1,10 @@ # In addition to Upstream HA (devbranch) -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt # and commit --r requirements_commit.txt +# -r requirements_commit.txt # and setup -e . # -pytest-asyncio +# pytest-asyncio pytest-cover radon diff --git a/setup.py b/setup.py index 24f348c8e..48cc57118 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def readme(): license="MIT", packages=find_packages(), install_requires=[ - "aiohttp==3.8.0", + "aiohttp", "async_timeout", "crcmod", "defusedxml",