freezing-photographer-88553
02/14/2022, 3:27 PMpants testsenough-analyst-54434
02/14/2022, 3:32 PMenough-analyst-54434
02/14/2022, 3:32 PMenough-analyst-54434
02/14/2022, 3:33 PMhundreds-father-404
02/14/2022, 3:39 PM$PATHenough-analyst-54434
02/14/2022, 3:41 PMconda installpip installhundreds-father-404
02/14/2022, 3:44 PMenough-analyst-54434
02/14/2022, 3:47 PMenough-analyst-54434
02/14/2022, 3:52 PMLD_LIBRARY_PATHfreezing-photographer-88553
02/14/2022, 4:05 PM./anaconda3/envs/PantsBuild/lib/libspatialindex_c.dylibfreezing-photographer-88553
02/14/2022, 4:13 PMgeopandaslibspatialindexapt-get install gdal libspatialindex rtree ...
pip install geopandasconda install geopandas rtree -c conda-forgefreezing-photographer-88553
02/14/2022, 4:15 PMenough-analyst-54434
02/14/2022, 4:29 PMfreezing-photographer-88553
02/14/2022, 4:32 PMfreezing-photographer-88553
02/14/2022, 4:33 PMfreezing-photographer-88553
02/14/2022, 4:52 PMhundreds-father-404
02/14/2022, 4:57 PMIs it possible to add a command to the script that runs the test ?We do have a plugin hook to set up tests before Pytest executes, like starting databases. But I'm not sure that would help: 1) It wouldn't help with other goals like
packagerunOption 1: apt-get install gdal libspatialindex rtree ...@enough-analyst-54434 any reason you think this would not work here? That's how users normally get native things like databases to build: make sure you have the correct non-Python deps installed and exposed to Pants FYI @freezing-photographer-88553, when Pex installs something, it is using pip. So if you can get
pip installenough-analyst-54434
02/14/2022, 4:57 PMenough-analyst-54434
02/14/2022, 4:58 PMenough-analyst-54434
02/14/2022, 4:59 PMLD_LIBRARY_PATHhundreds-father-404
02/14/2022, 5:00 PMapt-getenough-analyst-54434
02/14/2022, 5:00 PMfreezing-photographer-88553
02/14/2022, 5:01 PMfreezing-photographer-88553
02/14/2022, 5:01 PMenough-analyst-54434
02/14/2022, 5:01 PMfreezing-photographer-88553
02/14/2022, 5:02 PMenough-analyst-54434
02/14/2022, 5:02 PMfreezing-photographer-88553
02/14/2022, 5:02 PMfreezing-photographer-88553
02/14/2022, 5:02 PMenough-analyst-54434
02/14/2022, 5:02 PMfreezing-photographer-88553
02/14/2022, 5:03 PMfreezing-photographer-88553
02/14/2022, 5:03 PMenough-analyst-54434
02/14/2022, 5:03 PMfreezing-photographer-88553
02/14/2022, 5:05 PMenough-analyst-54434
02/14/2022, 5:05 PMfreezing-photographer-88553
02/14/2022, 5:05 PMfreezing-photographer-88553
02/14/2022, 5:06 PMenough-analyst-54434
02/14/2022, 5:07 PMhappy-kitchen-89482
02/14/2022, 5:18 PMbusy-vase-39202
02/14/2022, 5:28 PM