Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tool: psycogreen requires python-setuptools (failed on Stretch) #96

Closed
ncharlot opened this issue Aug 7, 2018 · 3 comments
Closed

Comments

@ncharlot
Copy link
Contributor

ncharlot commented Aug 7, 2018

Hi,

I'm unable to install psycogreen on Stretch:

TASK [sebalix.odoo : Install Odoo dependencies (PyPi)] 
*****************************************************************************************
failed: [145.239.194.108] (item=psycogreen) => {"changed": false, "cmd": "/usr/bin/pip2 install psycogreen", "item": "psycogreen", "msg": "stdout: Collecting psycogreen\n  Downloading https://files.pythonhosted.org/packages/66/29/9250c6a11822f56a1c2f703e4031d173c5b3725095d3422c11cafcc5427f/psycogreen-1.0.tar.gz\n    Complete output from command python setup.py egg_info:\n    Traceback (most recent call last):\n      File \"<string>\", line 1, in <module>\n    ImportError: No module named setuptools\n    \n    ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-kxCSb9/psycogreen/\n"}

Adding python-setuptools to odoo_required_tools fixes the issue.
I could make a PR if ok.

@sebalix
Copy link
Collaborator

sebalix commented Aug 7, 2018

Ok I got it, we face a similar problem with pip install I think.
It works on Travis builds because setuptools is already installed to get Ansible working (e.g. https://travis-ci.org/OCA/ansible-odoo/jobs/413103816#L1710).
You're right, it should be fixed.

@ncharlot
Copy link
Contributor Author

ncharlot commented Aug 7, 2018

Ok. I update the PR.

@ncharlot
Copy link
Contributor Author

ncharlot commented Aug 8, 2018

Fix by PR #94

@ncharlot ncharlot closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants