Hi all, we’re trying to use the option `[python].r...
# general
q
Hi all, we’re trying to use the option
[python].resolves_to_no_binary
as explained here. we put in our pants.toml the following:
Copy code
resolves_to_no_binary = {__default__=["cairocffi"]}
which should do the same as the
--no-binary
option of pip, that let us to install this dependency without errors. Unfortunately we are not able to replicate the behaviour with pants, do you have any idea why?
e
Presumably it's not just a typo (should be
resolves_to_only_binary
), in which case can you run with
-ldebug
and provide full logs? Presumably the 1st thing to run is
generate-lockfiles
which should generate a lockfile with no source distributions for
cairocffi
mentioned. The second step would be to re-run whatever was failing after that.
q
ok we’ll try asap, thanks
@enough-analyst-54434 it worked!! thanks again
e
Great. What worked exactly? Was it the typo or was it running generate-lockfiles? What were the missing pieces?
q
I put this
resolves_to_only_binary
instead of
resolves_to_no_binary
, which seemed strange given what solved the problem with pip was the
--no-binary
option 😅
e
Aha. Now I'm confused. We support both. Your
here
link above pointed to only but your words said no; so I thought you were typoed. I'm gald things are working, but that feels shaky to me.
q
ah I sent the wrong link then
sorry 😅