-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[changelog] Post-release version bump
- Loading branch information
Showing
12 changed files
with
48 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,14 +52,14 @@ jobs: | |
fetch-depth: 0 | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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" | ||
|
@@ -73,7 +73,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 | ||
|
@@ -83,7 +83,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.10.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 }} | ||
|
@@ -140,7 +140,7 @@ jobs: | |
- name: Install Ruff | ||
run: > | ||
uv tool install --with-requirements | ||
https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 | ||
|
@@ -159,7 +159,7 @@ jobs: | |
# https://github.com/astral-sh/ruff/issues/3792 | ||
run: > | ||
uvx | ||
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/blacken-docs.txt | ||
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/blacken-docs.txt | ||
-- | ||
blacken-docs | ||
--line-length 88 | ||
|
@@ -196,7 +196,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 | ||
|
@@ -225,11 +225,11 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,11 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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 . | ||
|
@@ -104,11 +104,11 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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: | | ||
|
@@ -174,7 +174,7 @@ jobs: | |
- name: Add new changelog entry | ||
run: > | ||
uvx | ||
--with-requirements https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,11 +100,11 @@ jobs: | |
fetch-depth: 0 | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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] | ||
|
@@ -142,14 +142,14 @@ jobs: | |
fetch-depth: 0 | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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" | ||
|
@@ -163,12 +163,12 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 --python 3.13 | ||
uv --no-progress pip install \ | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/pipdeptree.txt | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt | ||
- name: Install project | ||
run: | | ||
uv --no-progress pip install . | ||
|
@@ -221,7 +221,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/uv.txt | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt | ||
- name: Install project dependencies | ||
run: | | ||
uv --no-progress venv --python 3.13 | ||
|
@@ -257,7 +257,7 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/uv.txt | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt | ||
- name: Install project dependencies | ||
run: | | ||
uv --no-progress venv --python 3.13 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,14 +31,14 @@ jobs: | |
fetch-depth: 0 | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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" | ||
|
@@ -52,12 +52,12 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/uv.txt | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt | ||
- name: Install Mypy | ||
run: | | ||
uv --no-progress venv --python 3.13 | ||
uv --no-progress pip install \ | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/mypy.txt | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt | ||
- name: Install package | ||
# Use --inexact so that uv doesn't try to remove the mypy package installed above. | ||
run: | | ||
|
@@ -76,11 +76,11 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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 . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,14 +59,14 @@ jobs: | |
git log --decorate=full --oneline | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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.10.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" | ||
|
@@ -84,12 +84,12 @@ jobs: | |
ref: ${{ matrix.commit }} | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/uv.txt | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt | ||
- name: Install build dependencies | ||
run: | | ||
uv --no-progress venv --python 3.13 | ||
uv --no-progress pip install \ | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.0/requirements/build.txt | ||
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt | ||
- name: Build package | ||
run: | | ||
uv --no-progress build | ||
|
@@ -125,7 +125,7 @@ jobs: | |
python-version: "3.13" | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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: | ||
|
@@ -137,7 +137,7 @@ jobs: | |
# yamllint disable rule:line-length | ||
run: | | ||
uv --no-progress venv --python 3.13 --python-preference system | ||
uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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: | ||
|
@@ -321,7 +321,7 @@ jobs: | |
steps: | ||
- name: Install uv | ||
run: | | ||
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.10.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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
|
||
from __future__ import annotations | ||
|
||
__version__ = "4.10.0" | ||
__version__ = "4.10.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters