Skip to content

Align supported Python versions with dependency and tooling compatibility #158

Description

@vndee

Context

pyproject.toml currently declares requires-python = ">=3.10,<4.0", but a local uv run pytest -q selected Python 3.14 and failed before tests ran while building tiktoken==0.9.0 due to missing Rust/wheel support. The same suite passes on Python 3.13.

Why this matters

The package advertises compatibility far beyond what the current dependency/tooling stack is known to support. Users on Python 3.14 can hit setup failures even though the project metadata says the interpreter is allowed.

Acceptance criteria

  • Decide whether Python 3.14 is supported now.
  • If not supported, cap requires-python appropriately and document the supported range.
  • If supported, add Python 3.14 to CI and update dependencies/tooling so the suite installs and passes.
  • Ensure local development setup uses a supported interpreter by default where possible.

Evidence

  • Python 3.13: 1069 passed, 2 skipped.
  • Python 3.14: dependency build failed while building tiktoken==0.9.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesPull requests that update a dependency filepythonPull requests that update python code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions