Skip to content

Fix Travis CI builds on Python 3.4 #352

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

Merged
merged 1 commit into from
Oct 31, 2017
Merged

Fix Travis CI builds on Python 3.4 #352

merged 1 commit into from
Oct 31, 2017

Conversation

jdufresne
Copy link
Contributor

@jdufresne jdufresne commented Oct 28, 2017

Avoid passing -U to pip install commands. It causes the six package to upgrade, which fails on the Travis 3.4 image. I cannot reproduce this locally, so I'm left to conclude that the Travis Python 3.4 image is corrupt in some way. The installed six package is perfectly fine for testing, so use it without upgrading. All builds now pass.

Install six package first to avoid upgrading it then downgrading it in some test configurations.

Avoid passing -U to pip install commands. It causes the six package to
upgrade, which fails on the Travis 3.4 image. I cannot reproduce this
locally, so I'm left to conclude that the Travis Python 3.4 image is
corrupt in some way. The installed six package is perfectly fine for
testing, so use it without upgrading. All builds now pass.

Install six package first to avoid upgrading it then downgrading it in
some test configurations.
Copy link
Contributor

@willkg willkg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. It'll be great to have the Python 3.4 tests passing again! Thank you!

@willkg willkg merged commit 48942a9 into html5lib:master Oct 31, 2017
@jdufresne jdufresne deleted the fix-test-failures branch January 6, 2018 01:22
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.

2 participants