traits 3.4 missing, not working with 4.0
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
When trying to install traits and traitsui from ubuntu software center version is too old. From pip is to new (4.0).
so easy_install will give:
$ sudo easy_install rested
Searching for rested
Best match: Rested 1.0.0.dev
Processing Rested-1.0.0.dev-py2.7.egg
Rested 1.0.0.dev is already the active version in easy-install.pth
Installing rsted script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/Rested-1.0.0.dev-py2.7.egg
Processing dependencies for rested
Searching for Traits[ui]>=3.4.0.dev
Reading http://pypi.python.org/simple/Traits/
Reading http://code.enthought.com/projects/traits
Best match: traits 4.0.0
Downloading http://www.enthought.com/repo/ets/traits-4.0.0.tar.gz
Processing traits-4.0.0.tar.gz
Running traits-4.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-eo39la/traits-4.0.0/egg-dist-tmp-N9nLb1
traits/protocols/_speedups.c: In function ‘__pyx_f_9enthought_6traits_9protocols_9_speedups_buildClassicMRO’:
traits/protocols/_speedups.c:2023:3: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c:2033:17: warning: assignment from incompatible pointer type
traits/protocols/_speedups.c: In function ‘__pyx_pf_9enthought_6traits_9protocols_9_speedups_4classicMRO’:
traits/protocols/_speedups.c:2224:7: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c:2238:7: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c: In function ‘__pyx_f_9enthought_6traits_9protocols_9_speedups_buildECMRO’:
traits/protocols/_speedups.c:2324:3: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c: In function ‘__pyx_pf_9enthought_6traits_9protocols_9_speedups_5extClassMRO’:
traits/protocols/_speedups.c:2508:5: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c:2522:5: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c: In function ‘__pyx_pf_9enthought_6traits_9protocols_9_speedups_6getMRO’:
traits/protocols/_speedups.c:2700:15: warning: comparison of distinct pointer types lacks a cast
traits/protocols/_speedups.c:2700:3: warning: passing argument 2 of ‘PyType_IsSubtype’ from incompatible pointer type
/usr/include/python2.7/object.h:437:17: note: expected ‘struct PyTypeObject *’ but argument is of type ‘struct PyObject *’
traits/protocols/_speedups.c: In function ‘__pyx_pf_9enthought_6traits_9protocols_9_speedups_7Protocol__adapt__’:
traits/protocols/_speedups.c:3076:7: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c:3090:7: warning: passing argument 1 of ‘PyList_Append’ from incompatible pointer type
/usr/include/python2.7/listobject.h:52:17: note: expected ‘struct PyObject *’ but argument is of type ‘struct PyListObject *’
traits/protocols/_speedups.c:3160:23: warning: comparison of distinct pointer types lacks a cast
traits/protocols/_speedups.c:3160:11: warning: passing argument 2 of ‘PyType_IsSubtype’ from incompatible pointer type
/usr/include/python2.7/object.h:437:17: note: expected ‘struct PyTypeObject *’ but argument is of type ‘struct PyObject *’
Adding traits 4.0.0 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/traits-4.0.0-py2.7-linux-i686.egg
Traceback (most recent call last):
File "/usr/bin/easy_install", line 9, in
load_entry_point('distribute==0.6.15', 'console_scripts', 'easy_install')()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1906, in main
with_ei_usage(lambda:
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1887, in with_ei_usage
return f()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1910, in
distclass=DistributionWithoutHelpCommands, **kw
File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 363, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 603, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 638, in install_item
self.process_distribution(spec, dists[0], deps, "Using")
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 687, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 557, in resolve
requirements.extend(dist.requires(req.extras)[::-1])
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2180, in requires
"%s has no such extra feature %r" % (self, ext)
pkg_resources.UnknownExtra: traits 4.0.0 has no such extra feature 'ui'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.