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
Update Python versions, test on more platforms and fix Travis CI issues #734
Merged
jpmckinney
merged 103 commits into
wireservice:master
from
lcorbasson:update-python-versions
Mar 31, 2020
Merged
Update Python versions, test on more platforms and fix Travis CI issues #734
jpmckinney
merged 103 commits into
wireservice:master
from
lcorbasson:update-python-versions
Mar 31, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…, where TRAVIS_PYTHON_VERSION is not defined)
…AssertionError if invalid
The previous commit was sufficient for PyPy3 and to fix tests.test_py3.TestSniffer.test_sniffer() where csv_py3.Sniffer().sniff(contents).__dict__ on some Python versions where it was empty. This commit tries to fix segfault issues on PyPy by breaking the tests in yet more processes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes Travis CI issues by:
TRAVIS_PYTHON_VERSION
and segmentation faults ofnosetests
on PyPy3,agate.Number().cast(u'👍')
(or any other Unicode char) on PyPy3,agate.Table.from_json()
on platforms where UTF-8 is not the default encoding (e.g. Travis CI's Windows build, which uses CP1252).It also ensures files are closed even if an error occurs in:
agate.Table.from_csv()
,agate.Table.from_fixed()
,agate.Table.from_json()
.And it takes into account the user's locale when running tests displaying numbers with decimal or grouping separators.
It is meant as a replacement for PR #731 and #732, and fixes #694.