agusmdev / fastapi-ddd-cookiecutter

This project is a backend template for a FastAPI-based application that uses the repository pattern approach to provide an abstraction layer between the business logic and the data access layer. It aims to provide a scalable and maintainable architecture for building web applications.
MIT License
42 stars 5 forks source link

SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. #5

Closed leferrad closed 1 year ago

leferrad commented 1 year ago

When I run the boilerplate initialization, I get these warning logs:

/home/leferrad/.local/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/leferrad/.local/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/leferrad/.local/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(

Not sure if that's something that could be fixed in the code, or internally it's part of Poetry installation. Just submitting this issue to track this possible enhancement.

agusmdev commented 1 year ago

Mmmm I think this might be happening because of the version of Poetry, so I added to the README the minimum requirement of Poetry 1.3