hey guys, a little question about the latest pants...
# pex
r
hey guys, a little question about the latest pants version (1.24.0.dev2), with pex=2.0.3, I'm trying to install a git package which needs another two packages to be installed before building it, and for that I've instinctively done in the third-party BUILD file:
Copy code
python_requirement_library(
  name='pycocotools',
  dependencies=[
    "packages-python/third_party:Cython",
    "packages-python/third_party:numpy"
  ],
  requirements=[
    python_requirement(name='pycocotools',
                       requirement='pycocotools@git+<https://github.com/cocodataset/cocoapi.git@f67e873971bcf289c994e061c5bc359d0bbe8ff7#subdirectory=PythonAPI'>),
  ])
but pip still tries to install all modules at the same time:
Copy code
ERROR: pid: 94702 -> /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -s -m pip --disable-pip-version-check --isolated --exists-action i -q --cache-dir /Users/XXX/.pants.d/python-setup/resolved_requirements download --dest /var/folders/n6/cx4l_npd6s39czmkmyk2p3tc0000gn/T/tmpvp9nqvlx/resolved_dists/cp-37-cp37m --index-url <https://pypi.org/simple/> Cython==0.29.14 numpy==1.17.3 pycocotools@ git+<https://github.com/cocodataset/cocoapi.git@f67e873971bcf289c994e061c5bc359d0bbe8ff7#subdirectory=PythonAPI> raised Executing /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -s -m pip --disable-pip-version-check --isolated --exists-action i -q --cache-dir /Users/XXX/.pants.d/python-setup/resolved_requirements download --dest /var/folders/n6/cx4l_npd6s39czmkmyk2p3tc0000gn/T/tmpvp9nqvlx/resolved_dists/cp-37-cp37m --index-url <https://pypi.org/simple/> Cython==0.29.14 numpy==1.17.3 pycocotools@ git+<https://github.com/cocodataset/cocoapi.git@f67e873971bcf289c994e061c5bc359d0bbe8ff7#subdirectory=PythonAPI> failed with 1
The full traceback of the error: