diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index c643079..9bb1532 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -2,7 +2,7 @@ name: Latest release env: CACHE_VERSION: 1 - DEFAULT_PYTHON: "3.13" + DEFAULT_PYTHON: "3.14" on: pull_request: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 52a7b4a..7c48192 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -2,7 +2,7 @@ name: Latest commit env: CACHE_VERSION: 1 - DEFAULT_PYTHON: "3.13" + DEFAULT_PYTHON: "3.14" PRE_COMMIT_HOME: ~/.cache/pre-commit VENV: venv @@ -32,6 +32,10 @@ jobs: uses: actions/checkout@v5 with: persist-credentials: false + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv @@ -62,6 +66,10 @@ jobs: steps: - name: Check out committed code uses: actions/checkout@v5 + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv @@ -83,10 +91,14 @@ jobs: - commitcheck strategy: matrix: - python-version: ["3.13"] + python-version: ["3.13", "3.14"] steps: - name: Check out committed code uses: actions/checkout@v5 + - name: Use python ${{matrix.python-version}} + uses: actions/setup-python@v6 + with: + python-version: ${{matrix.python-version}} - name: Prepare python run: | pip install uv @@ -116,6 +128,10 @@ jobs: uses: actions/checkout@v5 with: persist-credentials: false + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv @@ -138,6 +154,10 @@ jobs: steps: - name: Check out committed code uses: actions/checkout@v5 + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv @@ -174,6 +194,10 @@ jobs: steps: - name: Check out committed code uses: actions/checkout@v5 + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv @@ -215,6 +239,10 @@ jobs: steps: - name: Check out committed code uses: actions/checkout@v5 + - name: Use python + uses: actions/setup-python@v6 + with: + python-version: ${{ env.DEFAULT_PYTHON }} - name: Prepare python run: | pip install uv diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7f5f36c..a5cf3ba 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ default_language_version: # force all unspecified python hooks to run python3 - python: python3.13 + python: python3.14 repos: # Run manually in CI skipping the branch checks diff --git a/pyproject.toml b/pyproject.toml index f8a98ed..315090c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,7 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Operating System :: OS Independent", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: 3.13", "Topic :: Home Automation", ] @@ -39,7 +40,7 @@ include-package-data = true include = ["airos*"] [tool.pylint.MAIN] -py-version = "3.13" +py-version = "3.14" # Use a conservative default here; 2 should speed up most setups and not hurt # any too bad. Override on command line as appropriate. jobs = 2