Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#54627 closed defect (fixed)

py-twisted @17.5.0: Broken after update due to missing dependency automat

Reported by: raimue (Rainer Müller) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-twisted

Description

It looks like the recent upgrade to twisted 17.5.0 broke my buildbot setup, as the new version of twisted requires the python library automat:

$ sudo -H -u buildbot buildslave start /opt/mp-buildbot/slave-jobs
Following twistd.log until startup finished..
Unhandled Error
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/app.py", line 662, in run
    runApp(config)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/scripts/twistd.py", line 25, in runApp
    _SomeApplicationRunner(config).run()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/app.py", line 380, in run
    self.application = self.createOrGetApplication()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/app.py", line 445, in createOrGetApplication
    application = getApplication(self.config, passphrase)
--- <exception caught here> ---
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/app.py", line 456, in getApplication
    application = service.loadApplication(filename, style, passphrase)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/service.py", line 412, in loadApplication
    application = sob.loadValueFromFile(filename, 'application')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/persisted/sob.py", line 177, in loadValueFromFile
    eval(codeObj, d, d)
  File "buildbot.tac", line 4, in <module>
    from buildslave.bot import BuildSlave
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildslave/bot.py", line 21, in <module>
    from twisted.application import internet
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/application/internet.py", line 54, in <module>
    from automat import MethodicalMachine
exceptions.ImportError: No module named automat


Failed to load application: No module named automat

I guess we need a new port for automat and py-twisted should depend on that.

Change History (2)

comment:1 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

In a04225a7518b29a46c55451b7d8d975c186a01e2/macports-ports:

py-twisted: add missing runtime dependencies

Fixes #54627

comment:2 Changed 5 years ago by Marcus Calhoun-Lopez <marcuscalhounlopez@…>

In a04225a7518b29a46c55451b7d8d975c186a01e2/macports-ports:

py-twisted: add missing runtime dependencies

Fixes #54627

Note: See TracTickets for help on using tickets.