Python 2.7 doesn't have os.uname().sysname. Could you please change it to os.uname()[0]? Thanks. # catalyst -C target=snapshot version_stamp=20180107 Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/catalyst", line 37, in <module> main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/catalyst/main.py", line 285, in main return _main(parser, opts) File "/usr/lib/python2.7/site-packages/catalyst/main.py", line 441, in _main if os.uname().sysname in ["Linux", "linux"]: AttributeError: 'tuple' object has no attribute 'sysname' Reproducible: Always
Created attachment 513614 [details, diff] sample patch for catalyst/main.py This patch changes it to os.uname()[0] and a simple code.
Dropped python2_7 from PYTHON_COMPAT in >=3.0.2