google / google/dotprompt

Upgrade Python codebase to use Python 3.12+ type syntax

Open
#497 0 comments 0 reactions 0 assignees View on GitHub
enhancement python
Dominant language
Starlark
Stars
563
Forks
68
Avg merge
6m
Merged PRs (30d)
2

Description

## Summary

The Python codebase has compatibility code for Python 3.10/3.11 that can be simplified once Python 3.12+ is the minimum supported version.

## Location

- `python/dotpromptz/src/dotpromptz/resolvers.py:62`: `# TODO: Python 3.12+:`

## Acceptance Criteria

- [ ] Track Python 3.12 becoming minimum version
- [ ] Update type syntax to use Python 3.12+ features
- [ ] Remove compatibility shims

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.