diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 4ea2bfc..d25e034 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -31,17 +31,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@v7.0.1 - name: Setup Pages - uses: actions/configure-pages@v6 + uses: actions/configure-pages@v6.0.0 with: enablement: true - name: Setup Python - uses: actions/setup-python@v7 + uses: actions/setup-python@v7.0.0 with: - python-version: "3.x" + python-version: "3.14.6" - name: Install Dependencies run: pip install -r docs/requirements.txt @@ -50,10 +50,10 @@ jobs: run: mkdocs build - name: Upload artifact - uses: actions/upload-pages-artifact@v5 + uses: actions/upload-pages-artifact@v5.0.0 with: path: "./site" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v5 + uses: actions/deploy-pages@v5.0.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff2ea8c..f80a9ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,14 +57,14 @@ jobs: is_prerelease: ${{ steps.get_version.outputs.is_prerelease }} release_body: ${{ steps.get_version.outputs.release_body }} steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v7 + uses: actions/setup-python@v7.0.0 with: - python-version: "3.14" + python-version: "3.14.6" - name: Calculate Version and Release Details id: get_version @@ -80,7 +80,7 @@ jobs: python .github/scripts/calculate_release_details.py - name: Upload Release Body - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: release-body path: release_body.md @@ -93,14 +93,14 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v7.0.1 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v7 + uses: actions/setup-python@v7.0.0 with: - python-version: "3.14" + python-version: "3.14.6" - name: Configure Git and pull latest run: | @@ -119,7 +119,7 @@ jobs: fi - name: Upload Updated Components - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@v7.0.1 with: name: updated-components path: custom_components/ @@ -134,7 +134,7 @@ jobs: fi - name: Download Release Body - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: release-body @@ -179,7 +179,7 @@ jobs: contents: write actions: write steps: - - uses: actions/checkout@v7 + - uses: actions/checkout@v7.0.1 with: ref: ${{ github.ref_name }} fetch-depth: 0 @@ -189,7 +189,7 @@ jobs: git pull --rebase origin ${{ github.ref_name }} - name: Download Updated Components - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: updated-components path: custom_components/ @@ -200,7 +200,7 @@ jobs: zip -r ../../pepper.zip . - name: Download Release Body Artifact - uses: actions/download-artifact@v8 + uses: actions/download-artifact@v8.0.1 with: name: release-body @@ -262,7 +262,7 @@ jobs: fi - name: Delete Component Artifact - uses: actions/github-script@v9 + uses: actions/github-script@v9.0.0 with: script: | const { data: artifacts } = await github.rest.actions.listWorkflowRunArtifacts({ diff --git a/docs/requirements.txt b/docs/requirements.txt index d110457..ab55e26 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ -mkdocs>=1.6.1 -mkdocs-material>=9.7.6 -mkdocs-minify-plugin>=0.8.0 +mkdocs==1.6.1 +mkdocs-material==9.7.7 +mkdocs-minify-plugin==0.8.0 diff --git a/pyproject.toml b/pyproject.toml index ce2306b..03fa087 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = [ {name = "FaserF", email = "github@fabiseitz.de"} ] readme = "README.md" -requires-python = ">=3.14.0" +requires-python = "==3.14.6" [tool.ruff] target-version = "py312" @@ -61,8 +61,8 @@ asyncio_mode = "auto" [dependency-groups] dev = [ - "mypy>=2.3.0", - "pytest>=9.1.1", - "pytest-asyncio>=1.4.0", - "ruff>=0.15.21", + "mypy==2.3.0", + "pytest==9.1.1", + "pytest-asyncio==1.4.0", + "ruff==0.15.21", ] diff --git a/uv.lock b/uv.lock index e817e6c..a46cdd9 100644 --- a/uv.lock +++ b/uv.lock @@ -1,10 +1,6 @@ version = 1 revision = 3 -requires-python = ">=3.14.0" -resolution-markers = [ - "python_full_version >= '3.15'", - "python_full_version < '3.15'", -] +requires-python = "==3.14.6" [[package]] name = "ast-serialize" @@ -73,10 +69,10 @@ dev = [ [package.metadata.requires-dev] dev = [ - { name = "mypy", specifier = ">=2.3.0" }, - { name = "pytest", specifier = ">=9.1.1" }, - { name = "pytest-asyncio", specifier = ">=1.4.0" }, - { name = "ruff", specifier = ">=0.15.21" }, + { name = "mypy", specifier = "==2.3.0" }, + { name = "pytest", specifier = "==9.1.1" }, + { name = "pytest-asyncio", specifier = "==1.4.0" }, + { name = "ruff", specifier = "==0.15.21" }, ] [[package]]