Unverified Commit 0f80f9d5 authored by René Fritze's avatar René Fritze
Browse files

update myst-nb config for new release

parent b5eb4e4b
......@@ -23,8 +23,8 @@ stages:
when: never
- when: on_success
variables:
PYPI_MIRROR_TAG: 94604308a724fed5167af7761eb1536c4d13bad6
CI_IMAGE_TAG: 94604308a724fed5167af7761eb1536c4d13bad6
PYPI_MIRROR_TAG: 992e89d4d2d801ab6a8186b4f6bce11367f1095c
CI_IMAGE_TAG: 992e89d4d2d801ab6a8186b4f6bce11367f1095c
PYMOR_HYPOTHESIS_PROFILE: ci
PYMOR_PYTEST_EXTRA: ""
BINDERIMAGE: ${CI_REGISTRY_IMAGE}/binder:${CI_COMMIT_REF_SLUG}
......
......@@ -2,8 +2,8 @@ DOCKER_BASE_PYTHON=3.9
PYMOR_TEST_SCRIPT=vanilla
PYPI_MIRROR=stable
PYMOR_TEST_OS=debian-buster
PYPI_MIRROR_TAG=94604308a724fed5167af7761eb1536c4d13bad6
CI_IMAGE_TAG=94604308a724fed5167af7761eb1536c4d13bad6
PYPI_MIRROR_TAG=992e89d4d2d801ab6a8186b4f6bce11367f1095c
CI_IMAGE_TAG=992e89d4d2d801ab6a8186b4f6bce11367f1095c
PYMOR_HYPOTHESIS_PROFILE=dev
PYMOR_PYTEST_EXTRA=--lf
......@@ -61,9 +61,9 @@ install_suggests = {
}
io_requires = ['pyevtk', 'xmljson', 'meshio>=4.4', 'lxml', 'gmsh']
install_suggests.update({p: 'optional File I/O support libraries' for p in io_requires})
doc_requires = ['sphinx>=3.4', 'matplotlib', _PYSIDE, 'ipyparallel>=6.2.5', 'python-slugify',
doc_requires = ['sphinx>=4.0', 'matplotlib', _PYSIDE, 'ipyparallel>=6.2.5', 'python-slugify',
'ipywidgets', 'sphinx-qt-documentation', 'bash_kernel', 'sphinx-material',
'sphinxcontrib-bibtex', 'sphinx-autoapi>=1.8', 'myst-nb'] + install_requires
'sphinxcontrib-bibtex', 'sphinx-autoapi>=1.8', 'myst-nb>=0.14'] + install_requires
ci_requires = [_PYTEST, 'pytest-cov', 'pytest-xdist', 'check-manifest', 'nbconvert', 'pytest-parallel',
'readme_renderer[md]', 'rstcheck', 'codecov', 'twine', 'pytest-memprof',
'flake8-rst-docstrings', 'flake8-docstrings', 'pytest-datadir', 'pybind11',
......
......@@ -56,15 +56,15 @@ myst_enable_extensions = [
"replacements",
"substitution",
]
myst_url_schemes = ["http", "https", "mailto"]
myst_url_schemes = ("http", "https", "mailto")
# auto genereated link anchors
myst_heading_anchors = 2
import substitutions # noqa
myst_substitutions = substitutions.myst_substitutions
jupyter_execute_notebooks = "cache"
execution_timeout = 120
nb_execute_notebooks = "cache"
nb_execution_timeout = 120
# print tracebacks to stdout
execution_show_tb = True
nb_execution_show_tb = True
bibtex_bibfiles = ['bibliography.bib']
# Add any paths that contain templates here, relative to this directory.
......
......@@ -18,7 +18,7 @@ matplotlib
meshio>=4.4
mpi4py>=3.0.3;python_version >= "3.9"
mpi4py>=3.0;python_version < "3.9"
myst-nb
myst-nb>=0.14
nbresuse
numpy>=1.16.0;python_version == "3.7"
numpy>=1.17.5;python_version == "3.8"
......@@ -40,7 +40,7 @@ slycot>=0.4.0
sphinx-autoapi>=1.8
sphinx-material
sphinx-qt-documentation
sphinx>=3.4
sphinx>=4.0
sphinxcontrib-bibtex
sympy
torch
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment