Open bajacondor opened 6 years ago
Can you add the following to your par_binary() rule and try again?
par_binary(
...
zip_safe = False,
...
)
Not OP but that gives me:
no such attribute 'zip_safe' in 'py_binary' rule
it looks like subpar is incorrectly trying to pass the zip_safe
flag along to py_binary
?
edit: Nevermind, I needed to go from 1.0.0 -> 1.3.0. This seems to fix it for me.
I've made a
par_binary()
called batch-check that has psycopg2 as a dependency. The par bundle seems to be alright but the main import cannot work out the dependencies of psycopg. This is the error I get:I can see
pypi__psycopg2_2_7_4/psycopg2/_psycopg.so
inside the par file, but it appears to be a.so
shared library file. I've attached the par file as a zip here because the par file extension is not allowed on github.Thank you for your help.
kpi-check.zip