diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index 604af9626..897899fd7 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -88,12 +88,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -143,12 +143,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install Ruff, blacken-docs and autopep8 run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/format-python.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/format-python.txt - name: Run autopep8 if: needs.project-metadata.outputs.python_files # Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414 @@ -278,7 +278,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Sync uv.lock run: | uv --no-progress sync --upgrade @@ -343,12 +343,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install mdformat run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/mdformat.txt - name: Install shfmt run: | sudo apt install --yes shfmt diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index f507e0906..99e26b165 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -43,12 +43,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install bump-my-version run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/changelog.txt - name: ${{ matrix.part }} version bump # TODO: get configuration URL once https://github.com/callowayproject/bump-my-version/issues/148 is addressed, # so we can factorize projects' pyproject.toml files to kdeldycke/workflow/pyproject.toml . @@ -122,12 +122,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install bump-my-version and gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/changelog.txt - name: Extract version id: get_version run: > diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 6a80cd4ac..4f57b8336 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -108,12 +108,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/gha-utils.txt - name: Generate .mailmap run: | uv --no-progress run --frozen -- gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap @@ -188,12 +188,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -219,12 +219,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install pipdeptree run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/pipdeptree.txt - name: Install project run: | uv --no-progress pip install . @@ -285,7 +285,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv --system @@ -329,7 +329,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv --system diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 9dee5b4fd..afb89b270 100644 --- a/.github/workflows/labeller-content-based.yaml +++ b/.github/workflows/labeller-content-based.yaml @@ -37,7 +37,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-content-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-content-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/.github/labeller-content-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labeller-file-based.yaml b/.github/workflows/labeller-file-based.yaml index ca4753bed..0d3b38985 100644 --- a/.github/workflows/labeller-file-based.yaml +++ b/.github/workflows/labeller-file-based.yaml @@ -34,7 +34,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-file-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-file-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/.github/labeller-file-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index bccbba5c6..faf035ce4 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -31,8 +31,8 @@ jobs: with: skip_delete: true from: | - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/.github/labels.yaml ${{ inputs.extra-label-files }} ${{ ( startsWith(github.event.repository.name, 'awesome-') && github.event.repository.name != 'awesome-template' && - 'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' ) || '' }} + 'https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6621d4295..1f4f271e3 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -68,12 +68,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -99,12 +99,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install Mypy run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/mypy.txt - name: Install package from all requirement files run: | uv --no-progress pip install --all-extras ${{ needs.project-metadata.outputs.uv_requirement_params }} @@ -158,12 +158,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install yamllint run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/yamllint.txt - name: Run yamllint run: > uv --no-progress run --frozen -- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bb4caadc1..8975747b3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,12 +58,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -93,12 +93,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install build dependencies run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/build.txt - name: Build package run: | uv --no-progress run --frozen -- python -m build @@ -134,7 +134,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install Nuitka # XXX We cannot break the long "pip install" line below with a class "\" because it will not be able to run on # Windows' shell: @@ -146,7 +146,7 @@ jobs: # yamllint disable rule:line-length run: | uv --no-progress venv --system - uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt + uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/nuitka.txt # yamllint enable - name: Nuitka + compilers versions run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a6f82f81f..a172f1414 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -119,7 +119,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.1/requirements/uv.txt - name: Install project run: | uv --no-progress venv --system diff --git a/changelog.md b/changelog.md index a15e6da0c..37a7abacc 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [4.4.1 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.4.0...main) - -> \[!IMPORTANT\] -> This version is not released yet and is under active development. +## [4.4.1 (2024-08-01)](https://github.com/kdeldycke/workflows/compare/v4.4.0...v4.4.1) - Bump Nuitka and `uv`.