Skip to content

Fix Travis CI builds on Python 3.4 - #352

Merged
willkg merged 1 commit into
html5lib:masterfrom
jdufresne:fix-test-failures
Oct 31, 2017
Merged

willkg merged 1 commit into
html5lib:masterfrom
jdufresne:fix-test-failures

Conversation

@jdufresne

@jdufresne jdufresne commented Oct 28, 2017 •

Copy link
Copy Markdown
Contributor

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.

@willkg willkg left a comment

Copy link
Copy Markdown
Contributor

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