Update other-licenses/ply to support py3
Categories
(Firefox Build System :: General, task, P3)
Tracking
(firefox77 fixed)
Tracking | Status | |
---|---|---|
firefox77 | --- | fixed |
People
(Reporter: mshal, Assigned: KrisWright)
References
Details
Attachments
(2 files)
Our version of ply doesn't work with python3, which blocks us from converting some uses of python2 during a build. According to the README, this comes from http://www.dabeaz.com/ply/
Comment 1•5 years ago
|
||
Unfortunately the new Python 3-compatible version of PLY depends on Python 3.6.
Comment 2•5 years ago
|
||
According to https://github.com/dabeaz/ply/blob/master/CHANGES ply version 3.8 is still working with Python 3.5. Maybe even newer versions.
Comment 3•5 years ago
|
||
I'm ambivalent about upgrading to an old version of ply
(which, according to the changelog, is missing at least a couple bugfixes) just so we can maintain support for an old version of Python, but that could be an option in the short-term just to get us over the Py3 hump.
Assignee | ||
Comment 4•4 years ago
|
||
This pattern:
native nsSize (nsSize);
^
Causes a parsing error in ply
3.10. This can be easily fixed by removing the space and reformatting to this:
native nsSize(nsSize);
Assignee | ||
Comment 5•4 years ago
|
||
This is the most recent version of ply to still support python 3.5.
Updated•4 years ago
|
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fe6f888d24b8
https://hg.mozilla.org/mozilla-central/rev/71493b055359
Description
•