Closed uranusjr closed 5 years ago
Nope, it's functools32 that exits early when non-Python2.7 is detected.
def main():
if not (3,) > sys.version_info >= (2, 7):
sys.stderr.write('This backport is for Python 2.7 only.\n')
sys.exit(1)
The only solution I can see is to vendor functools32 into passa.
And I went to functools32’s issue tracker and saw my own issue requesting the maintainer to not do that. Python packaging is terrible. Sign.
Another potential solution is to build our own wheel. I’d assume this is doable via CI.
We can also just fork rename and repackage. What does it even include?
tomlkit uses it to provide lru_cache
oh why? cant the just use the backport?
https://travis-ci.com/sarugaku/passa/jobs/158215360
Something’s wrong with pip-shims, I assume?