Bug #9611

Updated by Nico C├ęsar almost 5 years ago

this is an installation in debian wheezy:
apt-get install python-arvados-cwl-runner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python-cwltool python-rdflib python-rdflib-jsonld python-schema-salad python-sparqlwrapper
The following NEW packages will be installed:
python-arvados-cwl-runner python-cwltool python-rdflib python-rdflib-jsonld python-schema-salad python-sparqlwrapper
0 upgraded, 6 newly installed, 0 to remove and 79 not upgraded.
Need to get 0 B/1,066 kB of archives.
After this operation, 3,900 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously unselected package python-rdflib.
(Reading database ... 80692 files and directories currently installed.)
Unpacking python-rdflib (from .../python-rdflib_4.2.1-2_all.deb) ...
Selecting previously unselected package python-sparqlwrapper.
Unpacking python-sparqlwrapper (from .../python-sparqlwrapper_1.4.1-1_all.deb) ...
Selecting previously unselected package python-rdflib-jsonld.
Unpacking python-rdflib-jsonld (from .../python-rdflib-jsonld_0.3.0-2_all.deb) ...
Selecting previously unselected package python-schema-salad.
Unpacking python-schema-salad (from .../python-schema-salad_1.14.20160708181155-2_all.deb) ...
Selecting previously unselected package python-cwltool.
Unpacking python-cwltool (from .../python-cwltool_1.0.20160712154127-2_all.deb) ...
Selecting previously unselected package python-arvados-cwl-runner.
Unpacking python-arvados-cwl-runner (from .../python-arvados-cwl-runner_1.0.20160713211920-3_all.deb) ...
Setting up python-rdflib (4.2.1-2) ...
Setting up python-sparqlwrapper (1.4.1-1) ...
Setting up python-rdflib-jsonld (0.3.0-2) ...
Setting up python-schema-salad (1.14.20160708181155-2) ...
Setting up python-cwltool (1.0.20160712154127-2) ...
Setting up python-arvados-cwl-runner (1.0.20160713211920-3) ...
Processing triggers for python-support ...

and this is the content of:


rdflib == 2.4.2
simplejson == 2.0.9

but when I ran it...

$ arvados-cwl-runner
Traceback (most recent call last):
File "/usr/bin/arvados-cwl-runner", line 7, in <module>
sys.exit(main(sys.argv[1:], sys.stdout, sys.stderr))
File "/usr/lib/python2.7/dist-packages/arvados_cwl/__init__.py", line 315, in main
File "/usr/lib/python2.7/dist-packages/cwltool/main.py", line 613, in main
File "/usr/lib/python2.7/dist-packages/arvados_cwl/__init__.py", line 224, in versionstring
arvcwlpkg = pkg_resources.require("arvados-cwl-runner")
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 588, in resolve
raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (simplejson 2.5.2 (/usr/lib/python2.7/dist-packages), Requirement.parse('simplejson==2.0.9'))

which simplejson 2.5.2 comes from python-simplejson from the distro