Skip to content

Commit 2d8bb6a

Browse files
committed
[changelog] Post-release bump v6.15.0 → v6.15.1.dev0
1 parent 05e74d9 commit 2d8bb6a

16 files changed

Lines changed: 93 additions & 88 deletions

.github/workflows/autofix.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
3636
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}
3737
HAS_VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY && 'true' || '' }}
38-
run: uvx --no-progress 'repomatic==6.15.0' setup-guide
38+
run: uvx --no-progress --from . repomatic setup-guide
3939

4040
metadata:
4141
name: 🧬 Project metadata
@@ -48,7 +48,7 @@ jobs:
4848
- name: Run repomatic metadata
4949
id: metadata
5050
run: >
51-
uvx --no-progress 'repomatic==6.15.0' metadata
51+
uvx --no-progress --from . repomatic metadata
5252
--format github-json --output "$GITHUB_OUTPUT"
5353
gitignore_exists python_files pyproject_files json_files doc_files
5454
markdown_files is_python_project mailmap_exists
@@ -77,16 +77,16 @@ jobs:
7777
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
7878
env:
7979
PYTHON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
80-
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run autopep8 --
80+
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress --from . repomatic run autopep8 --
8181
# XXX Ruff is planning to support linting and formatting in one unified command at one point.
8282
# See: https://github.com/astral-sh/ruff/issues/8232
8383
- name: Run Ruff
8484
run: |
85-
uvx --no-progress 'repomatic==6.15.0' run ruff -- check --output-format github
86-
uvx --no-progress 'repomatic==6.15.0' run ruff -- format --output-format github
85+
uvx --no-progress --from . repomatic run ruff -- check --output-format github
86+
uvx --no-progress --from . repomatic run ruff -- format --output-format github
8787
- id: pr-metadata
8888
run: >
89-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
89+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
9090
--template format-python
9191
--output "$GITHUB_OUTPUT"
9292
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -120,11 +120,11 @@ jobs:
120120
PYPROJECT_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).pyproject_files }}
121121
run: |
122122
rc=0
123-
echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run pyproject-fmt -- || rc=$?
123+
echo "${PYPROJECT_FILES}" | xargs uvx --no-progress --from . repomatic run pyproject-fmt -- || rc=$?
124124
[ "$rc" -eq 0 ] || [ "$rc" -eq 123 ] || exit "$rc"
125125
- id: pr-metadata
126126
run: >
127-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
127+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
128128
--template format-pyproject
129129
--output "$GITHUB_OUTPUT"
130130
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -157,7 +157,7 @@ jobs:
157157
- name: Auto-format Markdown
158158
env:
159159
MARKDOWN_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).markdown_files }}
160-
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.15.0' run mdformat --
160+
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress --from . repomatic run mdformat --
161161
- name: Markdown fixes for Awesome Lists
162162
if: startsWith(github.event.repository.name, 'awesome-')
163163
# Remove forbidden TOC entries: https://github.com/sindresorhus/awesome-lint/blob/v2.2.2/rules/toc.js#L14-L18
@@ -172,7 +172,7 @@ jobs:
172172
-exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
173173
- id: pr-metadata
174174
run: >
175-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
175+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
176176
--template format-markdown
177177
--output "$GITHUB_OUTPUT"
178178
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -207,10 +207,10 @@ jobs:
207207
- name: Format shell scripts
208208
env:
209209
SHELL_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).shfmt_files }}
210-
run: echo "${SHELL_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run shfmt --
210+
run: echo "${SHELL_FILES}" | xargs uvx --no-progress --from . repomatic run shfmt --
211211
- id: pr-metadata
212212
run: >
213-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
213+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
214214
--template format-shell
215215
--output "$GITHUB_OUTPUT"
216216
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -249,12 +249,12 @@ jobs:
249249
JSON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).json_files }}
250250
run: |
251251
echo "${JSON_FILES}" | xargs \
252-
uvx --no-progress 'repomatic==6.15.0' run biome -- \
252+
uvx --no-progress --from . repomatic run biome -- \
253253
format --write --no-errors-on-unmatched \
254254
--json-parse-allow-comments=true --json-parse-allow-trailing-commas=true
255255
- id: pr-metadata
256256
run: >
257-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
257+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
258258
--template format-json
259259
--output "$GITHUB_OUTPUT"
260260
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -286,10 +286,10 @@ jobs:
286286
restore-keys: |
287287
repomatic-bin-${{ runner.os }}-${{ runner.arch }}-typos-
288288
- name: Fix typos
289-
run: uvx --no-progress 'repomatic==6.15.0' run typos
289+
run: uvx --no-progress --from . repomatic run typos
290290
- id: pr-metadata
291291
run: >
292-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
292+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
293293
--template fix-typos
294294
--output "$GITHUB_OUTPUT"
295295
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -326,14 +326,14 @@ jobs:
326326
env:
327327
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
328328
run: >
329-
uvx --no-progress 'repomatic==6.15.0' fix-vulnerable-deps
329+
uvx --no-progress --from . repomatic fix-vulnerable-deps
330330
--repo "${{ github.repository }}"
331331
--output "$GITHUB_OUTPUT" --output-format github-actions
332332
- id: pr-metadata
333333
env:
334334
REPOMATIC_DIFF_TABLE: ${{ steps.fix.outputs.diff_table }}
335335
run: >
336-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
336+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
337337
--template fix-vulnerable-deps
338338
--output "$GITHUB_OUTPUT"
339339
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -358,11 +358,11 @@ jobs:
358358
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
359359
- name: Sync repomatic-managed files
360360
run: >
361-
uvx --no-progress 'repomatic==6.15.0' init
361+
uvx --no-progress --from . repomatic init
362362
--delete-unmodified --delete-excluded
363363
- id: pr-metadata
364364
run: >
365-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
365+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
366366
--template sync-repomatic
367367
--output "$GITHUB_OUTPUT"
368368
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -404,13 +404,13 @@ jobs:
404404
- name: Format images
405405
id: format
406406
run: >
407-
uvx --no-progress 'repomatic==6.15.0' format-images
407+
uvx --no-progress --from . repomatic format-images
408408
--output "$GITHUB_OUTPUT" --output-format github-actions
409409
- id: pr-metadata
410410
env:
411411
GHA_PR_BODY_PREFIX: ${{ steps.format.outputs.markdown }}
412412
run: >
413-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
413+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
414414
--template format-images
415415
--output "$GITHUB_OUTPUT"
416416
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -439,10 +439,10 @@ jobs:
439439
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
440440
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
441441
- name: Sync .gitignore
442-
run: uvx --no-progress 'repomatic==6.15.0' sync-gitignore
442+
run: uvx --no-progress --from . repomatic sync-gitignore
443443
- id: pr-metadata
444444
run: >
445-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
445+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
446446
--template sync-gitignore
447447
--output "$GITHUB_OUTPUT"
448448
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -469,10 +469,10 @@ jobs:
469469
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
470470
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
471471
- name: Sync bumpversion config
472-
run: uvx --no-progress 'repomatic==6.15.0' sync-bumpversion
472+
run: uvx --no-progress --from . repomatic sync-bumpversion
473473
- id: pr-metadata
474474
run: >
475-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
475+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
476476
--template sync-bumpversion
477477
--output "$GITHUB_OUTPUT"
478478
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -502,10 +502,10 @@ jobs:
502502
fetch-depth: 0
503503
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
504504
- name: Sync .mailmap
505-
run: uvx --no-progress 'repomatic==6.15.0' sync-mailmap --skip-if-missing
505+
run: uvx --no-progress --from . repomatic sync-mailmap --skip-if-missing
506506
- id: pr-metadata
507507
run: >
508-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
508+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
509509
--template sync-mailmap
510510
--output "$GITHUB_OUTPUT"
511511
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -534,14 +534,14 @@ jobs:
534534
- id: sync
535535
name: Sync uv.lock
536536
run: >
537-
uvx --no-progress 'repomatic==6.15.0' sync-uv-lock
537+
uvx --no-progress --from . repomatic sync-uv-lock
538538
--no-table --release-notes
539539
--output "$GITHUB_OUTPUT" --output-format github-actions
540540
- id: pr-metadata
541541
env:
542542
REPOMATIC_DIFF_TABLE: ${{ steps.sync.outputs.diff_table }}
543543
run: >
544-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
544+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
545545
--template sync-uv-lock
546546
--output "$GITHUB_OUTPUT"
547547
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -572,10 +572,10 @@ jobs:
572572
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
573573
- name: Generate graph
574574
# Package name and output path are auto-detected from pyproject.toml.
575-
run: uvx --no-progress 'repomatic==6.15.0' update-deps-graph
575+
run: uvx --no-progress --from . repomatic update-deps-graph
576576
- id: pr-metadata
577577
run: >
578-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
578+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
579579
--template update-deps-graph
580580
--output "$GITHUB_OUTPUT"
581581
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -605,10 +605,10 @@ jobs:
605605
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
606606
- name: Update docs
607607
# Runs sphinx-apidoc, converts RST stubs to MyST if applicable, then runs docs/docs_update.py.
608-
run: uvx --no-progress 'repomatic==6.15.0' update-docs
608+
run: uvx --no-progress --from . repomatic update-docs
609609
- id: pr-metadata
610610
run: >
611-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
611+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
612612
--template update-docs
613613
--output "$GITHUB_OUTPUT"
614614
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1

.github/workflows/changelog.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Run repomatic metadata
6363
id: metadata
6464
run: >
65-
uvx --no-progress 'repomatic==6.15.0' metadata
65+
uvx --no-progress --from . repomatic metadata
6666
--format github-json --output "$GITHUB_OUTPUT"
6767
minor_bump_allowed major_bump_allowed release_commits_matrix
6868
@@ -90,10 +90,10 @@ jobs:
9090
- name: Fix changelog dates and admonitions
9191
env:
9292
GH_TOKEN: ${{ github.token }}
93-
run: uvx --no-progress 'repomatic==6.15.0' lint-changelog --fix
93+
run: uvx --no-progress --from . repomatic lint-changelog --fix
9494
- id: pr-metadata
9595
run: >
96-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
96+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
9797
--template fix-changelog
9898
--output "$GITHUB_OUTPUT"
9999
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -135,14 +135,14 @@ jobs:
135135
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
136136
- name: ${{ matrix.part }} version bump
137137
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
138-
run: uvx --no-progress 'repomatic==6.15.0' run bump-my-version -- bump --verbose ${{ matrix.part }}
138+
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose ${{ matrix.part }}
139139
- name: Sync uv.lock
140140
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
141141
run: uv --no-progress sync
142142
- id: pr-metadata
143143
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
144144
run: >
145-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
145+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
146146
--template bump-version
147147
--part "${{ matrix.part }}"
148148
--output "$GITHUB_OUTPUT"
@@ -175,17 +175,17 @@ jobs:
175175
# --- Freeze commit: freeze everything to the release version. ---
176176
- name: Strip dev suffix for release
177177
# Bump the "dev" part: .dev0 → release (omitted), producing a clean X.Y.Z version.
178-
run: uvx --no-progress 'repomatic==6.15.0' run bump-my-version -- bump --verbose dev
178+
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose dev
179179
- name: Extract version
180180
id: get_version
181181
run: >
182182
echo "current_version=$(
183-
uvx --no-progress 'repomatic==6.15.0' run bump-my-version -- show current_version
183+
uvx --no-progress --from . repomatic run bump-my-version -- show current_version
184184
)" | tee -a "$GITHUB_OUTPUT"
185185
- name: Prepare release
186186
# Updates changelog and citation dates, comparison URL, and removes warning.
187187
# Also hard-codes version in workflow URLs for kdeldycke/repomatic repository.
188-
run: uvx --no-progress 'repomatic==6.15.0' release-prep
188+
run: uvx --no-progress --from . repomatic release-prep
189189
- name: Prepare repository
190190
env:
191191
GIT_AUTHOR: ${{ github.actor }}
@@ -201,24 +201,24 @@ jobs:
201201
- name: Re-target main branch in workflows
202202
# This step is only used in the original repository to automate remote URL tagging.
203203
if: github.repository == 'kdeldycke/repomatic'
204-
run: uvx --no-progress 'repomatic==6.15.0' release-prep --post-release
204+
run: uvx --no-progress --from . repomatic release-prep --post-release
205205
- name: Add new changelog entry
206-
run: uvx --no-progress 'repomatic==6.15.0' changelog ./changelog.md
206+
run: uvx --no-progress --from . repomatic changelog ./changelog.md
207207
- name: Version bump
208-
run: uvx --no-progress 'repomatic==6.15.0' run bump-my-version -- bump --verbose patch
208+
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose patch
209209
- name: Sync uv.lock
210210
run: uv --no-progress sync
211211
- name: Create unfreeze commit
212212
env:
213213
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
214214
run: >
215215
git commit --all --message="[changelog] Post-release bump
216-
v${CURRENT_VERSION} → v$(uvx --no-progress 'repomatic==6.15.0' run bump-my-version -- show current_version)"
216+
v${CURRENT_VERSION} → v$(uvx --no-progress --from . repomatic run bump-my-version -- show current_version)"
217217
- id: pr-metadata
218218
env:
219219
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
220220
run: >
221-
uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
221+
uvx --no-progress --from . repomatic pr-body --output-format github-actions
222222
--template prepare-release
223223
--version "${CURRENT_VERSION}"
224224
--output "$GITHUB_OUTPUT"

.github/workflows/debug.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Run repomatic metadata
3838
id: metadata
3939
run: >
40-
uvx --no-progress 'repomatic==6.15.0' --verbosity DEBUG metadata
40+
uvx --no-progress --from . repomatic --verbosity DEBUG metadata
4141
--format github-json --output "$GITHUB_OUTPUT"
4242
build_targets
4343
- name: Extend matrix with ubuntu-slim

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Run repomatic metadata
2727
id: metadata
2828
run: >
29-
uvx --no-progress 'repomatic==6.15.0' metadata
29+
uvx --no-progress --from . repomatic metadata
3030
--format github-json --output "$GITHUB_OUTPUT"
3131
is_python_project is_sphinx doc_files
3232
@@ -117,7 +117,7 @@ jobs:
117117
run: |
118118
exit_code=0
119119
echo "${DOC_FILES}" | xargs \
120-
uvx --no-progress 'repomatic==6.15.0' run lychee -- \
120+
uvx --no-progress --from . repomatic run lychee -- \
121121
--format markdown --output ./lychee/out.md \
122122
--hidden --suggest --no-progress --include-fragments --exclude-all-private \
123123
|| exit_code=$?
@@ -127,5 +127,5 @@ jobs:
127127
GH_TOKEN: ${{ github.token }}
128128
LYCHEE_EXIT_CODE: ${{ steps.lychee_run.outputs.exit_code }}
129129
run: |
130-
uvx --no-progress 'repomatic==6.15.0' broken-links \
130+
uvx --no-progress --from . repomatic broken-links \
131131
${LYCHEE_EXIT_CODE:+--lychee-exit-code "${LYCHEE_EXIT_CODE}"}

0 commit comments

Comments
 (0)