eyurtsev / kor

LLM(😽)
https://eyurtsev.github.io/kor/
MIT License
1.6k stars 88 forks source link

Migrate to Rye for dependency management #307

Open Sachin-Bhat opened 1 month ago

Sachin-Bhat commented 1 month ago

Hey @eyurtsev,

I was wondering if you would consider migrating from poetry to rye for dependency management. Rye seems to be much more lightweight and a lot easier to configure. I found some issues while working with the current poetry config. I was not able to get a few packages to install and had to manually increase the python version and play with the package versions to get it to install. I feel that the dependency resolution of poetry seems quite wishy-washy to me.

Rye on the other hand could handle this using rye pin <python-version>. Do let me know if migrating is something that you are interested in. I can send a PR.

eyurtsev commented 1 month ago

I don't have much time to investigate at the moment. I'd need to be used to also update the workflows on CI + for publishing to pypi

Sachin-Bhat commented 1 month ago

I completely understand. Whenever you have time you can visit the following documentation. https://rye.astral.sh/guide/publish/#publish

The advantage with this is that it has builtin support for linting, formatting, testing and more out of the box. This could potentially replace both poethepoet and poetry.

Sachin-Bhat commented 1 month ago

I have some experience with using it. If it interests you I can always send a PR.