Open jefft opened 6 years ago
Hi Jeff, you're right, this is broken in Python 3.6. I'm sorry I have not made time yet to look into whether it's python-nfsn or Beanbag itself that is broken here, though I'm definitely interested in resolving this.
Possibly related: https://github.com/ajtowns/beanbag/issues/11
For the time being, I've worked around the issue by running pip3 install git+https://github.com/stratakis/beanbag@8cea464660194f2628f9ae5fe797be8e690015c1
, as that matches the ready-but-stale pull request ajtowns/beanbag#10. It would likely be sufficient to install git+https://github.com/stratakis/beanbag
if you don't mind a branch that may change, or you could even refer to the pull request exactly.
I suppose you could also list one of those alternatives in python-nfsn's setup.py
, though I don't know the rules or etiquette of listing a GitHub fork as a requirement instead of an officially-listed PyPI entry.
(Thank you for making and sharing this package, by the way! I'm glad there are still options to consume it.)
Yeah we need to switch entirely away from Beanbag at this point.
As the README notes, this works up to Python 3.5. Trying with 3.6.3 (the default in recent Ubuntu) yields sadness:
I'm not sufficiently up to scratch on Python to offer a fix. A workaround is to install a local Python 3.5.4. On Ubuntu this works for me: