Ticket #2009 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

twisted dependency is out dated

Reported by: liucougar Owned by:
Priority: minor Milestone: 0.8.5
Version: 0.8.4p1 Keywords:
Cc:

Description

twisted.words is used by trunk buildbot, but the dependency as specified in setup.py is:

twisted >= 8.0.0

I have twisted 9.0, but it does not have twisted.words, so I could not run the buildbot test suite

I installed twisted 11.0, and that seems to fix it

I think the twisted dependency in setup.py should be updated to include the first version of twisted which contains twisted.words

Change History

comment:1 Changed 2 years ago by dustin

  • Status changed from new to closed
  • Version changed from master to 0.8.4p1
  • Resolution set to worksforme
  • Milestone changed from undecided to 0.8.5

with a brand-new virtualenv:

dustin@euclid ~/tmp/ve $ bin/pip install twisted==9.0.0
Downloading/unpacking twisted==9.0.0
  Using download cache from /home/dustin/tmp/pkg-cache/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FT%2FTwisted%2FTwisted-9.0.0.tar.bz2
  Running setup.py egg_info for package twisted
    
Requirement already satisfied (use --upgrade to upgrade): zope.interface in /usr/lib64/python2.7/site-packages (from twisted==9.0.0)
Requirement already satisfied (use --upgrade to upgrade): setuptools in ./lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from zope.interface->twisted==9.0.0)
Installing collected packages: twisted
  Found existing installation: Twisted 11.0.0
    Not uninstalling Twisted at /usr/lib64/python2.7/site-packages, outside environment /home/dustin/tmp/ve
  Running setup.py install for twisted
    
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c conftest.c -o conftest.o
    building 'twisted.runner.portmap' extension
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c twisted/runner/portmap.c -o build/temp.linux-x86_64-2.7/twisted/runner/portmap.o
    x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-2.7/twisted/runner/portmap.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/twisted/runner/portmap.so
    building 'twisted.protocols._c_urlarg' extension
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c twisted/protocols/_c_urlarg.c -o build/temp.linux-x86_64-2.7/twisted/protocols/_c_urlarg.o
    x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-2.7/twisted/protocols/_c_urlarg.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/twisted/protocols/_c_urlarg.so
    building 'twisted.test.raiser' extension
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c twisted/test/raiser.c -o build/temp.linux-x86_64-2.7/twisted/test/raiser.o
    x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-2.7/twisted/test/raiser.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/twisted/test/raiser.so
    building 'twisted.python._epoll' extension
    x86_64-pc-linux-gnu-gcc -pthread -fPIC -I/usr/include/python2.7 -c twisted/python/_epoll.c -o build/temp.linux-x86_64-2.7/twisted/python/_epoll.o
    x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-2.7/twisted/python/_epoll.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-x86_64-2.7/twisted/python/_epoll.so
    changing mode of build/scripts-2.7/pyhtmlizer from 644 to 755
    changing mode of build/scripts-2.7/twistd from 644 to 755
    changing mode of build/scripts-2.7/tapconvert from 644 to 755
    changing mode of build/scripts-2.7/tap2rpm from 644 to 755
    changing mode of build/scripts-2.7/mktap from 644 to 755
    changing mode of build/scripts-2.7/manhole from 644 to 755
    changing mode of build/scripts-2.7/tap2deb from 644 to 755
    changing mode of build/scripts-2.7/trial from 644 to 755
    changing mode of build/scripts-2.7/lore from 644 to 755
    changing mode of build/scripts-2.7/cftp from 644 to 755
    changing mode of build/scripts-2.7/conch from 644 to 755
    changing mode of build/scripts-2.7/tkconch from 644 to 755
    changing mode of build/scripts-2.7/ckeygen from 644 to 755
    changing mode of build/scripts-2.7/mailmail from 644 to 755
    changing mode of /home/dustin/tmp/ve/bin/pyhtmlizer to 755
    changing mode of /home/dustin/tmp/ve/bin/twistd to 755
    changing mode of /home/dustin/tmp/ve/bin/tapconvert to 755
    changing mode of /home/dustin/tmp/ve/bin/tap2rpm to 755
    changing mode of /home/dustin/tmp/ve/bin/mktap to 755
    changing mode of /home/dustin/tmp/ve/bin/manhole to 755
    changing mode of /home/dustin/tmp/ve/bin/tap2deb to 755
    changing mode of /home/dustin/tmp/ve/bin/trial to 755
    changing mode of /home/dustin/tmp/ve/bin/lore to 755
    changing mode of /home/dustin/tmp/ve/bin/cftp to 755
    changing mode of /home/dustin/tmp/ve/bin/conch to 755
    changing mode of /home/dustin/tmp/ve/bin/tkconch to 755
    changing mode of /home/dustin/tmp/ve/bin/ckeygen to 755
    changing mode of /home/dustin/tmp/ve/bin/mailmail to 755
Successfully installed twisted
Cleaning up...
dustin@euclid ~/tmp/ve $ bin/python
Python 2.7.1 (r271:86832, Jun  6 2011, 00:28:00) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from twisted import words
>>> 

in the 8.x.0 days, Twisted still shipped in pieces, so maybe you only had some of those pieces installed?

comment:2 Changed 2 years ago by liucougar

you are right, i do not have dev-python/twisted-words package installed

sorry for the noise

Note: See TracTickets for help on using tickets.