stanfordnlp / dspy

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

pyproject.toml / setup.py / requirements.txt disagreement #1234

Open ethanniser opened 2 months ago

ethanniser commented 2 months ago

I'm trying to use dspy as a nix package nixos/nixpkgs#323924 but running into issues

I received assistance from a nix contributor who had some concerns with the dspy project config files:

Where is poetry? Wait… What is that? Which of these is canonical? Please ask upstream to fix their pyproject.toml As far as I can tell, those lists do not even agree…

Why do they mention poetry in the README, if the pyproject.toml states that setuptools was used? Why do they specify dependencies in setup.py (and a variety of requirements.txts) and in the project.dependencies list and in the tool.poetry.dependencies list? Why do those lists even disagree?

I'm personally not that familiar with the python ecosystem so I don't really know what the actual issue is but hopefully this can help in some way

okhat commented 1 month ago

Hey, thanks @ethanniser for opening this. Yes, we have some cleanup to do on poetry.