-
Notifications
You must be signed in to change notification settings - Fork 2.2k
test_notebooks #337
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
test_notebooks #337
Conversation
@@ -17,7 +17,8 @@ before_install: | |||
- travis_retry conda create --yes -n test python=$PYTHON --file requirements.txt | |||
- source activate test | |||
- conda install --yes --file requirements-dev.txt | |||
- travis_retry conda install --yes pytest pandas vincent flake8 | |||
- travis_retry conda install --yes pytest pandas vincent flake8 nbconvert jupyter_client ipykernel shapely fiona |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move those to requirements-dev.txt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provided they are in requirements-dev.txt
, can we remove this line ?
(I don't know what travis_retry
does).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provided they are in requirements-dev.txt, can we remove this line ?
Yep.
(I don't know what
travis_retry
does).
Exactly what the name says. It re-tries a few times. (Good for stuff that might hang up on you like file downloads.)
I am 👍 to this
But that a look at nbsphinx before going forward. Maybe we already have what we need there. Overall comments:
Thanks! |
Yes and no ; I'm not sure
Yes, there are some transformations to illustrate the new API. For example:
has been replaced by
Yes, it would simplify the problem, if it's not needed anymore.
I'll try to understand that this WE. |
@@ -16,8 +16,11 @@ before_install: | |||
- conda update --yes --all | |||
- travis_retry conda create --yes -n test python=$PYTHON --file requirements.txt | |||
- source activate test | |||
- conda install --yes --file requirements-dev.txt | |||
- travis_retry conda install --yes pytest pandas vincent flake8 | |||
- if [[ "$PYTHON" != "3.3" ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just drop Python 3.3 support.
OK. Let's leave
Don't worry to much. Let's just skip the Python 2.7 notebooks tests for now. |
Well, it can be interesting to test the notebooks and generate them in the docs.
Finally, I'm not even sure that this PR is a good idea. Another way of having (almost) the same result would be:
Thus the notebooks would not be tested at every PR, but only when one builds the doc. |
We can use an if clause in |
@ocefpaf |
👍
Don't worry too much. We have enough for a release.
Done? Never! Ready for a release? We were probably good enough a few PRs ago 😜 |
…ooks test_notebooks
Create a
test_notebooks
test file that runs every notebook infolium/examples
.This will also enable to convert these notebook to markdown for enriching the docs.