NYCPlanning / db-cpdb

Capital Projects Database
https://nycplanning.github.io/db-cpdb
0 stars 0 forks source link

Implement poetry #112

Closed SashaWeinstein closed 2 years ago

SashaWeinstein commented 2 years ago

Switch from requirements.txt to poetry

This data product was using requirements.txt to manage python packages, simple upgrade to bring it in line with our other data products.

The only unexpected thing I saw making this change was that poetry install automatically opened up a virtual environment and installed packages in there. The poetry config virtualenvs.create false line has it install the packages directly in the runner