Skip to content

chore(py): upgrade dotpromptz requirement to >=1.0.0,<2 - #110

Merged
huangjeff5 merged 1 commit into
mainfrom
chore/dotpromptz-1-0
Nov 12, 2026
Merged

huangjeff5 merged 1 commit into
mainfrom
chore/dotpromptz-1-0

Conversation

@huangjeff5

Copy link
Copy Markdown
Collaborator

Upgrades genkit to the stable dotpromptz 1.x release line (dotpromptz 1.0.0 and dotpromptz-handlebars 1.0.0).

# packages/genkit/pyproject.toml
# before
"dotpromptz>=0.2.0,<0.3.0"

# after
"dotpromptz>=1.0.0,<2"

Main Changes

  • Lock genkit to dotpromptz 1.x (>=1.0.0,<2): Previously, genkit pinned dotpromptz>=0.2.0,<0.3.0, blocking installs from resolving the stable 1.0.0 release. We moved the bound to >=1.0.0,<2 (dotpromptz itself bounds dotpromptz-handlebars>=1.0.0,<2) while keeping Python >=3.10 compatibility.
  • Drop unused transitive install dependencies: Previously, dotpromptz 0.2.0 pulled in pydantic[email] and type-stub packages at runtime. Upgrading to dotpromptz 1.0.0 (google/dotprompt#635) removes email-validator, dnspython, types-aiofiles, and types-pyyaml from genkit installs and uv.lock.
  • Preserve spaces between inline Handlebars tags: Picks up dotpromptz-handlebars 1.0.0 (google/dotprompt#637, google/dotprompt#638), fixing stripped whitespace between inline tags sharing a line (e.g. {{#each items}} {{this}}{{/each}}) and hiding private parsed-template AST classes.

Breaking changes

None.

@huangjeff5
huangjeff5 merged commit 3f68f3a into main Nov 12, 2026
20 checks passed
@huangjeff5
huangjeff5 deleted the chore/dotpromptz-1-0 branch November 12, 2026 02:34
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