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

Incompatible six versions in adapt-parser and jsonschema #1968

Closed
dhylands opened this issue Jun 25, 2019 · 3 comments
Closed

Incompatible six versions in adapt-parser and jsonschema #1968

dhylands opened this issue Jun 25, 2019 · 3 comments
Assignees
Milestone

Comments

@dhylands
Copy link
Contributor

While executing prepare-base.sh on the new buster image, in particular, thses lines:

_url="git+https://github.com/mycroftai/adapt#egg=adapt-parser"
sudo pip3 install "$_url"

I saw this error message:

jsonschema 3.0.1 has requirement six>=1.11.0, but you'll have six 1.10.0 which is incompatible.

For reference, a larger snippet of the log is this:

Installing collected packages: pyrsistent, attrs, jsonschema, pycparser, cffi, nnpy, gateway-addon
Successfully installed attrs-19.1.0 cffi-1.12.3 gateway-addon-0.8.0 jsonschema-3.0.1 nnpy-1.4.2 pycparser-2.19 pyrsistent-0.15.2
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting adapt-parser from git+https://github.com/mycroftai/adapt#egg=adapt-parser
  Cloning https://github.com/mycroftai/adapt to /tmp/pip-install-pxad4ogf/adapt-parser
Collecting pyee==5.0.0 (from adapt-parser)
  Downloading https://files.pythonhosted.org/packages/8e/06/10c18578e2d8b9cf9902f424f86d433c647ca55e82293100f53e6c0afab4/pyee-5.0.0-py2.py3-none-any.whl
Collecting six==1.10.0 (from adapt-parser)
  Downloading https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Building wheels for collected packages: adapt-parser
  Running setup.py bdist_wheel for adapt-parser ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-j2r9e_fx/wheels/47/55/ff/7c3315a0a361f164aa74691ceb8cad9b070e886198c06b3ecd
Successfully built adapt-parser
jsonschema 3.0.1 has requirement six>=1.11.0, but you'll have six 1.10.0 which is incompatible.
Installing collected packages: pyee, six, adapt-parser
  Found existing installation: six 1.12.0
    Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr
    Can't uninstall 'six'. No files were found to uninstall.
Successfully installed adapt-parser-0.3.3 pyee-5.0.0 six-1.10.0
Cloning into '/home/pi/mozilla-iot/intent-parser'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 34 (delta 0), reused 0 (delta 0), pack-reused 33
Unpacking objects: 100% (34/34), done.
@dhylands
Copy link
Contributor Author

Although looking at the filesystem, it appears to have installed six-1.12.0

pi@gateway:/usr/lib$ find . -name '*six-*'
./python3/dist-packages/six-1.12.0.egg-info
./python2.7/dist-packages/six-1.12.0.egg-info

so this may just be a red herring.

@mrstegeman
Copy link
Contributor

I've opened a PR upstream: MycroftAI/adapt#95

@mrstegeman mrstegeman changed the title Need updated version of six? Incompatible six versions in adapt-parser and jsonschema Jun 26, 2019
@mrstegeman mrstegeman added this to Inbox in WebThings Gateway via automation Jun 26, 2019
@mrstegeman
Copy link
Contributor

PR was merged. This should be good now.

WebThings Gateway automation moved this from Inbox to Done Jun 27, 2019
@mrstegeman mrstegeman self-assigned this Jun 27, 2019
@mrstegeman mrstegeman added this to the 0.9 milestone Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants