Repository navigation
build(py): bound intra-repo genkit version ranges across plugins and extras - #7029
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request prepares for the retirement of the genkit-evaluators package in Genkit 1.0. It updates the bump_version script to support updating the floor of capped intra-repo dependency ranges (e.g., genkit>=X.Y.Z,<1), adds a consistency check for these capped floors in check_consistency.py, and updates the genkit-evaluators package's metadata and documentation to reflect its deprecation and upper-bound constraint. Additionally, a release playbook section is added to guide the process of yanking older, uncapped versions of the package from PyPI. No review comments were provided, so there is no feedback to address.
…extras Bounds every intra-repo genkit plugin and optional extra to >=current,<2 (<1 for genkit-evaluators ahead of its 1.0 retirement), adds the genkit[vertexai] extra alias, bounds openai>=1.60.0,<3 in genkit-openai, adds missing PEP 561 py.typed markers and Typing :: Typed classifiers, and enforces version bounds and py.typed markers in bump_version and check_consistency.py.
huangjeff5
force-pushed
the
build/py-evaluators-genkit-lt1
branch
from
November 3, 2026 07:53
6e6f8b7 to
6f4fd0a
Compare
huangjeff5
marked this pull request as draft
November 3, 2026 16:08
huangjeff5
marked this pull request as ready for review
November 3, 2026 16:13
pavelgj
approved these changes
Nov 3, 2026
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.
Bounds intra-repo
genkitdependencies across plugins andgenkit[...]extras sopipanduvnever pair mismatched SDK releases across0.13.0and1.0.0.Main Changes
genkit[...]extras to the release floor: Previously, plugins declared bare"genkit"and extras declared bare"genkit-*", sopip install -U "genkit[openai]"could upgradegenkitto1.0while leaving an incompatible0.12plugin installed. Every surviving plugin and extra now declares>=0.12.0,<2(rolled automatically bypy/bin/bump_version), plusgenkit[vertexai]alongsidegenkit[vertex-ai]andopenai>=1.60.0,<3.genkit-evaluatorsat<1ahead of feat(py)!: remove evaluators from 1.0 #6947:genkit1.0 removes evaluators, sogenkit-evaluatorscaps atgenkit>=0.12.0,<1(>=0.13.0,<1on the0.13.0cut). Once0.13.0is live on PyPI, yanking0.9.0–0.12.0(py/docs/release_playbook.md) stopspipfrom backtracking to older uncapped wheels.py.typedacross all 16 packages:genkit-otelandgenkit-a2uimissed PEP 561py.typedmarkers, causing downstreampyrightandmypyusers to treat their exports asAny. Both packages now shippy.typed, enforced acrosspy/packages/*bycheck_consistency.py.