Skip to content

chore(deps): bump testify, x/text, and x/crypto - #50

Merged
jonyoder merged 1 commit into
mainfrom
chore/consolidate-dep-bumps
Aug 28, 2026
Merged

jonyoder merged 1 commit into
mainfrom
chore/consolidate-dep-bumps

Conversation

@jonyoder

Copy link
Copy Markdown
Collaborator

Consolidates three open dependabot bumps into a single PR so the suite runs once against all three together rather than three times against each in isolation.

Bumps

Dependency From To
github.com/stretchr/testify 1.11.1 1.12.1
golang.org/x/text 0.40.0 0.41.0
golang.org/x/crypto 0.54.0 0.55.0

All three are minor/patch bumps with no documented breaking changes.

Supersedes #41, #38 and #37, which will be closed in favour of this PR.

Two go.mod changes that are not version numbers

gopkg.in/yaml.v3 is replaced by go.yaml.in/yaml/v3 v3.0.5. This comes from testify 1.12, which moved its YAML dependency to the new upstream home. go.sum therefore drops gopkg.in/yaml.v3 and its gopkg.in/check.v1 test dependency and gains the new module. Both are indirect and reached only through testify/assert.

pgregory.net/rapid v1.3.0 moves from the indirect to the direct require block. This is pre-existing tidy drift on main, not a consequence of these bumps: running go mod tidy with the three versions left alone makes the same move. CI does not run go mod tidy -diff, which is why it went unnoticed. The version is unchanged.

rapid is imported by internal/proptest test files, so direct is the correct classification. The require-block marker is metadata and does not affect the import graph, so the MPL-2.0 test-only invariant documented in internal/proptest/gen_test.go still holds. Verified with the two commands that doc comment cites:

  • go list -deps ./...rapid absent
  • go list -deps -test ./...rapid present

Verification

Run locally on darwin/arm64 against this commit. This module's fidelity to Python's packaging ecosystem rests on generated golden fixtures and the ported PEP 440/508 conformance suites, so a fully green suite is the real signal that x/text and x/crypto did not shift version or marker behaviour.

Command Result
gofmt -l . empty
go build ./... pass
go vet ./... pass
go test ./... pass, 13/13 packages ok, 0 failures
go test -race ./... pass, 13/13 packages ok, 0 failures

Every package that has tests reported ok; the remaining four report [no test files]. version took 11.9s without -race and 126.6s with it, both in the normal range. -race is included because CI runs it as a separate step.

No test was changed, skipped, or relaxed to accommodate a bump.

Changelog

No CHANGELOG.md entry. The two dependency bumps previously merged here (#11, and the x/crypto 0.53.0 to 0.54.0 bump) touched only go.mod and go.sum, so recording this one would break with the existing convention.

🤖 Generated with Claude Code

Consolidates three dependabot pull requests into one commit, superseding
#41, #38 and #37:

- github.com/stretchr/testify 1.11.1 -> 1.12.1
- golang.org/x/text 0.40.0 -> 0.41.0
- golang.org/x/crypto 0.54.0 -> 0.55.0

testify 1.12 replaces its gopkg.in/yaml.v3 dependency with
go.yaml.in/yaml/v3 v3.0.5, so go.sum drops gopkg.in/yaml.v3 and its
gopkg.in/check.v1 test dependency and gains the new module. Both are
indirect and reached only through testify's assert package.

go mod tidy also moves pgregory.net/rapid v1.3.0 from the indirect to the
direct require block. That is pre-existing drift on main rather than a
consequence of these bumps: tidy makes the same move with the three
versions left alone. rapid is imported by internal/proptest test files,
so direct is the correct classification, and the require-block marker is
metadata that does not affect the import graph. go list -deps ./... still
reports rapid absent and go list -deps -test ./... still reports it
present, so the MPL-2.0 test-only invariant documented in
internal/proptest/gen_test.go is preserved.

Verified with gofmt -l, go build ./..., go vet ./..., go test ./... and
go test -race ./..., all clean with every package reporting ok.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jonyoder
jonyoder merged commit 2a1fc87 into main Aug 28, 2026
4 checks passed
@jonyoder
jonyoder deleted the chore/consolidate-dep-bumps branch August 28, 2026 10:53
jonyoder added a commit that referenced this pull request Aug 28, 2026
Dates [Unreleased] as 0.9.0 (2026-08-28) and adds its compare link. CHANGELOG only.

A minor bump under the 0.x policy because two changes alter observable behaviour: reqtxt now recognizes --all-releases/--only-final/--use-feature (an unrecognized option was assumed boolean, so its argument became a fabricated requirement), and a standalone --hash line is accepted rather than rejected, matching pip.

Contents since v0.8.0: tags manylinux floor fix (#43), marker EvaluateUndecidable/Variables (#47), tags IsCompatibleOrNewer/CompileAnyLibc/Archs (#48), reqtxt Source and pip-parity fixes (#49), dependency bumps (#50).
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.

1 participant