microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 379 forks source link

Ensure Python compatibility back to 3.11 #161

Closed DanielRosenwasser closed 5 months ago

DanielRosenwasser commented 6 months ago

Currently, we assume compatibility with Python 3.12 only. This is likely too aggressive in the Python ecosystem, and we want people to be able to get started with no friction.

I would recommend we target Python 3.10, as that release has support for union types, type aliases, and parameter specifications (which could be useful in the future).

DanielRosenwasser commented 6 months ago

So... the latest version of 3.10 does not have an installer - so I am inclined to now say 3.11 might be a good starting point.

DanielRosenwasser commented 5 months ago

Fixed by #170