From de5a05e85d17d38dac1e6aea10985a89d1e9c2cc Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Tue, 2 Jul 2024 15:30:04 +0000 Subject: [PATCH] [changelog] Release v4.1.2 --- .github/workflows/autofix.yaml | 12 ++++++------ .github/workflows/changelog.yaml | 8 ++++---- .github/workflows/docs.yaml | 16 ++++++++-------- .github/workflows/labeller-content-based.yaml | 2 +- .github/workflows/labeller-file-based.yaml | 2 +- .github/workflows/labels.yaml | 4 ++-- .github/workflows/lint.yaml | 12 ++++++------ .github/workflows/release.yaml | 12 ++++++------ .github/workflows/tests.yaml | 2 +- changelog.md | 5 +---- 10 files changed, 36 insertions(+), 39 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index 15c749763..c505eacf5 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -87,11 +87,11 @@ 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.1.2/requirements/uv.txt - name: Install gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -141,11 +141,11 @@ 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.1.2/requirements/uv.txt - name: Install Ruff, blacken-docs and autopep8 run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/format-python.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/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 @@ -296,11 +296,11 @@ 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.1.2/requirements/uv.txt - name: Install mdformat run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/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 2256bf279..ae3877d0b 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -43,11 +43,11 @@ 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.1.2/requirements/uv.txt - name: Install bump-my-version run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/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 . @@ -120,11 +120,11 @@ 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.1.2/requirements/uv.txt - name: Install bump-my-version and gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/changelog.txt - name: Extract version id: get_version run: | diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8ce32f860..a53feafab 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -107,11 +107,11 @@ 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.1.2/requirements/uv.txt - name: Install gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/gha-utils.txt - name: Generate .mailmap run: | uv run gha-utils --verbosity DEBUG mailmap ./.mailmap @@ -186,11 +186,11 @@ 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.1.2/requirements/uv.txt - name: Install gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -216,11 +216,11 @@ 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.1.2/requirements/uv.txt - name: Install pipdeptree run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/pipdeptree.txt - name: Install project run: | uv pip install . @@ -281,7 +281,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.1.2/requirements/uv.txt - name: Install project dependencies run: | uv venv --system @@ -325,7 +325,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.1.2/requirements/uv.txt - name: Install project dependencies run: | uv venv --system diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 9dee5b4fd..402977886 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.1.2/.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..e8c5aaf50 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.1.2/.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..b24f46128 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.1.2/.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.1.2/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 48098c806..d39b84f32 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -68,11 +68,11 @@ 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.1.2/requirements/uv.txt - name: Install gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -98,11 +98,11 @@ 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.1.2/requirements/uv.txt - name: Install Mypy run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/mypy.txt - name: Install package from all requirement files run: | uv pip install --all-extras ${{ needs.project-metadata.outputs.uv_requirement_params }} @@ -156,11 +156,11 @@ 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.1.2/requirements/uv.txt - name: Install yamllint run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/yamllint.txt - name: Run yamllint run: | uv tool run yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github . diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d4c3f0c9f..baf32e529 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,11 +58,11 @@ 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.1.2/requirements/uv.txt - name: Install gha-utils run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -92,11 +92,11 @@ 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.1.2/requirements/uv.txt - name: Install build dependencies run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/build.txt - name: Build package run: | uv run python -m build @@ -132,11 +132,11 @@ 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.1.2/requirements/uv.txt - name: Install Nuitka run: | uv venv --system - uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt + uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.1.2/requirements/nuitka.txt - name: Nuitka + compilers versions run: | uv run python ${{ matrix.extra_python_params }} -m nuitka --version diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 13bede190..c0d9bbdd7 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -120,7 +120,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.1.2/requirements/uv.txt - name: Install project run: | uv venv --system diff --git a/changelog.md b/changelog.md index efde3ff88..7d031985e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [4.1.2 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.1.1...main) - -> \[!IMPORTANT\] -> This version is not released yet and is under active development. +## [4.1.2 (2024-07-02)](https://github.com/kdeldycke/workflows/compare/v4.1.1...v4.1.2) - Revert to rely entirely on released `gha-utils` CLI for release workflow.