[MacPorts] #54627: py-twisted @17.5.0: Broken after update due to missing dependency automat

MacPorts noreply at macports.org
Thu Aug 17 13:23:43 UTC 2017


#54627: py-twisted @17.5.0: Broken after update due to missing dependency automat
--------------------+---------------------------------
 Reporter:  raimue  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-twisted
--------------------+---------------------------------
 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.

--
Ticket URL: <https://trac.macports.org/ticket/54627>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list