sarugaku / passa

Resolver implementation and toolset for generating and interacting with Pipfile and Pipfile.lock.
ISC License
53 stars 12 forks source link

Packing tests are failing #61

Closed uranusjr closed 5 years ago

uranusjr commented 5 years ago

https://travis-ci.com/sarugaku/passa/jobs/158215360

Something’s wrong with pip-shims, I assume?

frostming commented 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)
frostming commented 5 years ago

The only solution I can see is to vendor functools32 into passa.

uranusjr commented 5 years ago

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.

techalchemy commented 5 years ago

We can also just fork rename and repackage. What does it even include?

uranusjr commented 5 years ago

tomlkit uses it to provide lru_cache

techalchemy commented 5 years ago

oh why? cant the just use the backport?