Closed regner closed 8 years ago
Both https://github.com/Blizzard/s2protocol and https://github.com/Blizzard/heroprotocol explicitly require Python 2 and won't currently work with Python 3.
Blizzard has bundled mpyq version 0.2.0 (from 2011) in both projects. Sadly that version of mpyq didn't have support for Python 3 yet; we added support for Python 3 in version 0.2.2 (from 2013). Updating the bundled mpyq would be the first step towards Python 3 compatibility in both projects, but there are other 2to3 fixes they'd need to do in addition to that.
As far as I'm aware the most recent version of mpyq works well with Python 3. If this is not the case please elaborate.
(Just a further follow up: the traceback you pasted is from https://github.com/Blizzard/heroprotocol/blob/master/decoders.py#L69, not mpyq.)
@eagleflo I forked the Blizzard repo, stripped out mpyq, made the whole thing an actual package, and then listed the newer version of mpyq as a requirement. So for the most part that is already done.
I amreally sorry about this though. I completely misread the damn stacktrace and thought it was failing in mpyq. Not sure how the hell I possibly got into that mindset. Sorry!
Hey,
So Blizzard recently released their heroprotocol and I have been doing some work on getting the whole thing into a tidy python package with some tests. One of the things that has come from this is the realization that everything works OK on Python 2.7 but falls over on Python 3.
You can see the results in Travis CI here.
Was wondering if anyone here had a suggestion for tracking this down and possibly a suggestion for how to fix. Thanks in advance for your help! :)