Skip to content

Commit ac35a90

Browse files
committed
[changelog] Release v6.10.0
1 parent 47e5bfc commit ac35a90

File tree

16 files changed

+85
-88
lines changed

16 files changed

+85
-88
lines changed

.github/workflows/autofix.yaml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
env:
3333
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || secrets.GITHUB_TOKEN }}
3434
HAS_REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT && 'true' || '' }}
35-
run: uvx --no-progress --from . repomatic setup-guide
35+
run: uvx --no-progress 'repomatic==6.10.0' setup-guide
3636

3737
metadata:
3838
name: 🧬 Project metadata
@@ -45,7 +45,7 @@ jobs:
4545
- name: Run repomatic metadata
4646
id: metadata
4747
run: >
48-
uvx --no-progress --from . repomatic metadata
48+
uvx --no-progress 'repomatic==6.10.0' metadata
4949
--format github-json --output "$GITHUB_OUTPUT"
5050
gitignore_exists python_files json_files doc_files markdown_files
5151
is_python_project mailmap_exists
@@ -74,16 +74,16 @@ jobs:
7474
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
7575
env:
7676
PYTHON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
77-
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress --from . repomatic run autopep8 --
77+
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.10.0' run autopep8 --
7878
# XXX Ruff is planning to support linting and formatting in one unified command at one point.
7979
# See: https://github.com/astral-sh/ruff/issues/8232
8080
- name: Run Ruff
8181
run: |
82-
uvx --no-progress --from . repomatic run ruff -- check --output-format github
83-
uvx --no-progress --from . repomatic run ruff -- format --output-format github
82+
uvx --no-progress 'repomatic==6.10.0' run ruff -- check --output-format github
83+
uvx --no-progress 'repomatic==6.10.0' run ruff -- format --output-format github
8484
- id: pr-metadata
8585
run: >
86-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
86+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
8787
--template format-python
8888
--output "$GITHUB_OUTPUT"
8989
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -113,10 +113,10 @@ jobs:
113113
# We ignore this since changes are expected in an autofix workflow.
114114
env:
115115
PYPROJECT_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).pyproject_files }}
116-
run: echo "${PYPROJECT_FILES}" | xargs uvx --no-progress --from . repomatic run pyproject-fmt -- || true
116+
run: echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.10.0' run pyproject-fmt -- || true
117117
- id: pr-metadata
118118
run: >
119-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
119+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
120120
--template format-pyproject
121121
--output "$GITHUB_OUTPUT"
122122
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -148,7 +148,7 @@ jobs:
148148
- name: Auto-format Markdown
149149
env:
150150
MARKDOWN_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).markdown_files }}
151-
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress --from . repomatic run mdformat --
151+
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.10.0' run mdformat --
152152
- name: Markdown fixes for Awesome Lists
153153
if: startsWith(github.event.repository.name, 'awesome-')
154154
# Remove forbidden TOC entries: https://github.com/sindresorhus/awesome-lint/blob/v2.2.2/rules/toc.js#L14-L18
@@ -163,7 +163,7 @@ jobs:
163163
-exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
164164
- id: pr-metadata
165165
run: >
166-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
166+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
167167
--template format-markdown
168168
--output "$GITHUB_OUTPUT"
169169
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -195,12 +195,12 @@ jobs:
195195
JSON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).json_files }}
196196
run: |
197197
echo "${JSON_FILES}" | xargs \
198-
uvx --no-progress --from . repomatic run biome -- \
198+
uvx --no-progress 'repomatic==6.10.0' run biome -- \
199199
format --write --no-errors-on-unmatched \
200200
--json-parse-allow-comments=true --json-parse-allow-trailing-commas=true
201201
- id: pr-metadata
202202
run: >
203-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
203+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
204204
--template format-json
205205
--output "$GITHUB_OUTPUT"
206206
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -225,10 +225,10 @@ jobs:
225225
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
226226
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
227227
- name: Fix typos
228-
run: uvx --no-progress --from . repomatic run typos
228+
run: uvx --no-progress 'repomatic==6.10.0' run typos
229229
- id: pr-metadata
230230
run: >
231-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
231+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
232232
--template fix-typos
233233
--output "$GITHUB_OUTPUT"
234234
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -258,13 +258,13 @@ jobs:
258258
- id: fix
259259
name: Fix vulnerable dependencies
260260
run: >
261-
uvx --no-progress --from . repomatic fix-vulnerable-deps
261+
uvx --no-progress 'repomatic==6.10.0' fix-vulnerable-deps
262262
--output "$GITHUB_OUTPUT" --output-format github-actions
263263
- id: pr-metadata
264264
env:
265265
REPOMATIC_DIFF_TABLE: ${{ steps.fix.outputs.diff_table }}
266266
run: >
267-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
267+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
268268
--template fix-vulnerable-deps
269269
--output "$GITHUB_OUTPUT"
270270
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -288,11 +288,11 @@ jobs:
288288
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
289289
- name: Sync repomatic-managed files
290290
run: >
291-
uvx --no-progress --from . repomatic init
291+
uvx --no-progress 'repomatic==6.10.0' init
292292
--delete-unmodified --delete-excluded
293293
- id: pr-metadata
294294
run: >
295-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
295+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
296296
--template sync-repomatic
297297
--output "$GITHUB_OUTPUT"
298298
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -334,13 +334,13 @@ jobs:
334334
- name: Format images
335335
id: format
336336
run: >
337-
uvx --no-progress --from . repomatic format-images
337+
uvx --no-progress 'repomatic==6.10.0' format-images
338338
--output "$GITHUB_OUTPUT" --output-format github-actions
339339
- id: pr-metadata
340340
env:
341341
GHA_PR_BODY_PREFIX: ${{ steps.format.outputs.markdown }}
342342
run: >
343-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
343+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
344344
--template format-images
345345
--output "$GITHUB_OUTPUT"
346346
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -368,10 +368,10 @@ jobs:
368368
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
369369
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
370370
- name: Sync .gitignore
371-
run: uvx --no-progress --from . repomatic sync-gitignore
371+
run: uvx --no-progress 'repomatic==6.10.0' sync-gitignore
372372
- id: pr-metadata
373373
run: >
374-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
374+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
375375
--template sync-gitignore
376376
--output "$GITHUB_OUTPUT"
377377
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -397,10 +397,10 @@ jobs:
397397
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
398398
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
399399
- name: Sync bumpversion config
400-
run: uvx --no-progress --from . repomatic sync-bumpversion
400+
run: uvx --no-progress 'repomatic==6.10.0' sync-bumpversion
401401
- id: pr-metadata
402402
run: >
403-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
403+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
404404
--template sync-bumpversion
405405
--output "$GITHUB_OUTPUT"
406406
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -429,10 +429,10 @@ jobs:
429429
fetch-depth: 0
430430
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
431431
- name: Sync .mailmap
432-
run: uvx --no-progress --from . repomatic sync-mailmap --skip-if-missing
432+
run: uvx --no-progress 'repomatic==6.10.0' sync-mailmap --skip-if-missing
433433
- id: pr-metadata
434434
run: >
435-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
435+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
436436
--template sync-mailmap
437437
--output "$GITHUB_OUTPUT"
438438
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -460,14 +460,14 @@ jobs:
460460
- id: sync
461461
name: Sync uv.lock
462462
run: >
463-
uvx --no-progress --from . repomatic sync-uv-lock
463+
uvx --no-progress 'repomatic==6.10.0' sync-uv-lock
464464
--no-table --release-notes
465465
--output "$GITHUB_OUTPUT" --output-format github-actions
466466
- id: pr-metadata
467467
env:
468468
REPOMATIC_DIFF_TABLE: ${{ steps.sync.outputs.diff_table }}
469469
run: >
470-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
470+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
471471
--template sync-uv-lock
472472
--output "$GITHUB_OUTPUT"
473473
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -497,10 +497,10 @@ jobs:
497497
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
498498
- name: Generate graph
499499
# Package name and output path are auto-detected from pyproject.toml.
500-
run: uvx --no-progress --from . repomatic update-deps-graph
500+
run: uvx --no-progress 'repomatic==6.10.0' update-deps-graph
501501
- id: pr-metadata
502502
run: >
503-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
503+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
504504
--template update-deps-graph
505505
--output "$GITHUB_OUTPUT"
506506
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -529,10 +529,10 @@ jobs:
529529
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
530530
- name: Update docs
531531
# Runs sphinx-apidoc, converts RST stubs to MyST if applicable, then runs docs/docs_update.py.
532-
run: uvx --no-progress --from . repomatic update-docs
532+
run: uvx --no-progress 'repomatic==6.10.0' update-docs
533533
- id: pr-metadata
534534
run: >
535-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
535+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
536536
--template update-docs
537537
--output "$GITHUB_OUTPUT"
538538
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0

.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 --from . repomatic metadata
65+
uvx --no-progress 'repomatic==6.10.0' 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
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
93-
run: uvx --no-progress --from . repomatic lint-changelog --fix
93+
run: uvx --no-progress 'repomatic==6.10.0' lint-changelog --fix
9494
- id: pr-metadata
9595
run: >
96-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
96+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
9797
--template fix-changelog
9898
--output "$GITHUB_OUTPUT"
9999
- uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -134,14 +134,14 @@ jobs:
134134
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
135135
- name: ${{ matrix.part }} version bump
136136
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
137-
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose ${{ matrix.part }}
137+
run: uvx --no-progress 'repomatic==6.10.0' run bump-my-version -- bump --verbose ${{ matrix.part }}
138138
- name: Sync uv.lock
139139
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
140140
run: uv --no-progress sync
141141
- id: pr-metadata
142142
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
143143
run: >
144-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
144+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
145145
--template bump-version
146146
--part "${{ matrix.part }}"
147147
--output "$GITHUB_OUTPUT"
@@ -173,17 +173,17 @@ jobs:
173173
# --- Freeze commit: freeze everything to the release version. ---
174174
- name: Strip dev suffix for release
175175
# Bump the "dev" part: .dev0 → release (omitted), producing a clean X.Y.Z version.
176-
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose dev
176+
run: uvx --no-progress 'repomatic==6.10.0' run bump-my-version -- bump --verbose dev
177177
- name: Extract version
178178
id: get_version
179179
run: >
180180
echo "current_version=$(
181-
uvx --no-progress --from . repomatic run bump-my-version -- show current_version
181+
uvx --no-progress 'repomatic==6.10.0' run bump-my-version -- show current_version
182182
)" | tee -a "$GITHUB_OUTPUT"
183183
- name: Prepare release
184184
# Updates changelog and citation dates, comparison URL, and removes warning.
185185
# Also hard-codes version in workflow URLs for kdeldycke/repomatic repository.
186-
run: uvx --no-progress --from . repomatic release-prep
186+
run: uvx --no-progress 'repomatic==6.10.0' release-prep
187187
- name: Prepare repository
188188
env:
189189
GIT_AUTHOR: ${{ github.actor }}
@@ -199,24 +199,24 @@ jobs:
199199
- name: Re-target main branch in workflows
200200
# This step is only used in the original repository to automate remote URL tagging.
201201
if: github.repository == 'kdeldycke/repomatic'
202-
run: uvx --no-progress --from . repomatic release-prep --post-release
202+
run: uvx --no-progress 'repomatic==6.10.0' release-prep --post-release
203203
- name: Add new changelog entry
204-
run: uvx --no-progress --from . repomatic changelog ./changelog.md
204+
run: uvx --no-progress 'repomatic==6.10.0' changelog ./changelog.md
205205
- name: Version bump
206-
run: uvx --no-progress --from . repomatic run bump-my-version -- bump --verbose patch
206+
run: uvx --no-progress 'repomatic==6.10.0' run bump-my-version -- bump --verbose patch
207207
- name: Sync uv.lock
208208
run: uv --no-progress sync
209209
- name: Create unfreeze commit
210210
env:
211211
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
212212
run: >
213213
git commit --all --message="[changelog] Post-release bump
214-
v${CURRENT_VERSION} → v$(uvx --no-progress --from . repomatic run bump-my-version -- show current_version)"
214+
v${CURRENT_VERSION} → v$(uvx --no-progress 'repomatic==6.10.0' run bump-my-version -- show current_version)"
215215
- id: pr-metadata
216216
env:
217217
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
218218
run: >
219-
uvx --no-progress --from . repomatic pr-body --output-format github-actions
219+
uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
220220
--template prepare-release
221221
--version "${CURRENT_VERSION}"
222222
--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 --from . repomatic --verbosity DEBUG metadata
40+
uvx --no-progress 'repomatic==6.10.0' --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 --from . repomatic metadata
29+
uvx --no-progress 'repomatic==6.10.0' metadata
3030
--format github-json --output "$GITHUB_OUTPUT"
3131
is_python_project is_sphinx doc_files
3232
@@ -106,7 +106,7 @@ jobs:
106106
run: |
107107
exit_code=0
108108
echo "${DOC_FILES}" | xargs \
109-
uvx --no-progress --from . repomatic run lychee -- \
109+
uvx --no-progress 'repomatic==6.10.0' run lychee -- \
110110
--format markdown --output ./lychee/out.md \
111111
--hidden --suggest --no-progress --include-fragments --exclude-all-private \
112112
|| exit_code=$?
@@ -116,5 +116,5 @@ jobs:
116116
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117117
LYCHEE_EXIT_CODE: ${{ steps.lychee_run.outputs.exit_code }}
118118
run: |
119-
uvx --no-progress --from . repomatic broken-links \
119+
uvx --no-progress 'repomatic==6.10.0' broken-links \
120120
${LYCHEE_EXIT_CODE:+--lychee-exit-code "${LYCHEE_EXIT_CODE}"}

0 commit comments

Comments
 (0)