Finalize stage-2 migration: bump dependencies and clean up Codeberg references #22

Manually merged
marvin8 merged 2 commits from chore/stage2-migration into main 2026-08-19 02:32:56 +00:00
Collaborator

Finalizes the stage-2 migration for kokopelli (forge.marvin8.zone).

Changes

  • Bump out-of-date dependencies to their ~= minimums per zaojun: typer 0.27.1, whenever 0.10.5, bump-my-version 1.5.1, complexipy 7.0.0, prek 0.4.13, ruff 0.16.2, ty 0.0.70, uv 0.12.3.
  • Align pre-commit hook revs with the bumped packages (ruff, ty, uv, complexipy).
  • Regenerate uv.lock and pylock.toml.
  • Update stale Codeberg references in CLAUDE.md to forge.marvin8.zone / Forge.

Validation

  • nox -s pysentry — 0 vulnerabilities found
  • nox -s pytest — 68 passed on Python 3.11/3.12/3.13/3.14/3.14t
  • ty check ., complexipy ., ruff format --check ., ruff check src/ — all pass
  • nox -s deptry interrogate dependency_versions — all pass
Finalizes the stage-2 migration for kokopelli (forge.marvin8.zone). ## Changes - Bump out-of-date dependencies to their `~=` minimums per zaojun: typer 0.27.1, whenever 0.10.5, bump-my-version 1.5.1, complexipy 7.0.0, prek 0.4.13, ruff 0.16.2, ty 0.0.70, uv 0.12.3. - Align pre-commit hook revs with the bumped packages (ruff, ty, uv, complexipy). - Regenerate `uv.lock` and `pylock.toml`. - Update stale Codeberg references in `CLAUDE.md` to forge.marvin8.zone / Forge. ## Validation - `nox -s pysentry` — 0 vulnerabilities found - `nox -s pytest` — 68 passed on Python 3.11/3.12/3.13/3.14/3.14t - `ty check .`, `complexipy .`, `ruff format --check .`, `ruff check src/` — all pass - `nox -s deptry interrogate dependency_versions` — all pass
🔧 finalize stage-2 migration: bump deps and update Codeberg references
All checks were successful
/ gitleaks (pull_request) Successful in 15s
/ pr-review (pull_request) Successful in 1m31s
/ pytest-betas (pull_request) Successful in 1m2s
/ checks (pull_request) Successful in 2m24s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
af33cf3605
forgejo-actions left a comment

WuMing

Found 4 issue(s). See inline comments below.

## WuMing Found **4** issue(s). See inline comments below.
@ -12,3 +12,3 @@
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.21
rev: v0.16.2

config [MEDIUM]

Pre-commit ruff hook is pinned to v0.16.2, but the regenerated lock files resolve ruff to 0.16.3. Pre-commit will therefore run a different ruff version than the local uv/nox environment, which can cause inconsistent lint or formatting results. Update the rev to v0.16.3 (or pin the lock to exactly 0.16.2).

**config** [MEDIUM] Pre-commit ruff hook is pinned to v0.16.2, but the regenerated lock files resolve ruff to 0.16.3. Pre-commit will therefore run a different ruff version than the local `uv`/nox environment, which can cause inconsistent lint or formatting results. Update the rev to v0.16.3 (or pin the lock to exactly 0.16.2). <!-- wuming:sha256:000a5b077158329b3caa86cff104d8b1d00429d370903948ac06b3b6dc15bf7d -->
marvin8 marked this conversation as resolved
@ -22,3 +22,3 @@
- repo: https://github.com/astral-sh/ty-pre-commit
rev: v0.0.57
rev: v0.0.70

config [MEDIUM]

Pre-commit ty hook is pinned to v0.0.70, while the lock files resolve ty to 0.0.72. Align the rev with the locked version so pre-commit and local type checking use the same tool version.

**config** [MEDIUM] Pre-commit ty hook is pinned to v0.0.70, while the lock files resolve ty to 0.0.72. Align the rev with the locked version so pre-commit and local type checking use the same tool version. <!-- wuming:sha256:c592fd3133a0d1c24592952c703eb2dedd5cc7cd1e4a496c97ef3a86b749e32d -->
marvin8 marked this conversation as resolved
@ -27,3 +27,3 @@
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.28
rev: 0.12.3

config [MEDIUM]

uv-pre-commit hook is pinned to 0.12.3, but the lock files resolve uv to 0.12.5. Since this hook runs uv lock/uv export, using an older uv version can produce different lockfile metadata/resolution than the version used to regenerate the lock files. Update the rev to 0.12.5.

**config** [MEDIUM] uv-pre-commit hook is pinned to 0.12.3, but the lock files resolve uv to 0.12.5. Since this hook runs `uv lock`/`uv export`, using an older uv version can produce different lockfile metadata/resolution than the version used to regenerate the lock files. Update the rev to 0.12.5. <!-- wuming:sha256:0980bf3258752fc72f13eb5859da7379cd1cf2c493ad385998b6edf49df4901d -->
marvin8 marked this conversation as resolved
@ -39,3 +39,3 @@
- repo: https://github.com/rohaquinlop/complexipy-pre-commit
rev: v5.1.0
rev: v7.0.0

config [MEDIUM]

complexipy pre-commit hook is pinned to v7.0.0, but pylock.toml resolves complexipy to 7.0.1. Update the rev to v7.0.1 (or pin the dependency to exactly 7.0.0) so pre-commit uses the same version as the validated environment.

**config** [MEDIUM] complexipy pre-commit hook is pinned to v7.0.0, but pylock.toml resolves complexipy to 7.0.1. Update the rev to v7.0.1 (or pin the dependency to exactly 7.0.0) so pre-commit uses the same version as the validated environment. <!-- wuming:sha256:1601fe5bbdc2b7d36b521d40934fa081efb929a35e10af2f2c09f0cf7ed9f449 -->
marvin8 marked this conversation as resolved
Author
Collaborator

.pre-commit-config.yaml line 14

Pre-commit ruff hook is pinned to v0.16.2, but the regenerated lock files resolve ruff to 0.16.3

🔴 Pre-commit revs are pinned to the version chosen for pyproject.toml (the ~= minimum). Per the project AGENTS.md, uv sync resolving a newer patch within the ~= range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.

[`.pre-commit-config.yaml` line 14](https://forge.marvin8.zone/marvin8/kokopelli/pulls/22#issuecomment-1619) > Pre-commit ruff hook is pinned to v0.16.2, but the regenerated lock files resolve ruff to 0.16.3 🔴 Pre-commit revs are pinned to the version chosen for `pyproject.toml` (the `~=` minimum). Per the project AGENTS.md, `uv sync` resolving a newer patch within the `~=` range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.
Author
Collaborator

.pre-commit-config.yaml line 24

Pre-commit ty hook is pinned to v0.0.70, while the lock files resolve ty to 0.0.72

🔴 Pre-commit revs are pinned to the version chosen for pyproject.toml (the ~= minimum). Per the project AGENTS.md, uv sync resolving a newer patch within the ~= range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.

[`.pre-commit-config.yaml` line 24](https://forge.marvin8.zone/marvin8/kokopelli/pulls/22#issuecomment-1620) > Pre-commit ty hook is pinned to v0.0.70, while the lock files resolve ty to 0.0.72 🔴 Pre-commit revs are pinned to the version chosen for `pyproject.toml` (the `~=` minimum). Per the project AGENTS.md, `uv sync` resolving a newer patch within the `~=` range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.
Author
Collaborator

.pre-commit-config.yaml line 29

uv-pre-commit hook is pinned to 0.12.3, but the lock files resolve uv to 0.12.5

🔴 Pre-commit revs are pinned to the version chosen for pyproject.toml (the ~= minimum). Per the project AGENTS.md, uv sync resolving a newer patch within the ~= range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.

[`.pre-commit-config.yaml` line 29](https://forge.marvin8.zone/marvin8/kokopelli/pulls/22#issuecomment-1621) > uv-pre-commit hook is pinned to 0.12.3, but the lock files resolve uv to 0.12.5 🔴 Pre-commit revs are pinned to the version chosen for `pyproject.toml` (the `~=` minimum). Per the project AGENTS.md, `uv sync` resolving a newer patch within the `~=` range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.
Author
Collaborator

.pre-commit-config.yaml line 41

complexipy pre-commit hook is pinned to v7.0.0, but pylock.toml resolves complexipy to 7.0.1

🔴 Pre-commit revs are pinned to the version chosen for pyproject.toml (the ~= minimum). Per the project AGENTS.md, uv sync resolving a newer patch within the ~= range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.

[`.pre-commit-config.yaml` line 41](https://forge.marvin8.zone/marvin8/kokopelli/pulls/22#issuecomment-1622) > complexipy pre-commit hook is pinned to v7.0.0, but pylock.toml resolves complexipy to 7.0.1 🔴 Pre-commit revs are pinned to the version chosen for `pyproject.toml` (the `~=` minimum). Per the project AGENTS.md, `uv sync` resolving a newer patch within the `~=` range is fine — pre-commit runs in its own isolated environment, so the rev does not need to match the installed version exactly.
🚨 Fix ruff lint violations in tests
All checks were successful
/ gitleaks (pull_request) Successful in 19s
/ pytest-betas (pull_request) Successful in 1m11s
/ checks (pull_request) Successful in 2m45s
/ publish (pull_request) Has been skipped
/ deploy-docs (pull_request) Has been skipped
/ pr-review (pull_request) Successful in 4m22s
c40efaf15e
marvin8 approved these changes 2026-08-19 02:32:27 +00:00
marvin8 manually merged commit ac8c1f0abc into main 2026-08-19 02:32:56 +00:00
marvin8 deleted branch chore/stage2-migration 2026-08-19 02:33:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/kokopelli!22
No description provided.