Closed xiote closed 4 years ago
It looks like it might be a compatibility issue with the underlying python implementation, but it's also just in one of the dependencies, pyzmq, not in ducktape itself. See, e.g., https://github.com/zeromq/pyzmq/issues/1112. You might try building against 18.1.1 or 19.0.0 -- not sure if they'll work, but worth a try.
@xiote as @ewencp mentioned this is an issue with pyzmq not being able to build using python 3.7
My recommendation is to use pyenv to switch to 3.6 and install:
brew install pyenv
# enable pyenv (should be added to your profile or zshrc)
eval "$(pyenv init -)"
pyenv install 3.6.9
pyenv local 3.6.9
python --version # should output Python 3.6.9
pip install ducktape
I think the best we can do here is try to continue upgrading dependencies and hope build issues get resolved. This might be something else to try as well -- you can try checking out whatever release tag you're trying to use, update the dependency (looks like 19.0.1 is the most recent version and it looks like it builds and passes tests), and use that. I'll look at updating dependencies, but that will only address newer versions and won't show up until a new release, so this can be a workaround in the meantime.
I've filed https://github.com/confluentinc/ducktape/pull/237 to update dependencies. I'm going to close this since that's all we can really do afaict, but feel free to reopen if the updates or workaround I mentioned above don't work and require further investigation.