Skip to content

fix: require Python 3.10 - #113

Open
andrewmadson-pplx wants to merge 1 commit into
perplexityai:mainfrom
andrewmadson-pplx:psi/require-python-3-10
Open

fix: require Python 3.10#113
andrewmadson-pplx wants to merge 1 commit into
perplexityai:mainfrom
andrewmadson-pplx:psi/require-python-3-10

Conversation

@andrewmadson-pplx

Copy link
Copy Markdown

perplexityai 0.43.2 and later import types.UnionType, which is only available on Python 3.10+, while the package metadata still advertises Python 3.9 support. Python 3.9 installers can therefore select a release that fails during import.

Summary

  • require Python 3.10 in both the published wheel metadata and pyproject.toml
  • remove the Python 3.9 classifier and update the README requirements
  • refresh uv.lock to drop Python 3.9-only resolution branches

This prevents future releases from being installed on an unsupported interpreter. Runtime behavior is unchanged for Python 3.10 and later.

@andrewmadson-pplx
andrewmadson-pplx marked this pull request as ready for review August 24, 2026 17:06
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