From 2f2fa7520c7fe9d800d69b53a874f0b401d7d1ee Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Wed, 4 Sep 2024 14:52:10 +0000 Subject: [PATCH] [changelog] Release v4.5.4 --- .github/workflows/autofix.yaml | 18 +++++++++--------- .github/workflows/changelog.yaml | 10 +++++----- .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, 40 insertions(+), 43 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index f73c9b3d2..29a44b4fd 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -88,11 +88,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.5.4/requirements/uv.txt - name: Install gha-utils run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Project metadata id: project-metadata env: @@ -142,15 +142,15 @@ 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.5.4/requirements/uv.txt - name: Install Ruff, blacken-docs and autopep8 run: | uv tool install --with-requirements \ - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/ruff.txt ruff + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/ruff.txt ruff uv tool install --with-requirements \ - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/blacken-docs.txt blacken-docs + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/blacken-docs.txt blacken-docs uv tool install --with-requirements \ - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/autopep8.txt autopep8 + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/autopep8.txt autopep8 - name: Run autopep8 if: needs.project-metadata.outputs.python_files # Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414 @@ -275,7 +275,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.5.4/requirements/uv.txt - name: Sync uv.lock run: | uv --no-progress sync --upgrade @@ -340,11 +340,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.5.4/requirements/uv.txt - name: Install mdformat run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt mdformat + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/mdformat.txt mdformat - name: Install shfmt run: | sudo apt install --yes shfmt diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 003409669..70136326d 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.5.4/requirements/uv.txt - name: Install bump-my-version run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/bump-my-version.txt bump-my-version + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/bump-my-version.txt bump-my-version - 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,13 +120,13 @@ 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.5.4/requirements/uv.txt - name: Install bump-my-version and gha-utils run: | uv tool install --with-requirements \ - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/bump-my-version.txt bump-my-version + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/bump-my-version.txt bump-my-version uv tool install --with-requirements \ - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Extract version id: get_version run: | diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index f722bdf60..666e2f3eb 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -108,11 +108,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.5.4/requirements/uv.txt - name: Install gha-utils run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Generate .mailmap run: | gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap @@ -187,11 +187,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.5.4/requirements/uv.txt - name: Install gha-utils run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Project metadata id: project-metadata env: @@ -217,12 +217,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.5.4/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.5.4/requirements/pipdeptree.txt - name: Install project run: | uv --no-progress pip install . @@ -283,7 +283,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.5.4/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv @@ -327,7 +327,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.5.4/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 3aac70b43..afb875748 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.5.4/.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 b8faac674..cd0307820 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.5.4/.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 a173a596a..58b205467 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.5.4/.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.5.4/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index dd9f49fb5..a8b46ec6e 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.5.4/requirements/uv.txt - name: Install gha-utils run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Project metadata id: project-metadata env: @@ -98,12 +98,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.5.4/requirements/uv.txt - name: Install Mypy run: | uv --no-progress venv uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/mypy.txt - name: Install package # Use --inexact so that uv doesn't try to remove the mypy package installed above. run: | @@ -158,11 +158,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.5.4/requirements/uv.txt - name: Install yamllint run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt yamllint + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/yamllint.txt yamllint - name: Run yamllint 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 79bb4aaf6..c5fd6b317 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.5.4/requirements/uv.txt - name: Install gha-utils run: > uv tool install --with-requirements - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils + https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/gha-utils.txt gha-utils - name: Project metadata id: project-metadata env: @@ -92,12 +92,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.5.4/requirements/uv.txt - name: Install build dependencies run: | uv --no-progress venv uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/build.txt - name: Build package run: | uv --no-progress run --frozen -- python -m build @@ -133,7 +133,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.5.4/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: @@ -145,7 +145,7 @@ jobs: # yamllint disable rule:line-length run: | uv --no-progress venv - 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.5.4/requirements/nuitka.txt # yamllint enable - name: Nuitka + compilers versions run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 3db3195f2..ff698b098 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -113,7 +113,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.5.4/requirements/uv.txt - name: Install project run: | uv --no-progress venv diff --git a/changelog.md b/changelog.md index b80e54908..ac5cd16ad 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [4.5.4 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.5.3...main) - -> [!IMPORTANT] -> This version is not released yet and is under active development. +## [4.5.4 (2024-09-04)](https://github.com/kdeldycke/workflows/compare/v4.5.3...v4.5.4) - Rerelease to stabilize changelog updates.