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

Skip conda update to avoid broken Travis builds; issue with conda 4.7.5 dependency graph #899

Closed
wants to merge 15 commits into from

Conversation

nickpowersys
Copy link
Contributor

@nickpowersys nickpowersys commented Jul 1, 2019

Avoid updating conda package manager on Travis, due to issue observed on Travis Miniconda 3.7

While working locally with Anaconda 3.7 on Linux with the latest conda version, 4.7.5, I found that the conda solver ran into this issue with conflicting dependencies, which prevents a solution:
conda/conda#8844

The Travis installation script has been updating the base conda version before installing dependencies.

After I updated .travis.yml on Travis under this PR such that conda is not updated, the version that has been running on Travis is 4.6.14.

Windows is not affected by the issue

I also investigated Miniconda on Windows, and there is apparently not the same problem: a full set of dependencies was determined and installed by conda 4.7.5 for both Miniconda 3.6 and 3.7.

On Appveyor Miniconda 3.7, although conda 4.7.5 is able to solve the dependency graph, there is still an issue with the Appveyor 3.7 configuration such that the build remains inactive.

@nickpowersys
Copy link
Contributor Author

I really only want a66a739 in the PR, for the deletion of a single line in .travis.yml. I am not able to stop the other commits from recurring.

@nickpowersys nickpowersys changed the title Avoid updating Travis conda package manager; issue with conda 4.7.5 dependency graph Skip conda update to avoid broken Travis builds; issue with conda 4.7.5 dependency graph Jul 1, 2019
@nickpowersys
Copy link
Contributor Author

This would be preventive in that Travis Miniconda 3.7 builds are not breaking yet with the existing .travis.yml, even though the conda update step updates to 4.7.5.

@nickpowersys
Copy link
Contributor Author

I identified the problem, which was that I specified a minimum version of pip to be used with a conda environment (19.1.1) and it broke compatibility.

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.

1 participant