Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatizar a geração do requirements.txt #15

Open
1 task
lgfa29 opened this issue May 6, 2022 · 0 comments
Open
1 task

Automatizar a geração do requirements.txt #15

lgfa29 opened this issue May 6, 2022 · 0 comments

Comments

@lgfa29
Copy link
Member

lgfa29 commented May 6, 2022

Dependencias

Feature Request

Após a migração para o Poetry, decidimos manter o arquivo requirements.txt para facilitar o fluxo de pessoas novas aos projetos, uma vez que não é necessário instalar mais ferramentas.

Idealmente o arquivo requirements.txt deve ser atualizado automaticamente toda vez que o poetry.lock for alterado a fim de evitar que o requirements.txt fique defasado.

O Poetry é capaz de gerar o conteúdo novo usando o comando poetry export:

$ poetry export > requirements.txt

DoD

  • Ao atualizar o poetry.lock a pipeline de CI/CD irá automaticamente atualizar o requirements.txt e comitar a mudança.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant