Skip to content

Commit

Permalink
MAINT: removing version pinnings for testing and rtd (#634)
Browse files Browse the repository at this point in the history
* MAINT: removing version pinnings for testing and rtd

* MAINT: remove uppler limit in docs/requirements, too

* FIX: referencing footnote to fix sphinx warning
  • Loading branch information
bsipocz authored Sep 24, 2024
1 parent 25fa81d commit c6a2d4b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/authoring/text-notebooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This allows you to store notebook metadata, Markdown, and cell inputs in a text-

MyST notebooks have a 1-to-1 mapping with Jupyter notebook,
so can be [converted to `.ipynb` files](converting-ipynb) and [opened as notebooks in Jupyter interfaces](myst-nb/jupyter-interfaces) (with jupytext installed).
When used with `myst_nb`, MyST notebooks are also integrated directly into the {ref}`Execution and Caching <execute/cache>` machinery.
When used with `myst_nb`, MyST notebooks are also integrated directly into the {ref}`Execution and Caching <execute/cache>` machinery.[^download]

[^download]: This notebook can be downloaded as **{nb-download}`text-notebooks.ipynb`** and {download}`text-notebooks.md`

Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# this is only required by coconut kernel
ipython<=8.16.1
ipython
28 changes: 13 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies = [
"importlib_metadata",
"ipython",
"jupyter-cache>=0.5",
"nbclient", # nbclient version pinned by jupyter-client
"nbclient",
"myst-parser>=1.0.0",
"nbformat>=5.0",
"pyyaml",
Expand Down Expand Up @@ -72,40 +72,38 @@ rtd = [
"alabaster",
"altair",
"bokeh",
"coconut>=1.4.3,<3.1.0",
"ipykernel>=5.5,<7.0",
"coconut>=1.4.3",
"ipykernel>=5.5",
"ipywidgets",
"jupytext>=1.11.2,<1.16.0",
"jupytext>=1.11.2",
"matplotlib",
"numpy",
"pandas",
"plotly",
"sphinx-book-theme>=0.3",
"sphinx-copybutton",
"sphinx-design~=0.4.0",
"sphinx-design",
"sphinxcontrib-bibtex",
"sympy",
]
testing = [
"coverage>=6.4,<8.0",
"coverage>=6.4",
"beautifulsoup4",
"ipykernel>=5.5,<7.0",
"ipykernel>=5.5",
# for issue with 8.1.0 see https://github.com/ipython/ipython/issues/13554
# TODO ipython 8.5 subtly changes output of test regressions
# see https://ipython.readthedocs.io/en/stable/whatsnew/version8.html#restore-line-numbers-for-input
"ipython!=8.1.0,<8.17",
"ipython!=8.1.0",
"ipywidgets>=8",
"jupytext>=1.11.2,<1.16.0",
"jupytext>=1.11.2",
# Matplotlib outputs are sensitive to the matplotlib version
"matplotlib==3.7.*",
"nbdime",
"numpy",
"pandas==1.5.*",
"pandas",
"pyarrow",
"pytest~=7.1",
"pytest-cov>=3,<5",
"pytest",
"pytest-cov>=3",
"pytest-regressions",
"pytest-param-files~=0.3.3",
"pytest-param-files",
"sympy>=1.10.1",
]

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ commands = pytest {posargs}
[testenv:docs-{update,clean}]
extras = rtd
deps =
ipython<=7.11.0 # required by coconut
ipython
setenv =
BUILDER = {env:BUILDER:html}
whitelist_externals =
Expand Down

0 comments on commit c6a2d4b

Please sign in to comment.