nbformat also requires jsonpointer

This commit is contained in:
Thomas Kluyver 2014-06-10 12:37:45 -07:00
parent e0e91460c8
commit 38d1f3dbc5

View File

@ -148,6 +148,7 @@ have['jinja2'] = test_for('jinja2')
have['requests'] = test_for('requests') have['requests'] = test_for('requests')
have['sphinx'] = test_for('sphinx') have['sphinx'] = test_for('sphinx')
have['jsonschema'] = test_for('jsonschema') have['jsonschema'] = test_for('jsonschema')
have['jsonpointer'] = test_for('jsonpointer')
have['casperjs'] = is_cmd_found('casperjs') have['casperjs'] = is_cmd_found('casperjs')
have['phantomjs'] = is_cmd_found('phantomjs') have['phantomjs'] = is_cmd_found('phantomjs')
have['slimerjs'] = is_cmd_found('slimerjs') have['slimerjs'] = is_cmd_found('slimerjs')
@ -267,7 +268,7 @@ test_sections['qt'].requires('zmq', 'qt', 'pygments')
# html: # html:
sec = test_sections['html'] sec = test_sections['html']
sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema') sec.requires('zmq', 'tornado', 'requests', 'sqlite3', 'jsonschema', 'jsonpointer')
# The notebook 'static' directory contains JS, css and other # The notebook 'static' directory contains JS, css and other
# files for web serving. Occasionally projects may put a .py # files for web serving. Occasionally projects may put a .py
# file in there (MathJax ships a conf.py), so we might as # file in there (MathJax ships a conf.py), so we might as
@ -285,7 +286,7 @@ test_sections['config'].exclude('profile')
# nbconvert: # nbconvert:
sec = test_sections['nbconvert'] sec = test_sections['nbconvert']
sec.requires('pygments', 'jinja2', 'jsonschema') sec.requires('pygments', 'jinja2', 'jsonschema', 'jsonpointer')
# Exclude nbconvert directories containing config files used to test. # Exclude nbconvert directories containing config files used to test.
# Executing the config files with iptest would cause an exception. # Executing the config files with iptest would cause an exception.
sec.exclude('tests.files') sec.exclude('tests.files')
@ -295,7 +296,7 @@ if not have['tornado']:
sec.exclude('nbconvert.post_processors.tests.test_serve') sec.exclude('nbconvert.post_processors.tests.test_serve')
# nbformat: # nbformat:
test_sections['nbformat'].requires('jsonschema') test_sections['nbformat'].requires('jsonschema', 'jsonpointer')
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Functions and classes # Functions and classes