Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis / tox: also test on pypy #594

Merged
merged 7 commits into from
Aug 28, 2018
Merged

Conversation

ThomasWaldmann
Copy link
Member

tox -e py27   # use this to only test on python 2.7

there are currently some test fails on pypy, have to look into that
later. on travis, allow failures for pypy.

tox -e py27   # use this to only test on python 2.7

there are currently some test fails on pypy, have to look into that
later. on travis, allow failures for pypy.
@ThomasWaldmann
Copy link
Member Author

@ThomasWaldmann
Copy link
Member Author

some of the fails are likely our fault (assuming some specific order for dicts/sets).

but the mimetype, sqlite and paramparser fail could be maybe pypy bugs / incompatilibities?

specifically: we want that *.txt is text/plain (not typoscript)

also: added a sorted() around MIMETYPES_MORE.items(), so that we
reproducibly get same order for the mimetypes.add_type() calls.
without this, it somehow worked on cpython, but failed on pypy.
without this, it somehow worked on cpython, but failed on pypy.
without this, it somehow worked on cpython, but failed on pypy.
worked (raised) for cpython 2.7, failed for pypy2 6.0 (also 2.7).
@ThomasWaldmann ThomasWaldmann merged commit bba86cf into moinwiki:master Aug 28, 2018
@ThomasWaldmann ThomasWaldmann deleted the pypy branch August 28, 2018 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant