Skip to content

release: 2.19.22#3036

Merged
talsperre merged 2 commits intomasterfrom
release/2.19.22
Mar 19, 2026
Merged

release: 2.19.22#3036
talsperre merged 2 commits intomasterfrom
release/2.19.22

Conversation

@talsperre
Copy link
Copy Markdown
Collaborator

Summary

  • Bump metaflow version to 2.19.22

Test plan

  • Verify version string is correct in metaflow/version.py
  • CI passes

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented Mar 18, 2026

Greptile Summary

This PR bumps the Metaflow version from 2.19.21 to 2.19.22 and improves the stub-testing CI workflow to accommodate a breaking change in pytest-mypy-plugins v4, which dropped support for Python < 3.10.

  • metaflow/version.py: Patch version incremented to 2.19.22.
  • .github/workflows/test-stubs.yml: Conditional installation of pytest-mypy-plugins>=4 for Python 3.10+ and pytest-mypy-plugins<4 for older Python versions. The --mypy-only-local-stub pytest flag is now also conditionally applied only for Python < 3.10, aligning with the capabilities of the respective plugin versions.

Confidence Score: 5/5

  • This PR is safe to merge — it is a straightforward patch release bump with a targeted CI compatibility fix.
  • Both changes are minimal and well-scoped: the version bump is a single-line string change, and the workflow update correctly handles the pytest-mypy-plugins v4 API split using proper shell conditionals. No logic errors, security concerns, or regressions were identified.
  • No files require special attention.

Important Files Changed

Filename Overview
metaflow/version.py Simple patch version bump from 2.19.21 to 2.19.22 — no issues found.
.github/workflows/test-stubs.yml Adds conditional logic to install pytest-mypy-plugins>=4 for Python 3.10+ and <4 for older versions, and conditionally applies --mypy-only-local-stub only for Python < 3.10. Logic and syntax are correct.

Last reviewed commit: "fix: handle pytest-m..."

… flag

pytest-mypy-plugins 4.0.0 (Python >=3.10 only) removed the
--mypy-only-local-stub flag, making it the default behavior. Use the
new plugin version for Python 3.10+ and the old version for earlier
Pythons, conditionalizing both the install and the test command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@talsperre talsperre merged commit 3dbb351 into master Mar 19, 2026
33 of 34 checks passed
@talsperre talsperre deleted the release/2.19.22 branch March 19, 2026 20:40
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