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 24, 2024
1 parent 1dba369 commit a112378
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 29 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Download pinned requirements.txt
run: >
curl -fsSL --output ./pinned-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/metadata-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt
- name: Install Poetry from pinned requirements.txt
# uv needs a venv. See:
# https://github.com/astral-sh/uv/issues/1386
Expand All @@ -107,7 +107,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
format-python:
name: Format Python
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- name: Install Ruff, blacken-docs and autopep8
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/format-python-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/format-python-requirements.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 @@ -308,7 +308,7 @@ jobs:
- name: Install mdformat
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/mdformat-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/mdformat-requirements.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 @@ -46,7 +46,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/changelog-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/changelog-requirements.txt
- name: ${{ matrix.part }} version bump
run: |
bump-my-version bump --verbose ${{ matrix.part }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/changelog-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/changelog-requirements.txt
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
- name: Add new changelog entry
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/update_changelog.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)"
- name: Version bump
run: |
bump-my-version bump --verbose patch
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
- name: Generate .mailmap
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/update_mailmap.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)"
- uses: peter-evans/create-pull-request@v6.0.0
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- name: Download pinned requirements.txt
run: >
curl -fsSL --output ./pinned-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/metadata-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt
- name: Install Poetry from pinned requirements.txt
# uv needs a venv. See:
# https://github.com/astral-sh/uv/issues/1386
Expand All @@ -217,7 +217,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -240,9 +240,9 @@ jobs:
- name: Install pipdeptree and Poetry on system
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/pipdeptree-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/pipdeptree-requirements.txt
--requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt
- name: Install project with Poetry
run: |
poetry install --only main --no-interaction
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt
- name: Install project dependencies
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.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.2.1/.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.2.1/.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.2.1/.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.2.1/.github/labels-awesome.yaml' ) || '' }}
'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' ) || '' }}
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Download pinned requirements.txt
run: >
curl -fsSL --output ./pinned-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/metadata-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt
- name: Install Poetry from pinned requirements.txt
# uv needs a venv. See:
# https://github.com/astral-sh/uv/issues/1386
Expand All @@ -94,7 +94,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
mypy-lint:
needs:
Expand All @@ -117,12 +117,12 @@ jobs:
- name: Install Mypy
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/mypy-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/mypy-requirements.txt
- name: Install Poetry
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt
- name: Install dependencies with Poetry
# Install project with Poetry if supported, so we can benefits from dependencies on typing stubs.
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
- name: Install yamllint
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/yamllint-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/yamllint-requirements.txt
- name: Run yamllint
run: |
yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Download pinned requirements.txt
run: >
curl -fsSL --output ./pinned-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/metadata-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt
- name: Install Poetry from pinned requirements.txt
# uv needs a venv. See:
# https://github.com/astral-sh/uv/issues/1386
Expand All @@ -84,7 +84,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
python -c "$(curl -fsSL
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/.github/metadata.py)"
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
poetry-build:
name: "Poetry: build & check package"
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Install poetry, twine and check-wheel-contents
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt
- name: Build package
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -157,15 +157,15 @@ jobs:
- name: Install poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/build-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt
- name: Re-install Nuitka in Poetry venv
# Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds.
# Additional dependencies:
# - ordered-set: used by Nuitka for compilation performance
# - zstandard: for nuitka's onefile compression
run: >
poetry run python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.1/nuitka-requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/main/nuitka-requirements.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.2.2 (unreleased)](https://github.com/kdeldycke/workflows/compare/v3.2.1...main)

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

## [3.2.1 (2024-02-24)](https://github.com/kdeldycke/workflows/compare/v3.2.0...v3.2.1)

- Add label to awesome template sync PR.
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.2.1"
current_version = "3.2.2"
allow_dirty = true

[[tool.bumpversion.files]]
Expand Down

0 comments on commit a112378

Please sign in to comment.