Skip to content

Fix module path: cavalle -> invopop#2

Merged
cavalle merged 1 commit into
mainfrom
fix-module-path
Jun 1, 2026
Merged

Fix module path: cavalle -> invopop#2
cavalle merged 1 commit into
mainfrom
fix-module-path

Conversation

@pmenendz
Copy link
Copy Markdown
Contributor

@pmenendz pmenendz commented Jun 1, 2026

Problem

go install github.com/invopop/tsk@latest fails with:

module declares its path as: github.com/cavalle/tsk
        but was required as: github.com/invopop/tsk

The go.mod still declared the module as github.com/cavalle/tsk (a leftover from the repo's origin), but the module now lives at github.com/invopop/tsk. Go enforces that the declared module path matches the path it's fetched from, so any go install/go get against the invopop path is rejected.

Fix

Re-path the module declaration in go.mod to github.com/invopop/tsk.

This is a one-line change. The module is a single flat package main with no internal cross-package imports, so nothing else referenced the old path (the README already documents the correct invopop path).

Verification

  • go build ./...
  • go test ./...
  • After merge, go install github.com/invopop/tsk@latest will resolve cleanly against a fresh pseudo-version.

🤖 Generated with Claude Code

The go.mod declared the module as github.com/cavalle/tsk (a leftover from
the original repo), but the module lives at github.com/invopop/tsk. This
mismatch made `go install github.com/invopop/tsk@latest` fail with a
"module declares its path as" error. Re-path the module to match its
canonical location.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pmenendz pmenendz requested a review from cavalle June 1, 2026 10:29
@cavalle cavalle merged commit eb2cf25 into main Jun 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants