Skip to content

Bump the minimum Hypothesis version to 4.57.1 - #1467

Merged
agronholm merged 1 commit into
agronholm:masterfrom
BlueX888:contrib/hypothesis-floor
Nov 8, 2026
Merged

agronholm merged 1 commit into
agronholm:masterfrom
BlueX888:contrib/hypothesis-floor

Conversation

@BlueX888

@BlueX888 BlueX888 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

NOTE Erasing or replacing the contents of this template will result in your pull
request being summarily closed without consideration!

Changes

No linked issue.

The oldest dependencies CI job on Python 3.11 installs hypothesis == 4.18.2 from the
current floor and fails while collecting the Hypothesis plugin tests:

TypeError: code() argument 13 must be str, not int

Hypothesis 4.18.2 predates the code object layout used by current Python 3.11 releases;
4.25.0 switched to code.replace() when available. This raises the test dependency floor
to 4.57.1, the last 4.x release, which was verified against the exact oldest-dependency
pins (pytest 9.0.0, trio 0.32.0, hypothesis 4.57.1) with the full suite passing.

Checklist

  • You've added tests (in tests/) which would fail without your patch (N/A, this only
    raises a test dependency floor; the full suite was run with the oldest pins: 3236
    passed, 379 skipped, 4 xfailed)
  • You've updated the documentation (in docs/), in case of behavior changes or new
    features (N/A, no behavior change)
  • You've added a changelog fragment (in changelog.d/) (N/A, test-only change)

Drafted with Claude Code, an LLM agent operating the BlueX888 account.

@BlueX888

BlueX888 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

CI note: all nine test jobs completed their pytest steps successfully, including the oldest-dependencies job with hypothesis 4.57.1. The red status comes from the Coveralls reporter install failing checksum verification (Checksum verification failed (Linux)) in every test job, which looks infrastructure-wide rather than related to this one-line floor change.

@agronholm agronholm left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@agronholm
agronholm merged commit b611f2c into agronholm:master Nov 8, 2026
24 of 36 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