FS#45225 - [buildbot] Version of python2-migrate not supported
Attached to Project:
Community Packages
Opened by Julian Sivertsen (Sivert) - Saturday, 06 June 2015, 09:06 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 02 March 2017, 08:56 GMT
Opened by Julian Sivertsen (Sivert) - Saturday, 06 June 2015, 09:06 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 02 March 2017, 08:56 GMT
|
Details
Description:
Buildbot 0.8.12 depends on a specific version of sqlalchemy-migrate [1], and an old version of sqlalchemy [2]. The versions pulled in by the dependencies of the buildbot package does not satisfy these version requirements, resulting in an install that does not function. [1] https://github.com/buildbot/buildbot/blob/v0.8.12/master/setup.py#L388 [2] https://github.com/buildbot/buildbot/blob/v0.8.12/master/setup.py#L385 Additional info: * package buildbot 0.8.12 * pulls in python2-migrate 0.9.4 (Unsupported, needs 0.7.2) * pulls in python2-sqlalchemy 1.0.4 (Unsupported, needs <= 0.7.10) Steps to reproduce: $ buildbot create-master master mkdir /home/user/bot/master creating /home/user/bot/master/master.cfg.sample populating public_html/ populating templates/ creating database (sqlite:///state.sqlite) buildmaster configured in /home/julian/bot/master $ mv master/master.cfg.sample master/master.cfg $ buildbot start master Following twistd.log until startup finished.. 2015-06-06 11:50:16+0200 [-] Log opened. 2015-06-06 11:50:16+0200 [-] twistd 15.2.1 (/usr/bin/python2 2.7.10) starting up. 2015-06-06 11:50:16+0200 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2015-06-06 11:50:16+0200 [-] Starting BuildMaster -- buildbot.version: 0.8.12 2015-06-06 11:50:16+0200 [-] Loading configuration from '/home/julian/bot/master/master.cfg' 2015-06-06 11:50:16+0200 [-] error while parsing config file: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 588, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1184, in gotResult _inlineCallbacks(r, g, deferred) File "/usr/lib/python2.7/site-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks result = g.send(result) File "/usr/lib/python2.7/site-packages/buildbot/master.py", line 189, in startService self.configFileName) --- <exception caught here> --- File "/usr/lib/python2.7/site-packages/buildbot/config.py", line 156, in loadConfig exec f in localDict File "/home/julian/bot/master/master.cfg", line 18, in <module> c['slaves'] = [buildslave.BuildSlave("example-slave", "pass")] File "/usr/lib/python2.7/site-packages/buildbot/plugins/db.py", line 238, in __getattr__ raise AttributeError(str(err)) exceptions.AttributeError: Requirements are not satisfied for buildbot.buildslave:BuildSlave: (sqlalchemy-migrate 0.9.4 (/usr/lib/python2.7/site-packages), Requirement.parse('sqlalchemy-migrate==0.7.2')) 2015-06-06 11:50:16+0200 [-] Configuration Errors: 2015-06-06 11:50:16+0200 [-] error while parsing config file: Requirements are not satisfied for buildbot.buildslave:BuildSlave: (sqlalchemy-migrate 0.9.4 (/usr/lib/python2.7/site-packages), Requirement.parse('sqlalchemy-migrate==0.7.2')) (traceback in logfile) 2015-06-06 11:50:16+0200 [-] Halting master. 2015-06-06 11:50:16+0200 [-] Main loop terminated. 2015-06-06 11:50:16+0200 [-] Server Shut Down. The buildmaster appears to have encountered an error in the master.cfg config file during startup. Please inspect and fix master.cfg, then restart the buildmaster. Workaround: # easy_install-2.7 sqlalchemy==0.7.10 sqlalchemy-migrate==0.7.2 |
This task depends upon
Closed by Sergej Pupykin (sergej)
Thursday, 02 March 2017, 08:56 GMT
Reason for closing: Won't implement
Additional comments about closing: removed from community
Thursday, 02 March 2017, 08:56 GMT
Reason for closing: Won't implement
Additional comments about closing: removed from community