Skip to content

Commit

Permalink
[changelog] Post-release version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Feb 11, 2025
1 parent 6625969 commit eced1eb
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 42 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
fetch-depth: 0
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run gha-utils metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run autopep8
if: needs.project-metadata.outputs.python_files
# Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414
Expand All @@ -85,7 +85,7 @@ jobs:
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/autopep8.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/autopep8.txt
--
autopep8 --recursive --in-place --max-line-length 88 --select E501 --aggressive
${{ needs.project-metadata.outputs.python_files }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Install Ruff
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/ruff.txt ruff
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/ruff.txt ruff
- name: Run Ruff check
run: |
ruff check --config ./ruff.toml
Expand All @@ -161,7 +161,7 @@ jobs:
# https://github.com/astral-sh/ruff/issues/3792
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/blacken-docs.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/blacken-docs.txt
--
blacken-docs
--line-length 88
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Sync uv.lock
run: |
uv --no-progress sync --upgrade
Expand Down Expand Up @@ -227,11 +227,11 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install mdformat
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/mdformat.txt mdformat
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt mdformat
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install bump-my-version
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/bump-my-version.txt bump-my-version
https://raw.githubusercontent.com/kdeldycke/workflows/main/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 .
Expand Down Expand Up @@ -105,11 +105,11 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install bump-my-version
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/bump-my-version.txt bump-my-version
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/bump-my-version.txt bump-my-version
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Add new changelog entry
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG changelog ./changelog.md
- name: Version bump
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ jobs:
fetch-depth: 0
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Generate .mailmap
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap
- uses: peter-evans/[email protected]
Expand Down Expand Up @@ -143,14 +143,14 @@ jobs:
fetch-depth: 0
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run gha-utils metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
Expand All @@ -164,12 +164,12 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install pipdeptree
run: |
uv --no-progress venv
uv --no-progress pip install \
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/pipdeptree.txt
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt
- name: Install project
run: |
uv --no-progress pip install .
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run Sphinx
run: |
uv --no-progress run --frozen --extra docs -- sphinx-apidoc --no-toc --module-first --force -o ./docs .
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install Graphviz
# So we can use the sphinx.ext.graphviz plugin.
# See: https://www.sphinx-doc.org/en/master/usage/extensions/graphviz.html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-content-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Download default rules
run: >
curl -fsSL --output ./.github/labeller-content-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/.github/labeller-content-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-content-based.yaml
- name: Extend default rules
if: inputs.extra-rules
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-file-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Download default rules
run: >
curl -fsSL --output ./.github/labeller-file-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/.github/labeller-file-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-file-based.yaml
- name: Extend default rules
if: inputs.extra-rules
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
with:
skip_delete: true
from: |
https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/.github/labels.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/main/.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/v4.14.0/.github/labels-awesome.yaml' ) || '' }}
'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' ) || '' }}
12 changes: 6 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
fetch-depth: 0
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run gha-utils metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
Expand All @@ -53,12 +53,12 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run Mypy
# --color-output - Force colorized output as in CI, Mypy defaults to no color in CI.
run: >
uv --no-progress run --frozen --all-extras
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/mypy.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt
--
mypy --color-output ${{ needs.project-metadata.outputs.mypy_params }}
${{ needs.project-metadata.outputs.python_files }}
Expand All @@ -71,11 +71,11 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run yamllint
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/yamllint.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt
--
yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ jobs:
git log --decorate=full --oneline
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Run gha-utils metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uvx
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/gha-utils.txt
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt
--
gha-utils --verbosity DEBUG metadata --overwrite "$GITHUB_OUTPUT"
Expand All @@ -91,7 +91,7 @@ jobs:
ref: ${{ matrix.commit }}
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Build package
run: |
uv --no-progress build
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
python-version: "3.13"
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/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:
Expand All @@ -135,7 +135,7 @@ jobs:
# yamllint disable rule:line-length
run: |
uv --no-progress venv --python 3.13
uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/nuitka.txt
uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt
# yamllint enable
- name: Nuitka + compilers versions
# XXX Nuitka needs the ".cmd" extension on Windows:
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
steps:
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Download build artifacts
uses: actions/[email protected]
id: download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- uses: actions/[email protected]
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.14.0/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install project
run: |
uv --no-progress venv --python ${{ matrix.python-version }}
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [4.14.1 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.14.0...main)

> [!IMPORTANT]
> This version is not released yet and is under active development.
## [4.14.0 (2025-02-11)](https://github.com/kdeldycke/workflows/compare/v4.13.4...v4.14.0)

- Add new `gha-utils test-plan` subcommand.
Expand Down
2 changes: 1 addition & 1 deletion gha_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

from __future__ import annotations

__version__ = "4.14.0"
__version__ = "4.14.1"
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
name = "gha-utils"
version = "4.14.0"
version = "4.14.1"
# Python versions and their status: https://devguide.python.org/versions/
requires-python = ">= 3.10"
description = "⚙️ CLI helpers for GitHub Actions + reuseable workflows"
Expand Down Expand Up @@ -134,7 +134,7 @@ addopts = [
xfail_strict = true

[tool.bumpversion]
current_version = "4.14.0"
current_version = "4.14.1"
allow_dirty = true
ignore_missing_files = true

Expand Down

0 comments on commit eced1eb

Please sign in to comment.