Skip to content

Commit

Permalink
[changelog] Release v4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jul 2, 2024
1 parent d3110c3 commit de5a05e
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 39 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down Expand Up @@ -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: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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 .
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
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 @@ -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: |
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 @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' ) || '' }}
12 changes: 6 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 1 addition & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit de5a05e

Please sign in to comment.