#342·aisuite

Requesting New PyPI Release: Pydantic Not Listed as Dependency on PyPI

Author: matthewkelley22Created Jun 24, 2026Updated Jun 29, 2026

Issue

Currently Pydantic is not listed as a dependency on the PyPI release of aisuite. If you look at the Surfactant PyPI Dependency Analyzer for aisuite and go to the graph view, the only things directly imported are docstring-parser and httpx. You can see the issue by running the following commands, it should give an ImportError saying that pydantic is required.

bash
mkdir test
cd test
python3 -m venv venv
source venv/bin/activate
pip install aisuite
python -c "import aisuite; print('This worked')"

For reference, I am using an Ubuntu 24.04 WSL VM running Python 3.12.3.

Solution

The current version on main works just fine so pushing a new release to PyPI should fix things. The below commands should illustrate the difference.

bash
mkdir test
cd test
python3 -m venv venv
source venv/bin/activate
pip install git+https://github.com/andrewyng/aisuite
python -c "import aisuite; print('This worked')"