Update Dependencies Jun 19 (auto) - #572
Merged
Merged
Conversation
Refresh the uv lock file and environment to the latest dependency versions (including valimp 0.6, pytest 9.1.0, hypothesis 6.155, and updated pandas-stubs) and sync requirements.txt. Bump CI/tooling pins: - actions/checkout v6 -> v7 - astral-sh/setup-uv v8.1.0 -> v8.2.0 - ruff-pre-commit v0.15.15 -> v0.15.18 Support pytest 9.1.0 by converting class-scoped fixtures defined as instance methods to classmethods. pytest 9.1 deprecates class-scoped instance-method fixtures (PytestRemovedIn10Warning); using classmethods preserves behaviour for these yield-only fixtures and clears the warning. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019yUFWF1ZQxs7eHcUYC99sk
These class-scoped fixtures do not reference cls in their bodies, so @staticmethod is a more accurate fit than @classmethod and lets the unused cls parameter be dropped. Both decorators equally clear the pytest 9.1 PytestRemovedIn10Warning for class-scoped instance-method fixtures (a staticmethod has no __self__ for pytest's check to flag). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019yUFWF1ZQxs7eHcUYC99sk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Routine dependency update via the
dependencies-managementskill.Dependencies
uvto 0.11.22 and refresheduv.lockwithuv lock --upgrade.requirements.txt.valimp0.5 → 0.6 (backward compatible),pytest9.0.3 → 9.1.0,hypothesis6.153 → 6.155.3,pandas-stubs→ 3.0.3.260530, plus assorted transitive updates.CI / tooling pins
actions/checkoutv6 → v7astral-sh/setup-uvv8.1.0 → v8.2.0ruff-pre-commitv0.15.15 → v0.15.18actions/setup-pythonv6,pre-commit/actionv3.0.1,release-drafterv7 andpre-commit-hooksv6.0.0 already at the latest for their pinning style.)Code revisions to support latest versions
pytest 9.1.0 deprecates class-scoped fixtures defined as instance methods (
PytestRemovedIn10Warning). Converted all such fixtures across the test suite (52 fixtures) to staticmethods (@staticmethod). These are yield-only fixtures, so the conversion is behaviour-preserving and clears all 58 instances of the warning.🤖 Generated with Claude Code
https://claude.ai/code/session_019yUFWF1ZQxs7eHcUYC99sk
Generated by Claude Code