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

Use environment file for initial conda env creation. #1947

Merged
merged 6 commits into from
Jan 22, 2016

Conversation

ericholscher
Copy link
Member

Fixes #1901


# Use conda for requirements it packages
requirements = [
'sphinx==1.3.1',
'Pygments==2.0.2',
'docutils==0.11',
'mock==1.0.1',
'docutils',
Copy link
Contributor

Choose a reason for hiding this comment

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

Couple of questions. Is it really ok to leave docutils unpinned or should it just be pinned to a newer version like 0.12? Also, should mock really be dropped?

Copy link
Member Author

Choose a reason for hiding this comment

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

The idea of including mock was to let folks mock dependencies, which presumably isn't an issue with conda.

We could also remove docutils entirely, and let Sphinx specify the docutils version. Not sure the best path forward.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, ok. So, you are not dependent on mock. In that case, I agree with you. Also, letting sphinx pull in docutils sounds fine unless you are using it internally somehow.

Copy link
Member Author

Choose a reason for hiding this comment

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

I've gone ahead and pinned it at 0.12 for now, as that's the least disruptive to how everything else works.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry to keep nitpicking on this, but if you are concerned about disruption then should the mock constraint simply be left as is?

@ericholscher
Copy link
Member Author

Tests pass locally, think this is just Travis failing.

@agjohnson
Copy link
Contributor

I've retriggered tests, if they are still failing I'll try to verify, but I'm assuming this is just travis flaking out as well

@jakirkham
Copy link
Contributor

Another thing to consider, there is a travis_wait command. This will increase the wait time. ( https://docs.travis-ci.com/user/build-timeouts#Build-times-out-because-no-output-was-received )

@ericholscher ericholscher mentioned this pull request Jan 22, 2016
8 tasks
ericholscher added a commit that referenced this pull request Jan 22, 2016
Use environment file for initial conda env creation.
@ericholscher ericholscher merged commit 389d213 into master Jan 22, 2016
@stsewd stsewd deleted the conda-env-create branch August 15, 2018 22:20
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.

3 participants