stanfordnlp / dspy

DSPy: The framework for programming—not prompting—foundation models
https://dspy-docs.vercel.app/
MIT License
17.44k stars 1.33k forks source link

[Request] Support for Python3.8 #802

Open kalpit-konverge opened 5 months ago

kalpit-konverge commented 5 months ago

Hi,

Can DSPy support Python3.8? It currently supports >=3.9 according to the documentation.

arnavsinghvi11 commented 5 months ago

Hi @kalpit-konverge , do you have a specific use-case? We used to support 3.8 but have since upgraded to 3.9. We can lower it if needed but will require some updates to pypi.

federicocagnola commented 4 months ago

@arnavsinghvi11 i'd also be interested in python3.8 support, Ubuntu20.04 LTS comes bundled with this python version and it is found in many production setups

av commented 4 months ago

One specific example where I've experienced a desire to run DSPy with 3.8 was when using official transformers-pytorch-gpu docker images that are still shipped with 3.8 (in a context of reproducible setup for local dev).