#411·aisuite

Python 3.14 incompatibility caused by published aisuite 0.1.14 dependency constraint

Author: eskazemiCreated Sep 7, 2026Updated Sep 7, 2026

Description

Using aisuite==0.1.14 with Python 3.14 fails during import because the installed package requires:

docstring-parser>=0.15.0,<0.16.0

docstring-parser==0.15.xreferencesast.NameConstant`, which was removed in Python 3.14.

Reproduction

Environment

Python 3.14.x aisuite==0.1.14 docstring-parser==0.15.x

Code

python
import aisuite as ai

Error

AttributeError: module 'ast' has no attribute 'NameConstant'

Upgrading docstring-parser to 0.18.0 results in a dependency conflict:

aisuite 0.1.14 requires docstring-parser<0.16.0,>=0.15.0, but you have docstring-parser 0.18.0 which is incompatible.

Expected Behavior

aisuite should either:

  1. Support Python 3.14 by requiring a compatible version of docstring-parser.
  2. Explicitly exclude Python 3.14 until support is available.

Current Repository State

The current main branch contains:

toml
docstring-parser = { version = ">=0.16,<1.0" }

However, the installed aisuite==0.1.14 package metadata requires:

docstring-parser>=0.15.0,<0.16.0

This suggests that the dependency change in main may not yet be included in the published release.

Additionally, the constraint on main still permits version 0.16, so it does not enforce the minimum version containing the AST compatibility fix.

Suggested Change

Please raise the minimum docstring-parser version and publish a release containing the updated constraint. For example:

toml
docstring-parser = { version = ">=0.17,<1.0" }

docstring-parser0.17 removed the use of deprecated AST classes. Alternatively, a minimum version of0.18` could be considered, as that release explicitly adds official Python 3.14 support.

It would also be helpful to add Python 3.14 to the CI test matrix to verify compatibility. `