https://pantsbuild.org/ logo
#general
Title
# general
j

jolly-midnight-72759

10/02/2020, 5:57 PM
While trying to troubleshoot a test, I found that I could no longer use
repl
on our 3rdparty libraries:
Copy code
% ./pants --no-pantsd repl 3rdparty/python:zipp                                                                                                           cb/chartbeat (mybranch ⚡) beathound
Python 2.7.17 (default, Aug 19 2020, 23:21:01)
Type "copyright", "credits" or "license" for more information.

IPython 5.10.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import zipp
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-eb867d7051d0> in <module>()
----> 1 import zipp

ImportError: No module named zipp

In [2]:
This works on our main branch using 1.27. Did something change with how
pants
works with
python_requirement_library
target types? I am still upgrading our
pants.toml
file so it might be something there.