We first built with setuptools and used requirements.txt to keep dependicies. Then we added Github actions and then followed some recommendation to use pyproject.toml as the future method of consistent builds.
Describe the solution you'd like
Use poetry https://python-poetry.org/docs/basic-usage/ and Github actions for consistent testing, build, doc build, PyPi and ReadTheDocs uploads.