PyFilesystem / pyfilesystem2

Python's Filesystem abstraction layer
https://www.pyfilesystem.org
MIT License
1.99k stars 177 forks source link

FTP tests fail on Pypy #342

Open willmcgugan opened 5 years ago

willmcgugan commented 5 years ago

FTPFS tests fail on Pypy. We should fix that and add Pypy builds to Travis.

chfw commented 5 years ago

here is the travis snippet that you need:

python:
  - &pypy2 pypy2.7-6.0
  - &pypy3 pypy3.5-6.0

reference:

https://github.com/moremoban/pypi-mobans/blob/dev/templates/travis.yml.jj2

example build: https://travis-ci.org/pyexcel/pyexcel

dargueta commented 5 years ago

Was there a bug introduced in PyPy 7.x? Pinning it to 6.x seems like a bit of a hack.

Update:

PyPy2 and PyPy3 are failing for two different reasons, but both still in ftpfs.py:

Note the version number discrepancy. I think we're dealing with two separate problems here.

Update 2:

The PyPy3.5 crash is caused by this bug and was fixed in 7.0.0. This leaves us with the PyPy2 bug to figure out.

dargueta commented 4 years ago

Considering Python 2 has been EOL for months now I think we can ignore the PyPy 2 CI failures and close this ticket.