rapid-apartment-37923
01/16/2018, 10:39 PMflask will depend on werkzeug and a few more. If I want to ensure that I have a consistent dependency set, do I really have to list them all everytime I want to use flask (e.g. as '3rdparty/python:flask', '3rdparty/python:werkzeug', …)? This gets even more interesting with packages like pandas that only work with certain binary compatible numpy versions.
This sounds brittle to maintain in a larger codebase with regularly changing requirements. Am I missing a trick or concept here?rapid-apartment-37923
01/16/2018, 10:44 PMrequirement.txt files for our apps. This kind of worked nicely as I would only need to depend on flask but the transitive dependencies would be pulled in automatically in a somewhat deterministic fashion.happy-kitchen-89482
01/16/2018, 11:18 PMrequirements.txt get checked in to your repo? Because Pants can use thathappy-kitchen-89482
01/16/2018, 11:18 PMpython_requirements()happy-kitchen-89482
01/16/2018, 11:18 PMhappy-kitchen-89482
01/16/2018, 11:19 PMhappy-kitchen-89482
01/16/2018, 11:19 PM3rdparty/python then 3rdparty/python:flask, 3rdparty/python:werkzeug, etc.happy-kitchen-89482
01/16/2018, 11:20 PMrapid-apartment-37923
01/17/2018, 6:24 AMrapid-apartment-37923
01/17/2018, 6:26 AMrapid-apartment-37923
01/17/2018, 6:27 AMhappy-kitchen-89482
01/17/2018, 5:39 PMhappy-kitchen-89482
01/17/2018, 5:40 PM