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 Jun 5, 2024
1 parent 87fcc10 commit 43531f5
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 35 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@ jobs:
rm ./pyproject.toml
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install pinned Poetry
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
format-python:
name: Format Python
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Install Ruff, blacken-docs and autopep8
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/format-python.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/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 @@ -291,11 +291,11 @@ jobs:
rm ./pyproject.toml
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install mdformat
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/mdformat.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/changelog.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/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 @@ -125,7 +125,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/changelog.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- name: Add new changelog entry
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/update_changelog.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)"
- name: 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
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Generate .mailmap
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/update_mailmap.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)"
- uses: peter-evans/create-pull-request@v6.0.5
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -192,18 +192,18 @@ jobs:
rm ./pyproject.toml
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install pinned Poetry
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -227,9 +227,9 @@ jobs:
- name: Install pipdeptree and Poetry on system
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/pipdeptree.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt
--requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
- name: Install project with Poetry
run: |
poetry install --only main --no-interaction
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
- name: Install project dependencies
run: |
poetry install --with docs --no-interaction
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
- name: Install project dependencies
# Let sphinx-click access project's code to generate CLI help.
run: |
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/v3.5.6/.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 @@ -34,7 +34,7 @@ jobs:
- name: Download default rules
run: >
curl -fsSL --output ./.github/labeller-file-based.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.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 @@ -31,8 +31,8 @@ jobs:
with:
skip_delete: true
from: |
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.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/v3.5.6/.github/labels-awesome.yaml' ) || '' }}
'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' ) || '' }}
14 changes: 7 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ jobs:
rm ./pyproject.toml
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install pinned Poetry
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
mypy-lint:
needs:
Expand All @@ -98,16 +98,16 @@ jobs:
requirements/*.txt
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install Mypy
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/mypy.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt
- name: Install package with Poetry
# Install Poetry, then install the package with it, as uv cannot read Poetry-flavored pyproject.toml.
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
run: |
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
source .venv/bin/activate && poetry install --all-extras --with typing --with test --no-interaction
- name: Install package with uv
if: ${{ ! fromJSON(needs.project-metadata.outputs.is_poetry_project) }}
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
- name: Install yamllint
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/yamllint.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt
- name: Run yamllint
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,18 +58,18 @@ jobs:
requirements/*.txt
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/uv.txt
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install pinned Poetry
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
poetry-build:
name: "Poetry: build & check package"
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Install poetry, twine and check-wheel-contents
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
- name: Build package
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -142,12 +142,12 @@ jobs:
- name: Install poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
- name: Re-install Nuitka in Poetry venv
# Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds.
run: >
poetry run python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.6/requirements/nuitka.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt
- name: Nuitka + compilers versions
run: |
poetry run python -m nuitka --version
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [3.5.7 (unreleased)](https://github.com/kdeldycke/workflows/compare/v3.5.6...main)

```{important}
This version is not released yet and is under active development.
```

## [3.5.6 (2024-06-05)](https://github.com/kdeldycke/workflows/compare/v3.5.5...v3.5.6)

- Use `uv` to install `mdformat`.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "3.5.6"
current_version = "3.5.7"
allow_dirty = true
ignore_missing_files = true

Expand Down

0 comments on commit 43531f5

Please sign in to comment.