redis / redis-py

Redis Python client
MIT License
12.4k stars 2.48k forks source link

[WIP] Use Poetry as the dependency manager of this library #3257

Open bitterteriyaki opened 1 month ago

bitterteriyaki commented 1 month ago

Pull Request check-list

Description of change

Use Poetry as the package manager of this library.

Checklist

bitterteriyaki commented 1 month ago

Is this a good time to upgrade the outdated dependencies (including dev deps)?

bitterteriyaki commented 1 month ago

I took a little liberty to add some improvements to the workflow. If you don't like it or want any changes, don't hesitate to leave feedback. :smile:

I did not tested this workflow yet, it can be broken.

bitterteriyaki commented 1 month ago

I'm getting some conflicts from the docs/requirements.txt dependencies. The ipython library needs Python 3.10+ but this project has support to Python 3.8. I'll wait any maintainer to answer how to proceed in this situation.

akx commented 3 weeks ago

I wouldn't use Poetry for library packaging – it might be OK for applications, but I don't think it's the best fit for libraries.

Please also see #1658 for previous discussion.