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 builds failing #30

Closed
perrygeo opened this issue Aug 3, 2019 · 1 comment · Fixed by #31
Closed

Travis builds failing #30

perrygeo opened this issue Aug 3, 2019 · 1 comment · Fixed by #31

Comments

@perrygeo
Copy link
Owner

perrygeo commented Aug 3, 2019

See https://travis-ci.org/perrygeo/simanneal/jobs/566946682 and #28

@deckar01
Copy link

deckar01 commented Aug 6, 2019

I turned on Travis for my fork and the tests passed. There were a few differences in the environments. Mine defaulted to xenial and the failed build defaulted to trusty. I was able to reproduce a build error by setting the dist to trusty in the config.

The underlying issue seems to be pytest-cov's required version range for pytest being updated to >=3.6.0. The trusty image comes with pytest 3.3.0 preinstalled and pip errors instead of updating the existing install.

Hard coding the dist would temporarily fix the issue, but dependencies could get out of sync again as preinstalled packages and dependencies change. To avoid this occurring again, the best fix is probably to force pip to upgrade existing dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants