GithubHelp home page GithubHelp logo

nbconvert-feedstock's Introduction

About nbconvert-feedstock

Feedstock license: BSD-3-Clause

About nbconvert

Home: https://jupyter.org

Package license: BSD-3-Clause

Summary: Converting Jupyter Notebooks

Development: https://github.com/jupyter/nbconvert

Documentation: https://nbconvert.readthedocs.org/

The nbconvert tool, jupyter nbconvert, converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb notebook file into various static formats.

About nbconvert-pandoc

Package license:

nbconvert with extra packages for pandoc-based outputs

About nbconvert-qtpdf

Package license:

nbconvert with extra packages for browser-based PDF generation

About nbconvert-all

Package license:

nbconvert with all optional packages

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing nbconvert

Installing nbconvert from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, nbconvert, nbconvert-all, nbconvert-core, nbconvert-pandoc, nbconvert-qtpdf can be installed with conda:

conda install nbconvert nbconvert-all nbconvert-core nbconvert-pandoc nbconvert-qtpdf

or with mamba:

mamba install nbconvert nbconvert-all nbconvert-core nbconvert-pandoc nbconvert-qtpdf

It is possible to list all of the versions of nbconvert available on your platform with conda:

conda search nbconvert --channel conda-forge

or with mamba:

mamba search nbconvert --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search nbconvert --channel conda-forge

# List packages depending on `nbconvert`:
mamba repoquery whoneeds nbconvert --channel conda-forge

# List dependencies of `nbconvert`:
mamba repoquery depends nbconvert --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating nbconvert-feedstock

If you would like to improve the nbconvert recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/nbconvert-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

nbconvert-feedstock's People

Contributors

beckermr avatar blink1073 avatar bollwyvl avatar carreau avatar conda-forge-admin avatar conda-forge-curator[bot] avatar conda-forge-webservices[bot] avatar github-actions[bot] avatar isuruf avatar jakirkham avatar jasongrout avatar jjhelmus avatar martinrenou avatar minrk avatar mpacer avatar mseal avatar ocefpaf avatar pelson avatar regro-cf-autotick-bot avatar sylvaincorlay avatar takluyver avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nbconvert-feedstock's Issues

License information is missing from some recipe outputs

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

License metadata is not included for all outputs from this recipe.

As illustration, nbconvert-core does include the license info in package metadata:

mamba repoquery search nbconvert-core=6.5.3=pyhd8ed1ab_0 --json
...
                "fn": "nbconvert-core-6.5.3-pyhd8ed1ab_0.tar.bz2",
                "license": "BSD-3-Clause",
                "md5": "9dfdb5f2271cb67d81b152194a6254db",
                "name": "nbconvert-core",
...

Whereas nbconvert-pandoc does not:

mamba repoquery search nbconvert-pandoc=6.5.3=pyhd8ed1ab_0 --json
...
                "fn": "nbconvert-pandoc-6.5.3-pyhd8ed1ab_0.tar.bz2",
                "license": "",
                "md5": "8ecb7e0ac01613b3e186b1778f6049fb",
                "name": "nbconvert-pandoc",
...

The rule looks like any ouput which defines its own metadata in a dedicated about section will overload the main about metadata.
nbconvert and nbconvert-core does include license info, whereas nbconvert-webpdf, nbconvert-pandoc and nbconvert-all does not.

Installed packages

Not relevant as this is a packaging issue, not a bug with nbconvert.

Environment info

Not relevant as this is a packaging issue, not a bug with nbconvert.

update pandoc version requirement in recipe

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

nbconvert complains about a version mismatch with pandoc:

$ jupyter nbconvert --execute --no-input --to pdf --output=pdf/SummaryReport.pdf notebooks/SummaryReport.ipynb   
[NbConvertApp] Converting notebook notebooks/SummaryReport.ipynb to pdf
/usr/local/Caskroom/miniforge/base/envs/XXX/lib/python3.10/site-packages/nbconvert/utils/pandoc.py:51: RuntimeWarning: You are using an unsupported version of pandoc (3.1.1).
Your version must be at least (1.12.1) but less than (3.0.0).
Refer to https://pandoc.org/installing.html.
Continuing with doubts...
  check_pandoc_version()
[NbConvertApp] Support files will be in pdf/SummaryReport_files/
[...]

Would it be desirable to implement the constraints in https://github.com/jupyter/nbconvert/blob/main/nbconvert/utils/pandoc.py#L16 into the nbconvertrecipe, e.g. in line https://github.com/conda-forge/nbconvert-feedstock/blob/main/recipe/meta.yaml#L80 ?

Installed packages

$ mamba list
# packages in environment at /usr/local/Caskroom/miniforge/base/envs/XXX:
#
# Name                    Version                   Build  Channel
absl-py                   1.4.0              pyhd8ed1ab_0    conda-forge
aiofiles                  22.1.0             pyhd8ed1ab_0    conda-forge
aiohttp                   3.8.4           py310h90acd4f_0    conda-forge
aiohttp-retry             2.8.3              pyhd8ed1ab_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
aiosqlite                 0.18.0             pyhd8ed1ab_0    conda-forge
amqp                      5.1.1              pyhd8ed1ab_0    conda-forge
antlr-python-runtime      4.9.3              pyhd8ed1ab_1    conda-forge
anyio                     3.6.2              pyhd8ed1ab_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0          py310h90acd4f_3    conda-forge
astroid                   2.15.0          py310h2ec42d9_0    conda-forge
asttokens                 2.2.1              pyhd8ed1ab_0    conda-forge
astunparse                1.6.3              pyhd8ed1ab_0    conda-forge
async-timeout             4.0.2              pyhd8ed1ab_0    conda-forge
asyncssh                  2.13.1             pyhd8ed1ab_0    conda-forge
atk-1.0                   2.38.0               h1d18e73_1    conda-forge
atpublic                  3.0.1              pyhd8ed1ab_0    conda-forge
attrs                     22.2.0             pyh71513ae_0    conda-forge
autopep8                  1.6.0              pyhd8ed1ab_1    conda-forge
babel                     2.12.1             pyhd8ed1ab_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                pyhd8ed1ab_3    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.12.0             pyha770c72_0    conda-forge
billiard                  3.6.4.0         py310h90acd4f_3    conda-forge
black                     23.1.0          py310h2ec42d9_0    conda-forge
bleach                    6.0.0              pyhd8ed1ab_0    conda-forge
blinker                   1.5                pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                hb7f2c08_8    conda-forge
brotli-bin                1.0.9                hb7f2c08_8    conda-forge
brotlipy                  0.7.0           py310h90acd4f_1005    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
ca-certificates           2022.12.7            h033912b_0    conda-forge
cached-property           1.5.2                hd8ed1ab_1    conda-forge
cached_property           1.5.2              pyha770c72_1    conda-forge
cachetools                5.3.0              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            h904041c_1014    conda-forge
catboost                  1.1.1           py310h2ec42d9_2    conda-forge
celery                    5.2.7              pyhd8ed1ab_0    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py310ha78151a_3    conda-forge
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge
click                     8.1.3           unix_pyhd8ed1ab_2    conda-forge
click-didyoumean          0.3.0              pyhd8ed1ab_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
click-repl                0.2.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
comm                      0.1.3              pyhd8ed1ab_0    conda-forge
configobj                 5.0.8              pyhd8ed1ab_0    conda-forge
contourpy                 1.0.7           py310ha23aa8a_0    conda-forge
cryptography              39.0.2          py310hdd0c95c_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
debugpy                   1.6.6           py310h7a76584_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
dictdiffer                0.9.0              pyhd8ed1ab_0    conda-forge
dill                      0.3.6              pyhd8ed1ab_1    conda-forge
diskcache                 5.4.0              pyhd8ed1ab_0    conda-forge
distro                    1.8.0              pyhd8ed1ab_0    conda-forge
docstring-to-markdown     0.12               pyhd8ed1ab_0    conda-forge
dpath                     2.1.4           py310h2ec42d9_0    conda-forge
dulwich                   0.21.3          py310h90acd4f_0    conda-forge
dvc                       2.51.0             pyhd8ed1ab_0    conda-forge
dvc-data                  0.44.1             pyhd8ed1ab_0    conda-forge
dvc-http                  2.30.2             pyhd8ed1ab_2    conda-forge
dvc-objects               0.21.1             pyhd8ed1ab_0    conda-forge
dvc-render                0.3.1              pyhd8ed1ab_0    conda-forge
dvc-studio-client         0.6.1              pyhd8ed1ab_0    conda-forge
dvc-task                  0.2.0              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
executing                 1.2.0              pyhd8ed1ab_0    conda-forge
expat                     2.5.0                hf0c8a7f_0    conda-forge
filelock                  3.10.0             pyhd8ed1ab_0    conda-forge
flake8                    6.0.0              pyhd8ed1ab_0    conda-forge
flatbuffers               22.12.06             hf0c8a7f_2    conda-forge
flatten-dict              0.4.2              pyhd8ed1ab_1    conda-forge
flit-core                 3.8.0              pyhd8ed1ab_0    conda-forge
flufl.lock                7.1                pyhd8ed1ab_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.14.2               h5bb23bf_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.39.2          py310h90acd4f_0    conda-forge
freetype                  2.12.1               h3f81eb7_1    conda-forge
fribidi                   1.0.10               hbcb3906_0    conda-forge
frozenlist                1.3.3           py310h90acd4f_0    conda-forge
fsspec                    2023.3.0           pyhd8ed1ab_1    conda-forge
funcy                     1.18               pyhd8ed1ab_0    conda-forge
future                    0.18.3             pyhd8ed1ab_0    conda-forge
gast                      0.4.0              pyh9f0ad1d_0    conda-forge
gdk-pixbuf                2.42.10              he00a9fc_0    conda-forge
gettext                   0.21.1               h8a4c099_0    conda-forge
giflib                    5.2.1                hb7f2c08_3    conda-forge
gitdb                     4.0.10             pyhd8ed1ab_0    conda-forge
gitpython                 3.1.31             pyhd8ed1ab_0    conda-forge
google-auth               2.16.2             pyh1a96a4e_0    conda-forge
google-auth-oauthlib      0.4.6              pyhd8ed1ab_0    conda-forge
google-pasta              0.2.0              pyh8c360ce_0    conda-forge
grandalf                  0.7                pyhd8ed1ab_0    conda-forge
graphite2                 1.3.13            h2e338ed_1001    conda-forge
graphviz                  7.1.0                hc51f7b9_0    conda-forge
grpcio                    1.51.1          py310hdfcfac3_1    conda-forge
gtk2                      2.24.33              h7c1209e_2    conda-forge
gts                       0.7.6                hccb3bdf_2    conda-forge
h5py                      3.8.0           nompi_py310h1de854f_101    conda-forge
harfbuzz                  6.0.0                h08f8713_0    conda-forge
hdf5                      1.14.0          nompi_hbf0aa07_103    conda-forge
hydra-core                1.3.2              pyhd8ed1ab_0    conda-forge
icu                       70.1                 h96cf925_0    conda-forge
idna                      3.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        6.1.0              pyha770c72_0    conda-forge
importlib_metadata        6.1.0                hd8ed1ab_0    conda-forge
importlib_resources       5.12.0             pyhd8ed1ab_0    conda-forge
iprogress                 0.4                        py_0    conda-forge
ipykernel                 6.22.0             pyh736e0ef_0    conda-forge
ipython                   8.11.0             pyhd1c38e8_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
isort                     5.12.0             pyhd8ed1ab_1    conda-forge
iterative-telemetry       0.0.8              pyhd8ed1ab_0    conda-forge
jedi                      0.18.2             pyhd8ed1ab_0    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
joblib                    1.2.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   hb7f2c08_3    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                4.17.3             pyhd8ed1ab_0    conda-forge
jupyter-lsp               2.0.1              pyhd8ed1ab_0    conda-forge
jupyter-server-mathjax    0.2.6              pyh5bfe37b_1    conda-forge
jupyter_client            8.1.0              pyhd8ed1ab_0    conda-forge
jupyter_core              5.3.0           py310h2ec42d9_0    conda-forge
jupyter_events            0.6.3              pyhd8ed1ab_0    conda-forge
jupyter_server            2.5.0              pyhd8ed1ab_0    conda-forge
jupyter_server_fileid     0.8.0              pyhd8ed1ab_0    conda-forge
jupyter_server_terminals  0.4.4              pyhd8ed1ab_1    conda-forge
jupyter_server_ydoc       0.8.0              pyhd8ed1ab_0    conda-forge
jupyter_ydoc              0.2.3              pyhd8ed1ab_0    conda-forge
jupyterlab                3.6.2              pyhd8ed1ab_0    conda-forge
jupyterlab-git            0.41.0             pyhd8ed1ab_1    conda-forge
jupyterlab-lsp            4.0.1              pyhd8ed1ab_0    conda-forge
jupyterlab_code_formatter 1.5.3              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.2.2              pyhd8ed1ab_0    conda-forge
jupyterlab_server         2.21.0             pyhd8ed1ab_0    conda-forge
keras                     2.11.0             pyhd8ed1ab_0    conda-forge
keras-preprocessing       1.1.2              pyhd8ed1ab_0    conda-forge
kiwisolver                1.4.4           py310ha23aa8a_1    conda-forge
kombu                     5.2.4           py310h2ec42d9_2    conda-forge
krb5                      1.20.1               h049b76e_0    conda-forge
lazy-object-proxy         1.9.0           py310h90acd4f_0    conda-forge
lcms2                     2.15                 h29502cd_0    conda-forge
lerc                      4.0.0                hb486fe8_0    conda-forge
libabseil                 20220623.0      cxx17_h844d122_6    conda-forge
libaec                    1.0.6                hf0c8a7f_1    conda-forge
libblas                   3.9.0           16_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                hb7f2c08_8    conda-forge
libbrotlidec              1.0.9                hb7f2c08_8    conda-forge
libbrotlienc              1.0.9                hb7f2c08_8    conda-forge
libcblas                  3.9.0           16_osx64_openblas    conda-forge
libcurl                   7.88.1               h6df9250_1    conda-forge
libcxx                    15.0.7               h71dddab_0    conda-forge
libdeflate                1.17                 hac1461d_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgd                     2.3.3                h4685329_4    conda-forge
libgfortran               5.0.0           11_3_0_h97931a8_31    conda-forge
libgfortran5              12.2.0              he409387_31    conda-forge
libgit2                   1.5.1                h805edec_0    conda-forge
libglib                   2.74.1               h4c723e1_1    conda-forge
libgrpc                   1.51.1               h1ddfa78_1    conda-forge
libiconv                  1.17                 hac89ed1_0    conda-forge
liblapack                 3.9.0           16_osx64_openblas    conda-forge
libnghttp2                1.52.0               he2ab024_0    conda-forge
libopenblas               0.3.21          openmp_h429af6e_3    conda-forge
libpng                    1.6.39               ha978bb4_0    conda-forge
libprotobuf               3.21.12              hbc0c0cd_0    conda-forge
librsvg                   2.54.4               h3d48ba6_0    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libsqlite                 3.40.0               ha978bb4_0    conda-forge
libssh2                   1.10.0               h47af595_3    conda-forge
libtiff                   4.5.0                hee9004a_2    conda-forge
libtool                   2.4.7                hf0c8a7f_0    conda-forge
libwebp                   1.2.4                h70a068d_1    conda-forge
libwebp-base              1.2.4                h775f41a_0    conda-forge
libxcb                    1.13              h0d85af4_1004    conda-forge
libxml2                   2.10.3               h201ad9d_4    conda-forge
libzlib                   1.2.13               hfd90126_4    conda-forge
llvm-openmp               16.0.0               h61d9ccf_0    conda-forge
markdown                  3.4.2              pyhd8ed1ab_0    conda-forge
markdown-it-py            2.2.0              pyhd8ed1ab_0    conda-forge
markupsafe                2.1.2           py310h90acd4f_0    conda-forge
matplotlib                3.7.1           py310h2ec42d9_0    conda-forge
matplotlib-base           3.7.1           py310he725631_0    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mccabe                    0.7.0              pyhd8ed1ab_0    conda-forge
mdurl                     0.1.0              pyhd8ed1ab_0    conda-forge
mistune                   2.0.5              pyhd8ed1ab_0    conda-forge
multidict                 6.0.4           py310h90acd4f_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mypy_extensions           1.0.0              pyha770c72_0    conda-forge
nanotime                  0.5.2                      py_0    conda-forge
nbclassic                 0.5.3              pyhb4ecaf3_3    conda-forge
nbclient                  0.7.2              pyhd8ed1ab_0    conda-forge
nbconvert                 7.2.9              pyhd8ed1ab_0    conda-forge
nbconvert-core            7.2.9              pyhd8ed1ab_0    conda-forge
nbconvert-pandoc          7.2.9              pyhd8ed1ab_0    conda-forge
nbdime                    3.1.1              pyhd8ed1ab_0    conda-forge
nbformat                  5.8.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h96cf925_1    conda-forge
nest-asyncio              1.5.6              pyhd8ed1ab_0    conda-forge
networkx                  3.0                pyhd8ed1ab_0    conda-forge
notebook                  6.5.3              pyha770c72_0    conda-forge
notebook-shim             0.2.2              pyhd8ed1ab_0    conda-forge
numpy                     1.24.2          py310h788a5b3_0    conda-forge
oauthlib                  3.2.2              pyhd8ed1ab_0    conda-forge
omegaconf                 2.3.0              pyhd8ed1ab_0    conda-forge
openjpeg                  2.5.0                h13ac156_2    conda-forge
openssl                   3.1.0                hfd90126_0    conda-forge
opt_einsum                3.3.0              pyhd8ed1ab_1    conda-forge
orjson                    3.8.8           py310h58903bf_0    conda-forge
packaging                 23.0               pyhd8ed1ab_0    conda-forge
pandas                    1.5.3           py310hecf8f37_0    conda-forge
pandoc                    3.1.1                h9d075a6_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pango                     1.50.14              hbd9bf65_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pathlib2                  2.3.7.post1     py310h2ec42d9_2    conda-forge
pathspec                  0.11.1             pyhd8ed1ab_0    conda-forge
pcre2                     10.40                h1c4e4bc_0    conda-forge
pexpect                   4.8.0              pyh1a96a4e_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.4.0           py310h306a057_1    conda-forge
pip                       23.0.1             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               hbcb3906_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
platformdirs              3.1.1              pyhd8ed1ab_0    conda-forge
plotly                    5.13.1             pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0              pyhd8ed1ab_5    conda-forge
pooch                     1.7.0              pyha770c72_2    conda-forge
prometheus_client         0.16.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.38             pyha770c72_0    conda-forge
prompt_toolkit            3.0.38               hd8ed1ab_0    conda-forge
protobuf                  4.21.12         py310h7a76584_0    conda-forge
psutil                    5.9.4           py310h90acd4f_0    conda-forge
pthread-stubs             0.4               hc929b4f_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycodestyle               2.10.0             pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pydocstyle                6.2.3              pyhd8ed1ab_0    conda-forge
pydot                     1.4.2           py310h2ec42d9_3    conda-forge
pyflakes                  3.0.1              pyhd8ed1ab_0    conda-forge
pygit2                    1.11.1          py310h90acd4f_2    conda-forge
pygments                  2.14.0             pyhd8ed1ab_0    conda-forge
pygtrie                   2.5.0              pyhd8ed1ab_0    conda-forge
pyjwt                     2.6.0              pyhd8ed1ab_0    conda-forge
pylint                    2.17.1             pyhd8ed1ab_0    conda-forge
pyopenssl                 23.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyprojroot                0.3.0              pyhd8ed1ab_0    conda-forge
pyrsistent                0.19.3          py310h90acd4f_0    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.10.9          he7542f4_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.3             pyhd8ed1ab_0    conda-forge
python-flatbuffers        23.1.21            pyhd8ed1ab_0    conda-forge
python-graphviz           0.20.1             pyh22cad53_0    conda-forge
python-gssapi             1.8.2           py310h2a85621_2    conda-forge
python-json-logger        2.0.7              pyhd8ed1ab_0    conda-forge
python-lsp-jsonrpc        1.0.0              pyhd8ed1ab_0    conda-forge
python-lsp-server         1.7.1                hd8ed1ab_0    conda-forge
python-lsp-server-base    1.7.1              pyhd8ed1ab_0    conda-forge
python_abi                3.10                    3_cp310    conda-forge
pytoolconfig              1.2.5              pyhd8ed1ab_0    conda-forge
pytz                      2022.7.1           pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pywin32-on-windows        0.1.0              pyh1179c8e_3    conda-forge
pyyaml                    6.0             py310h90acd4f_5    conda-forge
pyzmq                     25.0.2          py310hf615a82_0    conda-forge
re2                       2023.02.01           hf0c8a7f_0    conda-forge
readline                  8.1.2                h3899abd_0    conda-forge
requests                  2.28.2             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1              pyhd8ed1ab_0    conda-forge
rfc3339-validator         0.1.4              pyhd8ed1ab_0    conda-forge
rfc3986-validator         0.1.1              pyh9f0ad1d_0    conda-forge
rich                      13.3.2             pyhd8ed1ab_0    conda-forge
rope                      1.7.0              pyhd8ed1ab_0    conda-forge
rsa                       4.9                pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.21         py310h90acd4f_3    conda-forge
ruamel.yaml.clib          0.2.7           py310h90acd4f_1    conda-forge
scikit-learn              1.2.2           py310hcebe997_0    conda-forge
scipy                     1.10.1          py310h240c617_0    conda-forge
scmrepo                   0.1.15             pyhd8ed1ab_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                67.6.0             pyhd8ed1ab_0    conda-forge
shortuuid                 1.0.11             pyhd8ed1ab_0    conda-forge
shtab                     1.5.8              pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
snappy                    1.1.10               h225ccf5_0    conda-forge
sniffio                   1.3.0              pyhd8ed1ab_0    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.2.post1        pyhd8ed1ab_0    conda-forge
sqltrie                   0.3.0              pyhd8ed1ab_0    conda-forge
stack_data                0.6.2              pyhd8ed1ab_0    conda-forge
tabulate                  0.9.0              pyhd8ed1ab_1    conda-forge
tenacity                  8.2.2              pyhd8ed1ab_0    conda-forge
tensorboard               2.11.2             pyhd8ed1ab_0    conda-forge
tensorboard-data-server   0.6.1           py310hdd0c95c_4    conda-forge
tensorboard-plugin-wit    1.8.1              pyhd8ed1ab_0    conda-forge
tensorflow                2.11.0          cpu_py310h22f808f_0    conda-forge
tensorflow-base           2.11.0          cpu_py310h760b059_0    conda-forge
tensorflow-estimator      2.11.0          cpu_py310h5e669bb_0    conda-forge
termcolor                 2.2.0              pyhd8ed1ab_0    conda-forge
terminado                 0.17.1             pyhd1c38e8_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tinycss2                  1.2.1              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
tomlkit                   0.11.6             pyha770c72_0    conda-forge
tornado                   6.2             py310h90acd4f_1    conda-forge
tqdm                      4.65.0             pyhd8ed1ab_1    conda-forge
traitlets                 5.9.0              pyhd8ed1ab_0    conda-forge
typing                    3.10.0.0           pyhd8ed1ab_0    conda-forge
typing-extensions         4.5.0                hd8ed1ab_0    conda-forge
typing_extensions         4.5.0              pyha770c72_0    conda-forge
tzdata                    2022g                h191b570_0    conda-forge
ujson                     5.7.0           py310h7a76584_0    conda-forge
unicodedata2              15.0.0          py310h90acd4f_0    conda-forge
urllib3                   1.26.15            pyhd8ed1ab_0    conda-forge
vine                      5.0.0              pyhd8ed1ab_1    conda-forge
voluptuous                0.13.1             pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.6              pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.5.1              pyhd8ed1ab_0    conda-forge
werkzeug                  2.2.3              pyhd8ed1ab_0    conda-forge
whatthepatch              1.0.4              pyhd8ed1ab_0    conda-forge
wheel                     0.40.0             pyhd8ed1ab_0    conda-forge
wrapt                     1.15.0          py310h90acd4f_0    conda-forge
xorg-libxau               1.0.9                h35c211d_0    conda-forge
xorg-libxdmcp             1.1.3                h35c211d_0    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
y-py                      0.5.9           py310hb28ce15_0    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
yapf                      0.32.0             pyhd8ed1ab_0    conda-forge
yarl                      1.8.2           py310h90acd4f_0    conda-forge
ypy-websocket             0.8.2              pyhd8ed1ab_0    conda-forge
zc.lockfile               3.0.post1          pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zipp                      3.15.0             pyhd8ed1ab_0    conda-forge
zlib                      1.2.13               hfd90126_4    conda-forge
zstd                      1.5.2                hbc0c0cd_6    conda-forge

Environment info

$ conda info

     active environment : XXX
    active env location : /usr/local/Caskroom/miniforge/base/envs/XXX
            shell level : 2
       user config file : /Users/achim/.condarc
 populated config files : /usr/local/Caskroom/miniforge/base/.condarc
          conda version : 22.11.1
    conda-build version : not installed
         python version : 3.10.9.final.0
       virtual packages : __archspec=1=x86_64
                          __osx=13.2.1=0
                          __unix=0=0
       base environment : /usr/local/Caskroom/miniforge/base  (writable)
      conda av data dir : /usr/local/Caskroom/miniforge/base/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /usr/local/Caskroom/miniforge/base/pkgs
                          /Users/achim/.conda/pkgs
       envs directories : /usr/local/Caskroom/miniforge/base/envs
                          /Users/achim/.conda/envs
               platform : osx-64
             user-agent : conda/22.11.1 requests/2.28.2 CPython/3.10.9 Darwin/22.3.0 OSX/13.2.1
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Environment with nbconvert 5.6.1 and nbconvert-core 6.4.5

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I'm opening this issue after one of our Github action worflows started to fail. I noticed the conda environment it created ended up with nbconvert-5.6.1 and nbconvert-core=6.4.5. Having nbconvert 5 in that environment is expected, we have a dependency (nbsite) that pins it to <6. I can't explain why nbconvert-core ended up being installed to. This can sort of reproduced with this command, which should fail?

conda create -n testo -c conda-forge -c nodefaults --override-channels python=3.8 "nbconvert<6" "nbconvert-core>=6"

It seems like the actual version that gets installed is 6.4.5.

>>> import nbconvert
>>> nbconvert.__version__
'6.4.5'

Installed packages

# packages in environment at /Users/mliquet/miniconda3/envs/testo:
#
# Name                    Version                   Build  Channel
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
beautifulsoup4            4.10.0             pyha770c72_0    conda-forge
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
ca-certificates           2021.10.8            h033912b_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.3           py38h50d1736_1    conda-forge
importlib_resources       5.6.0              pyhd8ed1ab_0    conda-forge
jinja2                    3.1.1              pyhd8ed1ab_0    conda-forge
jsonschema                4.4.0              pyhd8ed1ab_0    conda-forge
jupyter_client            7.2.1              pyhd8ed1ab_0    conda-forge
jupyter_core              4.9.2            py38h50d1736_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
libcxx                    13.0.1               hc203e6f_0    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libzlib                   1.2.11            h6c3fc93_1014    conda-forge
markupsafe                2.1.1            py38hed1de0f_1    conda-forge
mistune                   0.8.4           py38h96a0964_1005    conda-forge
nbclient                  0.5.13             pyhd8ed1ab_0    conda-forge
nbconvert                 5.6.1              pyhd8ed1ab_2    conda-forge
nbconvert-core            6.4.5              pyhd8ed1ab_1    conda-forge
nbformat                  5.2.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  he49afe7_0    conda-forge
nest-asyncio              1.5.4              pyhd8ed1ab_0    conda-forge
openssl                   3.0.2                h6c3fc93_1    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
pip                       22.0.4             pyhd8ed1ab_0    conda-forge
pygments                  2.11.2             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.7              pyhd8ed1ab_0    conda-forge
pyrsistent                0.18.1           py38h96a0964_0    conda-forge
python                    3.8.13          h66c20e1_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pyzmq                     22.3.0           py38hd3b92b6_1    conda-forge
readline                  8.1                  h05e3726_0    conda-forge
setuptools                61.3.0           py38h50d1736_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
sqlite                    3.37.1               hb516253_0    conda-forge
testpath                  0.6.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
tornado                   6.1              py38h96a0964_2    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zipp                      3.7.0              pyhd8ed1ab_1    conda-forge
zlib                      1.2.11            h6c3fc93_1014    conda-forge

Environment info

active environment : testo
    active env location : /Users/mliquet/miniconda3/envs/testo
            shell level : 1
       user config file : /Users/mliquet/.condarc
 populated config files : /Users/mliquet/.condarc
          conda version : 4.12.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __osx=10.16=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/mliquet/miniconda3  (writable)
      conda av data dir : /Users/mliquet/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/mliquet/miniconda3/pkgs
                          /Users/mliquet/.conda/pkgs
       envs directories : /Users/mliquet/miniconda3/envs
                          /Users/mliquet/.conda/envs
               platform : osx-64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.5 Darwin/20.6.0 OSX/10.16
                UID:GID : 502:20
             netrc file : None
           offline mode : False

pandoc should be an optional, not required, dependency

I think that pandoc should be an optional dependency of nbconvert, not a required one.

Per the nbconvert docs:

To unlock nbconvertโ€™s full capabilities requires Pandoc and TeX (specifically, XeLaTeX). These must be installed separately.

The nbconvert README mentions pandoc only in the "development install" instructions and does not claim it as a required dependency.

For my use-case I only care about converting to HTML and I don't want pandoc to be automatically installed because it adds significant file-size bloat. This is especially a problem when moving from pip to conda because pip install nbconvert didn't install pandoc.

Conda has a currently-undocumented feature for marking optional dependencies as run_constrained: conda/conda#1696. Perhaps this mechanism could be used to express the relationship between nbconvert and pandoc without forcing the latter to be installed?

Perhaps my use-case is uncommon, but I wanted to open an issue to start discussion because I currently need to perform an ugly workaround to remove pandoc after installation.

AttributeError: module 'tornado.web' has no attribute 'asynchronous'

Creating an env with jupyter_contrib_nbextensions triggers a tornado error in nbconvert. nbconvert does not depended on tornado directly so I'm not sure what package is pulling the bad version.

> conda create --name TEST python=3.7 jupyter ipykernel jupyter_contrib_nbextensions
Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: /home/filipe/miniconda3/envs/TEST

  added / updated specs:
    - ipykernel
    - jupyter
    - jupyter_contrib_nbextensions
    - python=3.7


The following NEW packages will be INSTALLED:

  atk                conda-forge/linux-64::atk-2.25.90-hb9dd440_1002
  attrs              conda-forge/noarch::attrs-19.1.0-py_0
  backcall           conda-forge/noarch::backcall-0.1.0-py_0
  bleach             conda-forge/noarch::bleach-3.1.0-py_0
  bzip2              conda-forge/linux-64::bzip2-1.0.6-h14c3975_1002
  ca-certificates    conda-forge/linux-64::ca-certificates-2018.11.29-ha4d7672_0
  cairo              conda-forge/linux-64::cairo-1.16.0-ha4e643d_1000
  certifi            conda-forge/linux-64::certifi-2018.11.29-py37_1000
  dbus               conda-forge/linux-64::dbus-1.13.0-h4e0c4b3_1000
  decorator          conda-forge/noarch::decorator-4.3.2-py_0
  entrypoints        conda-forge/linux-64::entrypoints-0.3-py37_1000
  expat              conda-forge/linux-64::expat-2.2.5-hf484d3e_1002
  fontconfig         conda-forge/linux-64::fontconfig-2.13.1-h2176d3f_1000
  freetype           conda-forge/linux-64::freetype-2.9.1-h94bbf69_1005
  gdk-pixbuf         conda-forge/linux-64::gdk-pixbuf-2.36.12-h49783d7_1002
  gettext            conda-forge/linux-64::gettext-0.19.8.1-h9745a5d_1001
  glib               conda-forge/linux-64::glib-2.58.3-hf63aee3_1001
  gobject-introspec~ conda-forge/linux-64::gobject-introspection-1.58.2-py37h2da5eee_1000
  graphite2          conda-forge/linux-64::graphite2-1.3.13-hf484d3e_1000
  gstreamer          conda-forge/linux-64::gstreamer-1.14.4-h66beb1c_1001
  gtk2               conda-forge/linux-64::gtk2-2.24.31-hb68c50a_1001
  harfbuzz           conda-forge/linux-64::harfbuzz-2.3.1-h6824563_0
  icu                conda-forge/linux-64::icu-58.2-hf484d3e_1000
  ipykernel          conda-forge/linux-64::ipykernel-5.1.0-py37h24bf2e0_1002
  ipython            conda-forge/linux-64::ipython-7.3.0-py37h24bf2e0_0
  ipython_genutils   conda-forge/noarch::ipython_genutils-0.2.0-py_1
  ipywidgets         conda-forge/noarch::ipywidgets-7.4.2-py_0
  jedi               conda-forge/linux-64::jedi-0.13.3-py37_0
  jinja2             conda-forge/noarch::jinja2-2.10-py_1
  jpeg               conda-forge/linux-64::jpeg-9c-h14c3975_1001
  jsonschema         conda-forge/linux-64::jsonschema-3.0.1-py37_0
  jupyter            conda-forge/noarch::jupyter-1.0.0-py_1
  jupyter_client     conda-forge/noarch::jupyter_client-5.2.4-py_3
  jupyter_console    conda-forge/noarch::jupyter_console-6.0.0-py_0
  jupyter_contrib_c~ conda-forge/noarch::jupyter_contrib_core-0.3.3-py_2
  jupyter_contrib_n~ conda-forge/linux-64::jupyter_contrib_nbextensions-0.5.1-py37_0
  jupyter_core       conda-forge/noarch::jupyter_core-4.4.0-py_0
  jupyter_highlight~ conda-forge/linux-64::jupyter_highlight_selected_word-0.2.0-py37_1000
  jupyter_latex_envs conda-forge/linux-64::jupyter_latex_envs-1.4.4-py37_1000
  jupyter_nbextensi~ conda-forge/linux-64::jupyter_nbextensions_configurator-0.4.1-py37_0
  libffi             conda-forge/linux-64::libffi-3.2.1-hf484d3e_1005
  libgcc-ng          conda-forge/linux-64::libgcc-ng-7.3.0-hdf63c60_0
  libiconv           conda-forge/linux-64::libiconv-1.15-h14c3975_1004
  libpng             conda-forge/linux-64::libpng-1.6.36-h84994c4_1000
  libsodium          conda-forge/linux-64::libsodium-1.0.16-h14c3975_1001
  libstdcxx-ng       conda-forge/linux-64::libstdcxx-ng-7.3.0-hdf63c60_0
  libtiff            conda-forge/linux-64::libtiff-4.0.10-h9022e91_1002
  libuuid            conda-forge/linux-64::libuuid-2.32.1-h14c3975_1000
  libxcb             conda-forge/linux-64::libxcb-1.13-h14c3975_1002
  libxml2            conda-forge/linux-64::libxml2-2.9.8-h143f9aa_1005
  libxslt            conda-forge/linux-64::libxslt-1.1.32-h4785a14_1002
  lxml               conda-forge/linux-64::lxml-4.3.2-py37h23eabaa_0
  markupsafe         conda-forge/linux-64::markupsafe-1.1.1-py37h14c3975_0
  mistune            conda-forge/linux-64::mistune-0.8.4-py37h14c3975_1000
  nbconvert          conda-forge/noarch::nbconvert-5.3.1-py_1
  nbformat           conda-forge/noarch::nbformat-4.4.0-py_1
  ncurses            conda-forge/linux-64::ncurses-6.1-hf484d3e_1002
  notebook           conda-forge/linux-64::notebook-5.7.5-py37_0
  openssl            conda-forge/linux-64::openssl-1.0.2r-h14c3975_0
  pandoc             conda-forge/linux-64::pandoc-2.6-1
  pandocfilters      conda-forge/noarch::pandocfilters-1.4.2-py_1
  pango              conda-forge/linux-64::pango-1.40.14-h4ea9474_1004
  parso              conda-forge/noarch::parso-0.3.4-py_0
  pcre               conda-forge/linux-64::pcre-8.41-hf484d3e_1003
  pexpect            conda-forge/linux-64::pexpect-4.6.0-py37_1000
  pickleshare        conda-forge/linux-64::pickleshare-0.7.5-py37_1000
  pip                conda-forge/linux-64::pip-19.0.3-py37_0
  pixman             conda-forge/linux-64::pixman-0.34.0-h14c3975_1003
  prometheus_client  conda-forge/noarch::prometheus_client-0.6.0-py_0
  prompt_toolkit     conda-forge/noarch::prompt_toolkit-2.0.9-py_0
  pthread-stubs      conda-forge/linux-64::pthread-stubs-0.4-h14c3975_1001
  ptyprocess         conda-forge/linux-64::ptyprocess-0.6.0-py37_1000
  pygments           conda-forge/noarch::pygments-2.3.1-py_0
  pyqt               conda-forge/linux-64::pyqt-5.6.0-py37h13b7fb3_1008
  pyrsistent         conda-forge/linux-64::pyrsistent-0.14.11-py37h14c3975_0
  python             conda-forge/linux-64::python-3.7.1-hd21baee_1001
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  pyyaml             conda-forge/linux-64::pyyaml-3.13-py37h14c3975_1001
  pyzmq              conda-forge/linux-64::pyzmq-18.0.1-py37h0e1adb2_0
  qt                 conda-forge/linux-64::qt-5.6.2-hce4f676_1013
  qtconsole          conda-forge/noarch::qtconsole-4.4.3-py_0
  readline           conda-forge/linux-64::readline-7.0-hf8c457e_1001
  send2trash         conda-forge/noarch::send2trash-1.5.0-py_0
  setuptools         conda-forge/linux-64::setuptools-40.8.0-py37_0
  sip                conda-forge/linux-64::sip-4.18.1-py37hf484d3e_1000
  six                conda-forge/linux-64::six-1.12.0-py37_1000
  sqlite             conda-forge/linux-64::sqlite-3.26.0-h67949de_1000
  terminado          conda-forge/linux-64::terminado-0.8.1-py37_1001
  testpath           conda-forge/linux-64::testpath-0.4.2-py37_1000
  tk                 conda-forge/linux-64::tk-8.6.9-h84994c4_1000
  tornado            conda-forge/linux-64::tornado-6.0.1-py37h14c3975_0
  traitlets          conda-forge/linux-64::traitlets-4.3.2-py37_1000
  wcwidth            conda-forge/noarch::wcwidth-0.1.7-py_1
  webencodings       conda-forge/noarch::webencodings-0.5.1-py_1
  wheel              conda-forge/linux-64::wheel-0.33.1-py37_0
  widgetsnbextension conda-forge/linux-64::widgetsnbextension-3.4.2-py37_1000
  xorg-kbproto       conda-forge/linux-64::xorg-kbproto-1.0.7-h14c3975_1002
  xorg-libice        conda-forge/linux-64::xorg-libice-1.0.9-h14c3975_1004
  xorg-libsm         conda-forge/linux-64::xorg-libsm-1.2.3-h4937e3b_1000
  xorg-libx11        conda-forge/linux-64::xorg-libx11-1.6.7-h14c3975_1000
  xorg-libxau        conda-forge/linux-64::xorg-libxau-1.0.9-h14c3975_0
  xorg-libxdmcp      conda-forge/linux-64::xorg-libxdmcp-1.1.2-h14c3975_1007
  xorg-libxext       conda-forge/linux-64::xorg-libxext-1.3.3-h14c3975_1004
  xorg-libxrender    conda-forge/linux-64::xorg-libxrender-0.9.10-h14c3975_1002
  xorg-libxt         conda-forge/linux-64::xorg-libxt-1.1.5-h14c3975_1002
  xorg-renderproto   conda-forge/linux-64::xorg-renderproto-0.11.1-h14c3975_1002
  xorg-xextproto     conda-forge/linux-64::xorg-xextproto-7.3.0-h14c3975_1002
  xorg-xproto        conda-forge/linux-64::xorg-xproto-7.0.31-h14c3975_1007
  xz                 conda-forge/linux-64::xz-5.2.4-h14c3975_1001
  yaml               conda-forge/linux-64::yaml-0.1.7-h14c3975_1001
  zeromq             conda-forge/linux-64::zeromq-4.2.5-hf484d3e_1006
  zlib               conda-forge/linux-64::zlib-1.2.11-h14c3975_1004
  zstd               conda-forge/linux-64::zstd-1.3.3-1


Proceed ([y]/n)? y

Preparing transaction: done
Executing transaction: - Enabling notebook extension jupyter-js-widgets/extension...
      - Validating: OK

/ ++ /home/filipe/miniconda3/envs/TEST/bin/python -c 'import logging; from jupyter_contrib_core.notebook_compat.nbextensions import install_nbextension_python; install_nbextension_python('\''jupyter_highlight_selected_word'\'', sys_prefix=True, logger=logging.getLogger())'

| ++ /home/filipe/miniconda3/envs/TEST/bin/python -c 'import logging; from jupyter_contrib_core.notebook_compat.nbextensions import install_nbextension_python; install_nbextension_python('\''latex_envs'\'', sys_prefix=True, logger=logging.getLogger())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 211, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 1122, in _get_nbextension_metadata
    m = import_item(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/traitlets/utils/importstring.py", line 42, in import_item
    return __import__(parts[0])
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/__init__.py", line 3, in <module>
    from . import latex_envs
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/latex_envs.py", line 20, in <module>
    from nbconvert.exporters.exporter import Exporter
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/__init__.py", line 7, in <module>
    from . import postprocessors
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/__init__.py", line 5, in <module>
    from .serve import ServePostProcessor
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 19, in <module>
    class ProxyHandler(web.RequestHandler):
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 21, in ProxyHandler
    @web.asynchronous
AttributeError: module 'tornado.web' has no attribute 'asynchronous'

failed
ERROR conda.core.link:_execute(543): An error occurred while installing package 'conda-forge::jupyter_latex_envs-1.4.4-py37_1000'.
LinkError: post-link script failed for package conda-forge::jupyter_latex_envs-1.4.4-py37_1000
running your command again with `-v` will provide additional information
location of failed script: /home/filipe/miniconda3/envs/TEST/bin/.jupyter_latex_envs-post-link.sh
==> script messages <==
++ /home/filipe/miniconda3/envs/TEST/bin/python -c 'import logging; from jupyter_contrib_core.notebook_compat.nbextensions import install_nbextension_python; install_nbextension_python('\''latex_envs'\'', sys_prefix=True, logger=logging.getLogger())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 211, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 1122, in _get_nbextension_metadata
    m = import_item(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/traitlets/utils/importstring.py", line 42, in import_item
    return __import__(parts[0])
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/__init__.py", line 3, in <module>
    from . import latex_envs
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/latex_envs.py", line 20, in <module>
    from nbconvert.exporters.exporter import Exporter
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/__init__.py", line 7, in <module>
    from . import postprocessors
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/__init__.py", line 5, in <module>
    from .serve import ServePostProcessor
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 19, in <module>
    class ProxyHandler(web.RequestHandler):
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 21, in ProxyHandler
    @web.asynchronous
AttributeError: module 'tornado.web' has no attribute 'asynchronous'


Attempting to roll back.

Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::jupyter_latex_envs-1.4.4-py37_1000
running your command again with `-v` will provide additional information
location of failed script: /home/filipe/miniconda3/envs/TEST/bin/.jupyter_latex_envs-post-link.sh
==> script messages <==
++ /home/filipe/miniconda3/envs/TEST/bin/python -c 'import logging; from jupyter_contrib_core.notebook_compat.nbextensions import install_nbextension_python; install_nbextension_python('\''latex_envs'\'', sys_prefix=True, logger=logging.getLogger())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 211, in install_nbextension_python
    m, nbexts = _get_nbextension_metadata(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/notebook/nbextensions.py", line 1122, in _get_nbextension_metadata
    m = import_item(module)
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/traitlets/utils/importstring.py", line 42, in import_item
    return __import__(parts[0])
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/__init__.py", line 3, in <module>
    from . import latex_envs
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/latex_envs/latex_envs.py", line 20, in <module>
    from nbconvert.exporters.exporter import Exporter
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/__init__.py", line 7, in <module>
    from . import postprocessors
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/__init__.py", line 5, in <module>
    from .serve import ServePostProcessor
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 19, in <module>
    class ProxyHandler(web.RequestHandler):
  File "/home/filipe/miniconda3/envs/TEST/lib/python3.7/site-packages/nbconvert/postprocessors/serve.py", line 21, in ProxyHandler
    @web.asynchronous
AttributeError: module 'tornado.web' has no attribute 'asynchronous'

Ping @minrk

[warning] failed package validation and/or copy for commit c2a6351dd66e23da92e7895333e7a217c9adfb6e

Hi @conda-forge/nbconvert! This is the friendly automated conda-forge-webservice!

It appears that one or more of your feedstock's outputs did not copy from the
staging channel (cf-staging) to the production channel (conda-forge). :(

This failure can happen for a lot of reasons, including an outdated feedstock
token. Below we have put some information about the failure to help you debug it.

Rerendering the feedstock will usually fix these problems.

If you have any issues or questions, you can find us on gitter in the
community chat room or you can bump us right here.

output validation (is this output allowed for your feedstock?):

  • noarch/nbconvert-7.3.0-pyhd8ed1ab_1.conda: True

copied (did this output get copied to the production channel?):

  • noarch/nbconvert-7.3.0-pyhd8ed1ab_1.conda: False

Restore pin_subpackage in nbconvert-core

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

In #74 we added a hand-made run_constrained spec from nbconvert-core to nbconvert to fix #73. This might make things more fragile in the future.

We should try to go to pin_subpackage when conda/conda-build#4415 is resolved

Installed packages

conda-build 3.21.8

Environment info

2022-04-01T10:17:09.1971703Z 
2022-04-01T10:17:09.1973007Z      active environment : base
2022-04-01T10:17:09.1973575Z     active env location : /opt/conda
2022-04-01T10:17:09.1974050Z             shell level : 1
2022-04-01T10:17:09.1974537Z        user config file : /home/conda/.condarc
2022-04-01T10:17:09.1975074Z  populated config files : /opt/conda/.condarc
2022-04-01T10:17:09.1975571Z                           /home/conda/.condarc
2022-04-01T10:17:09.1976031Z           conda version : 4.12.0
2022-04-01T10:17:09.1977017Z     conda-build version : 3.21.8
2022-04-01T10:17:09.1977551Z          python version : 3.9.12.final.0
2022-04-01T10:17:09.1978242Z        virtual packages : __linux=5.13.0=0
2022-04-01T10:17:09.1978723Z                           __glibc=2.17=0
2022-04-01T10:17:09.1979180Z                           __unix=0=0
2022-04-01T10:17:09.1979674Z                           __archspec=1=x86_64
2022-04-01T10:17:09.1980176Z        base environment : /opt/conda  (writable)
2022-04-01T10:17:09.1980693Z       conda av data dir : /opt/conda/etc/conda
2022-04-01T10:17:09.1981198Z   conda av metadata url : None
2022-04-01T10:17:09.1981938Z            channel URLs : https://conda.anaconda.org/conda-forge/linux-64
2022-04-01T10:17:09.1984948Z                           https://conda.anaconda.org/conda-forge/noarch
2022-04-01T10:17:09.1985392Z           package cache : /opt/conda/pkgs
2022-04-01T10:17:09.1985768Z                           /home/conda/.conda/pkgs
2022-04-01T10:17:09.1986132Z        envs directories : /opt/conda/envs
2022-04-01T10:17:09.1986500Z                           /home/conda/.conda/envs
2022-04-01T10:17:09.1987010Z                platform : linux-64
2022-04-01T10:17:09.1987720Z              user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.12 Linux/5.13.0-1017-azure centos/7.9.2009 glibc/2.17
2022-04-01T10:17:09.1988257Z                 UID:GID : 1001:1001
2022-04-01T10:17:09.1988607Z              netrc file : None
2022-04-01T10:17:09.1988942Z            offline mode : False
2022-04-01T10:17:09.1989145Z

Update to nbconvert package requirements

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I cannot launch a jupyter notebook after creating a new minimal environment with conda-forge as my primary channel. I think the issue may be to do with the dependency chain of nbconvert.

$ conda create -n py39 python=3.9 numpy matplotlib ipython jupyter
$ conda activate py39
$ jupyter notebook

[I 12:24:36.004 NotebookApp] Creating new notebook in 
[E 12:24:36.112 NotebookApp] Uncaught exception GET /notebooks/Untitled3.ipynb?kernel_name=python3 (::1)
    HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/notebooks/Untitled3.ipynb?kernel_name=python3', version='HTTP/1.1', remote_ip='::1')
    Traceback (most recent call last):
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/tornado/web.py", line 1713, in _execute
        result = await result
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/tornado/gen.py", line 782, in run
        yielded = self.gen.send(value)
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/notebook/handlers.py", line 94, in get
        self.write(self.render_template('notebook.html',
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/base/handlers.py", line 511, in render_template
        return template.render(**ns)
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/jinja2/environment.py", line 1301, in render
        self.environment.handle_exception()
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/jinja2/environment.py", line 936, in handle_exception
        raise rewrite_traceback_stack(source=source)
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/templates/notebook.html", line 1, in top-level template code
        {% extends "page.html" %}
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/templates/page.html", line 154, in top-level template code
        {% block header %}
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/templates/notebook.html", line 115, in block 'header'
        {% for exporter in get_frontend_exporters() %}
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/notebook/notebook/handlers.py", line 23, in get_frontend_exporters
        from nbconvert.exporters.base import get_export_names, get_exporter
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/__init__.py", line 4, in <module>
        from .exporters import *
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/exporters/__init__.py", line 3, in <module>
        from .html import HTMLExporter
      File "/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/exporters/html.py", line 12, in <module>
        from jinja2 import contextfilter
    ImportError: cannot import name 'contextfilter' from 'jinja2' (/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/jinja2/__init__.py)
[E 12:24:36.118 NotebookApp] {
      "Host": "localhost:8888",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
      "Referer": "http://localhost:8888/tree",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
    }
[E 12:24:36.118 NotebookApp] 500 GET /notebooks/Untitled3.ipynb?kernel_name=python3 (::1) 50.470000ms referer=http://localhost:8888/tree

The reason I think the issue may be to do with nbconvert is that this traceback:

 ImportError: cannot import name 'contextfilter' from 'jinja2'

After launching ipython, I can successfully import jinja2, but not nbconvert:

In [1]: import jinja2

In [2]: import nbconvert
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In [2], line 1
----> 1 import nbconvert

File ~/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/__init__.py:4
      1 """Utilities for converting notebooks to and from different formats."""
      3 from ._version import version_info, __version__
----> 4 from .exporters import *
      5 from . import filters
      6 from . import preprocessors

File ~/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/exporters/__init__.py:3
      1 from .base import (export, get_exporter, 
      2                    ExporterNameError, get_export_names)
----> 3 from .html import HTMLExporter
      4 from .slides import SlidesExporter
      5 from .templateexporter import TemplateExporter

File ~/opt/miniconda3/envs/py39/lib/python3.9/site-packages/nbconvert/exporters/html.py:12
     10 from traitlets.config import Config
     11 from jupyter_core.paths import jupyter_path
---> 12 from jinja2 import contextfilter
     14 from nbconvert.filters.highlight import Highlight2HTML
     15 from nbconvert.filters.markdown_mistune import IPythonRenderer, MarkdownWithMath

ImportError: cannot import name 'contextfilter' from 'jinja2' (/Users/aphearin/opt/miniconda3/envs/py39/lib/python3.9/site-packages/jinja2/__init__.py)

Installed packages

(py39) aphearin 0927 $ conda list
# packages in environment at /Users/aphearin/opt/miniconda3/envs/py39:
#
# Name                    Version                   Build  Channel
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0           py39h63b48b0_2    conda-forge
asttokens                 2.0.8              pyhd8ed1ab_0    conda-forge
attrs                     22.1.0             pyh71513ae_1    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
bleach                    5.0.1              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h5eb16cf_7    conda-forge
brotli-bin                1.0.9                h5eb16cf_7    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
ca-certificates           2022.9.24            h033912b_0    conda-forge
certifi                   2022.9.24          pyhd8ed1ab_0    conda-forge
cffi                      1.15.1           py39hae9ecf2_0    conda-forge
contourpy                 1.0.5            py39h92daf61_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
dbus                      1.13.6               h811a1a6_3    conda-forge
debugpy                   1.6.3            py39hd91caee_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
executing                 1.1.0              pyhd8ed1ab_0    conda-forge
expat                     2.4.9                hf0c8a7f_0    conda-forge
flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
fonttools                 4.37.3           py39ha30fb19_0    conda-forge
freetype                  2.12.1               h3f81eb7_0    conda-forge
gettext                   0.19.8.1          h8a4c099_1009    conda-forge
icu                       68.2                 he49afe7_0    conda-forge
importlib-metadata        4.11.4           py39h6e9494a_0    conda-forge
importlib_resources       5.9.0              pyhd8ed1ab_0    conda-forge
ipykernel                 6.16.0             pyh736e0ef_0    conda-forge
ipython                   8.5.0              pyhd1c38e8_1    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                8.0.2              pyhd8ed1ab_1    conda-forge
jedi                      0.18.1             pyhd8ed1ab_2    conda-forge
jinja2                    3.1.2              pyhd8ed1ab_1    conda-forge
jpeg                      9e                   hac89ed1_2    conda-forge
jsonschema                4.16.0             pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0            py39h6e9494a_7    conda-forge
jupyter_client            7.3.5              pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.4              pyhd8ed1ab_0    conda-forge
jupyter_core              4.11.1           py39h6e9494a_0    conda-forge
jupyterlab_widgets        3.0.3              pyhd8ed1ab_0    conda-forge
kiwisolver                1.4.4            py39h7c694c3_0    conda-forge
krb5                      1.19.3               hb98e516_0    conda-forge
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      4.0.0                hb486fe8_0    conda-forge
libblas                   3.9.0           16_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h5eb16cf_7    conda-forge
libbrotlidec              1.0.9                h5eb16cf_7    conda-forge
libbrotlienc              1.0.9                h5eb16cf_7    conda-forge
libcblas                  3.9.0           16_osx64_openblas    conda-forge
libclang                  11.1.0          default_he082bbe_1    conda-forge
libcxx                    14.0.6               hccf4f1f_0    conda-forge
libdeflate                1.14                 hb7f2c08_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgfortran               5.0.0           10_4_0_h97931a8_25    conda-forge
libgfortran5              11.3.0              h082f757_25    conda-forge
libglib                   2.72.1               hfbcb929_0    conda-forge
libiconv                  1.17                 hac89ed1_0    conda-forge
liblapack                 3.9.0           16_osx64_openblas    conda-forge
libllvm11                 11.1.0               hd011deb_3    conda-forge
libopenblas               0.3.21          openmp_h429af6e_3    conda-forge
libpng                    1.6.38               ha978bb4_0    conda-forge
libpq                     13.5                 h8ce7ee7_1    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libsqlite                 3.39.3               ha978bb4_0    conda-forge
libtiff                   4.4.0                hdb44e8a_4    conda-forge
libwebp-base              1.2.4                h775f41a_0    conda-forge
libxcb                    1.13              h0d85af4_1004    conda-forge
libzlib                   1.2.12               hfd90126_3    conda-forge
llvm-openmp               14.0.4               ha654fa7_0    conda-forge
markupsafe                2.1.1            py39h63b48b0_1    conda-forge
matplotlib                3.6.0            py39h6e9494a_0    conda-forge
matplotlib-base           3.6.0            py39hb2f573b_0    conda-forge
matplotlib-inline         0.1.6              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py39h89e85a6_1005    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.0.30               hc4b2c72_1    conda-forge
mysql-libs                8.0.30               h8658499_1    conda-forge
nbconvert                 5.6.1              pyhd8ed1ab_2    conda-forge
nbformat                  5.6.1              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  h96cf925_1    conda-forge
nest-asyncio              1.5.5              pyhd8ed1ab_0    conda-forge
notebook                  6.4.12             pyha770c72_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.78                 ha8197d3_0    conda-forge
numpy                     1.23.3           py39h34843a6_0    conda-forge
openjpeg                  2.5.0                h5d0d7b0_1    conda-forge
openssl                   3.0.5                hfd90126_2    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.2.0            py39h4d560c1_2    conda-forge
pip                       22.2.2             pyhd8ed1ab_0    conda-forge
pkgutil-resolve-name      1.3.10             pyhd8ed1ab_0    conda-forge
prometheus_client         0.14.1             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.31             pyha770c72_0    conda-forge
prompt_toolkit            3.0.31               hd8ed1ab_0    conda-forge
psutil                    5.9.2            py39ha30fb19_0    conda-forge
pthread-stubs             0.4               hc929b4f_1001    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
pure_eval                 0.2.2              pyhd8ed1ab_0    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pygments                  2.13.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.9              pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py39h9d385e7_4    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pyrsistent                0.18.1           py39h63b48b0_1    conda-forge
python                    3.9.13          hf8d34f4_0_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.16.2             pyhd8ed1ab_0    conda-forge
python_abi                3.9                      2_cp39    conda-forge
pyzmq                     24.0.1           py39hed8f129_0    conda-forge
qt                        5.12.9               h126340a_4    conda-forge
qtconsole                 5.3.2              pyhd8ed1ab_0    conda-forge
qtconsole-base            5.3.2              pyha770c72_0    conda-forge
qtpy                      2.2.0              pyhd8ed1ab_0    conda-forge
readline                  8.1.2                h3899abd_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                65.4.0             pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sqlite                    3.39.3               h9ae0607_0    conda-forge
stack_data                0.5.1              pyhd8ed1ab_0    conda-forge
terminado                 0.15.0           py39h6e9494a_0    conda-forge
testpath                  0.6.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
tornado                   6.2              py39h701faf5_0    conda-forge
traitlets                 5.4.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.3.0              pyha770c72_0    conda-forge
tzdata                    2022d                h191b570_0    conda-forge
unicodedata2              14.0.0           py39h63b48b0_1    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
widgetsnbextension        4.0.3              pyhd8ed1ab_0    conda-forge
xorg-libxau               1.0.9                h35c211d_0    conda-forge
xorg-libxdmcp             1.1.3                h35c211d_0    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zipp                      3.8.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.12               hfd90126_3    conda-forge
zstd                      1.5.2                hfa58983_4    conda-forge

Environment info

(py39) aphearin 0927 $ conda info

     active environment : py39
    active env location : /Users/aphearin/opt/miniconda3/envs/py39
            shell level : 3
       user config file : /Users/aphearin/.condarc
 populated config files : /Users/aphearin/.condarc
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.7.12.final.0
       virtual packages : __osx=10.15.7=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/aphearin/opt/miniconda3  (writable)
      conda av data dir : /Users/aphearin/opt/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/aphearin/opt/miniconda3/pkgs
                          /Users/aphearin/.conda/pkgs
       envs directories : /Users/aphearin/opt/miniconda3/envs
                          /Users/aphearin/.conda/envs
               platform : osx-64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.7.12 Darwin/19.6.0 OSX/10.15.7
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Add a hint for pandoc and miktex on windows?

conda-forge now includes a latex environment (miktex) and pandoc, both repackaged binaries from upstream.

I'm not sure if this should get a real dependency or better "just" an error message which basically says that these packages should be installed into the root environment (no need to install it into all environments where nbconvert is installed, especially if the notebook is started without activating the specific environment first, which then would not have the executables in PATH -> as the root environment is always kept in PATH and is added to PATH by the miniconda installer, installed binaries in the root environment work even in sub-environments).

Multiple outputs for e.g. webpdf, pandoc

Hey folks!

Over on conda-forge/staged-recipes#12516 (comment) we've been chatting about the tradeoffs of offering a jupyter-book-webpdf, which would be somewhat simpler if there was an nbconvert-webpdf which already carried the pyppeteer pin, beyond what run_constrained would do.

However we solve it over there, we could take the opportunity to offer, a la matplotlib[-base]

  • nbconvert-core (which could be noarch: python) that still carried all the run_constrained pieces, but was lighter-weight and -featured (#24)
  • nbconvert that actually required pandoc, and therefore could not be noarch: python, for now
  • nbconvert-webpdf that acutally required pyppeteer, and could actually also be noarch: python

It would take a while (or maybe a migration) to get everything that didn't specifically need the pandoc capability to use -core, but eventually, maybe, (more) people could be happy(er).

I'm happy to work up a PR if people think this is a good idea.

Missing dependency on six?

I just got this while trying to export a notebook to PDF in the notebook UI: Could not construct Exporter: No module named 'six'.

Installing six into the conda environment which contained the notebook server and nbconvert fixed the problem. This issue is placed here because I think that nbconvert is called directly via the python modules: https://github.com/jupyter/notebook/blob/32011e3bad2aad1bb49557dbf5c58bf973e44ab0/notebook/nbconvert/handlers.py#L56-L73

Here is the log:

[W 13:37:34.977 NotebookApp] 500 GET /nbconvert/pdf/Editors_5_Analysis_R_unmatch
ed.ipynb?download=true (::1): Could not construct Exporter: No module named 'six
'
[E 13:37:34.985 NotebookApp] {
      "Accept-Encoding": "gzip, deflate, sdch",
      "Upgrade-Insecure-Requests": "1",
      "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
      "Referer": "http://localhost:8888/notebooks/Editors_5_Analysis_R_unmatched.ipynb",
      "Accept-Language": "de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4",
      "Connection": "keep-alive",
      "Host": "localhost:8888",
      "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36",
      "Cookie": "gsScrollPos="
    }
[E 13:37:34.987 NotebookApp] 500 GET /nbconvert/pdf/Editors_5_Analysis_R_unmatch
ed.ipynb?download=true (::1) 691.04ms referer=http://localhost:8888/notebooks/Ed
itors_5_Analysis_R_unmatched.ipynb

Use of nbconvert, nbconvert-core for downstreams?

Comment:

Question

How might we best balance nbconvert builds and features for all users?

Problem

With #47, most users that directly install nbconvert will see no change, and will continue to see updates as they are released, and have access to pandoc-driven features. If using nbconvert as a general purpose CLI tool, this is probably the right behavior.

New platforms/pythons will not require new builds of any of the nbconvert(-*) packages, because all of them are noarch.

However, users of (new) platforms without pandoc builds will get 6.4.5_*_0, even if later versions come along.

Ideas

  • encourage use of nbconvert-core for:
    • noarch downstreams consuming it as a library
      • e.g. jupyter_server
  • encourage use of nbconvert for:
    • downstreams that explicitly make use of latex/pandoc features
      • e.g. ???
  • encourage choosing between them with selectors
    • non-noarch downstreams
      • e.g. jupyter already special-cases qtconsole

Alternatives

  • it is possible to do some tricks with conda_build_config.yaml to achieve multiple noarch: python packages
    • can't really recommend in this case, as the behavior of these can be rather tricky to anticipate... and might not work at all, as the solver "savings" of not installing pandoc, even if available, can "outweigh" the higher build number
  • go back to non-noarch, but that puts us back into every python and platform migration

Bad permissions in template/html directory

Issue:
The nbconvert package create a directory with bad permissions: $CONDA_PREFIX/share/jupyter/nbconvert/templates/html. It lacks go+rx permissions (other directories in $CONDA_PREFIX/share/jupyter/nbconvert/templates has go+rx permissions).

This causes a problem when another users tries to open a jupyter notebook with my environment. The user gets a permission error. This is solved (manually) by running

chmod go+rx $CONDA_PREFIX/share/jupyter/nbconvert/templates/html

Environment (conda list):
$ conda list
# packages in environment at XX:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                      1_llvm    conda-forge
absl-py                   0.11.0           py38h578d9bd_0    conda-forge
aiohttp                   3.7.3            py38h497a2fe_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
argon2-cffi               20.1.0           py38h25fe258_2    conda-forge
async-timeout             3.0.1                   py_1000    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    conda-forge
autopep8                  1.5.4              pyh9f0ad1d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.1                      py_0    conda-forge
blas                      1.0                         mkl    conda-forge
bleach                    3.2.1              pyh9f0ad1d_0    conda-forge
blessings                 1.7             py38h32f6830_1003    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.20.1               h9c3ff4c_0    conda-forge
brotli                    1.0.9                he1b5a44_3    conda-forge
brotlipy                  0.7.0           py38h8df0ef7_1001    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h36c2ea0_0    conda-forge
ca-certificates           2021.4.13            h06a4308_1
cachetools                4.1.1                      py_0    conda-forge
certifi                   2020.12.5        py38h578d9bd_1    conda-forge
cffi                      1.14.4           py38ha65f79e_1    conda-forge
chardet                   3.0.4           py38h924ce5b_1008    conda-forge
charls                    2.1.0                h9c3ff4c_2    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
cloudpickle               1.6.0                      py_0    conda-forge
cryptography              3.3.1            py38h2b97feb_0    conda-forge
cudatoolkit               10.2.89              h8f6ccaa_8    conda-forge
curl                      7.76.1               h979ede3_1    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.11.0           py38h25fe258_1    conda-forge
dask-core                 2020.12.0          pyhd8ed1ab_0    conda-forge
dbus                      1.13.16              hb2f20db_0
decorator                 4.4.2                      py_0    conda-forge
defusedxml                0.6.0                      py_0    conda-forge
entrypoints               0.3             pyhd8ed1ab_1003    conda-forge
expat                     2.3.0                h9c3ff4c_0    conda-forge
faiss-gpu                 1.7.0           py3.8_h080d439_0_cuda10.2    pytorch
ffmpeg                    4.3.1                hca11adc_2    conda-forge
flake8                    3.8.4                      py_0    conda-forge
fontconfig                2.13.1            he4413a7_1000    conda-forge
freetype                  2.10.4               h7ca028e_0    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
giflib                    5.1.9                h516909a_0    conda-forge
glib                      2.66.4               hcd2ae1e_1    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gnutls                    3.6.15               he1e5248_0
google-auth               1.24.0             pyhd3deb0d_0    conda-forge
google-auth-oauthlib      0.4.1                      py_2    conda-forge
gpustat                   0.6.0              pyhd8ed1ab_1    conda-forge
grpcio                    1.34.0           py38hdd6454d_0    conda-forge
gst-plugins-base          1.14.0               hbbd80ab_1
gstreamer                 1.14.0               hb31296c_0
icu                       58.2              hf484d3e_1000    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
imagecodecs               2020.5.30        py38hfa7d478_2
imageio                   2.9.0                      py_0    conda-forge
importlib-metadata        3.3.0            py38h578d9bd_2    conda-forge
importlib_metadata        3.3.0                hd8ed1ab_2    conda-forge
ipykernel                 5.4.2            py38h81c977d_0    conda-forge
ipython                   7.19.0           py38h81c977d_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.5.1              pyh9f0ad1d_1    conda-forge
jedi                      0.17.2           py38h578d9bd_1    conda-forge
jinja2                    2.11.2             pyh9f0ad1d_0    conda-forge
joblib                    1.0.0              pyhd8ed1ab_0    conda-forge
jpeg                      9b                   h024ee3a_2
jsonschema                3.2.0                      py_2    conda-forge
jupyter                   1.0.0                      py_2    conda-forge
jupyter_client            6.1.7                      py_0    conda-forge
jupyter_console           6.2.0                      py_0    conda-forge
jupyter_core              4.7.0            py38h578d9bd_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jxrlib                    1.1                  h7f98852_2    conda-forge
kiwisolver                1.3.1            py38h82cb98a_0    conda-forge
krb5                      1.17.2               h926e7f8_0    conda-forge
lame                      3.100             h14c3975_1001    conda-forge
lcms2                     2.11                 h396b838_0
ld_impl_linux-64          2.35.1               hea4e1c9_1    conda-forge
libaec                    1.0.4                h9c3ff4c_1    conda-forge
libblas                   3.8.0                    21_mkl    conda-forge
libcblas                  3.8.0                    21_mkl    conda-forge
libcurl                   7.76.1               hc4aaa36_1    conda-forge
libedit                   3.1.20210216         h27cfd23_1
libev                     4.33                 h516909a_1    conda-forge
libfaiss                  1.7.0           h4fe19ad_0_cuda10.2    pytorch
libffi                    3.3                  h58526e2_2    conda-forge
libgcc-ng                 9.3.0               h5dbcf3e_17    conda-forge
libgfortran-ng            9.3.0               he4bcb1c_17    conda-forge
libgfortran5              9.3.0               he4bcb1c_17    conda-forge
libglib                   2.66.4               h164308a_1    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libidn2                   2.3.0                h516909a_0    conda-forge
liblapack                 3.8.0                    21_mkl    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libprotobuf               3.14.0               h780b84a_0    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libssh2                   1.9.0                ha56f1ee_6    conda-forge
libstdcxx-ng              9.3.0               h2ae2ef3_17    conda-forge
libtasn1                  4.16.0               h27cfd23_0
libtiff                   4.1.0                h2733197_1
libunistring              0.9.10               h14c3975_0    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libuv                     1.40.0               h7f98852_0    conda-forge
libwebp                   1.0.0                h81b54a9_0    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.9                h13577e0_2    conda-forge
libzopfli                 1.0.3                h9c3ff4c_0    conda-forge
llvm-openmp               11.0.0               hfc4b9b4_1    conda-forge
lz4-c                     1.9.2                he1b5a44_3    conda-forge
markdown                  3.3.3              pyh9f0ad1d_0    conda-forge
markupsafe                1.1.1            py38h8df0ef7_2    conda-forge
matplotlib-base           3.3.3            py38h5c7f4ab_0    conda-forge
mccabe                    0.6.1                      py_1    conda-forge
mistune                   0.8.4           py38h25fe258_1002    conda-forge
mkl                       2020.4             h726a3e6_304    conda-forge
mkl-service               2.3.0            py38h1e0a361_2    conda-forge
mkl_fft                   1.2.0            py38hab2c0dc_1    conda-forge
mkl_random                1.2.0            py38hc5bc63f_1    conda-forge
multidict                 5.1.0            py38h497a2fe_0    conda-forge
nbclient                  0.5.1                      py_0    conda-forge
nbconvert                 6.0.7            py38h578d9bd_3    conda-forge
nbformat                  5.0.8                      py_0    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
nest-asyncio              1.4.3              pyhd8ed1ab_0    conda-forge
nettle                    3.7.2                hbbd107a_1
networkx                  2.5                        py_0    conda-forge
ninja                     1.10.2               h4bd325d_0    conda-forge
notebook                  6.1.5            py38h578d9bd_0    conda-forge
numpy                     1.19.2           py38h54aff64_0
numpy-base                1.19.2           py38hfa32c7d_0
nvidia-ml                 7.352.0                    py_0    conda-forge
oauthlib                  3.0.1                      py_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openh264                  2.1.1                h780b84a_0    conda-forge
openjpeg                  2.3.1                hf7af979_3    conda-forge
openssl                   1.1.1k               h7f98852_0    conda-forge
packaging                 20.8               pyhd3deb0d_0    conda-forge
pandoc                    2.11.3.1             h7f98852_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.7.1              pyh9f0ad1d_0    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
perl                      5.32.0               h36c2ea0_0    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    8.0.1            py38he98fc37_0
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
pooch                     1.3.0              pyhd8ed1ab_0    conda-forge
prometheus_client         0.9.0              pyhd3deb0d_0    conda-forge
prompt-toolkit            3.0.8              pyha770c72_0    conda-forge
prompt_toolkit            3.0.8                hd8ed1ab_0    conda-forge
protobuf                  3.14.0           py38h709712a_0    conda-forge
psutil                    5.8.0            py38h497a2fe_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycodestyle               2.6.0              pyh9f0ad1d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyflakes                  2.2.0              pyh9f0ad1d_0    conda-forge
pygments                  2.7.3              pyhd8ed1ab_0    conda-forge
pyjwt                     1.7.1                      py_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyqt                      5.9.2            py38h05f1152_4
pyrsistent                0.17.3           py38h25fe258_1    conda-forge
pysocks                   1.7.1            py38h924ce5b_2    conda-forge
python                    3.8.6           hffdb5ce_1_cpython    conda-forge
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.8                      1_cp38    conda-forge
pytorch                   1.8.1           py3.8_cuda10.2_cudnn7.6.5_0    pytorch
pywavelets                1.1.1            py38h5c078b8_3    conda-forge
pyyaml                    5.3.1            py38h8df0ef7_1    conda-forge
pyzmq                     20.0.0           py38h1d1b12f_1    conda-forge
qt                        5.9.7                h5867ecd_1
qtconsole                 5.0.1              pyhd8ed1ab_0    conda-forge
qtpy                      1.9.0                      py_0    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
requests-oauthlib         1.3.0              pyh9f0ad1d_0    conda-forge
rsa                       4.6                pyh9f0ad1d_0    conda-forge
scikit-image              0.18.0           py38h51da96c_0    conda-forge
scikit-learn              0.23.2           py38h5d63f67_3    conda-forge
scipy                     1.5.3            py38hb2138dd_0    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                49.6.0           py38h924ce5b_2    conda-forge
sip                       4.19.13          py38he6710b0_0
six                       1.15.0             pyh9f0ad1d_0    conda-forge
snappy                    1.1.8                he1b5a44_3    conda-forge
sqlite                    3.34.0               h74cdb3f_0    conda-forge
tensorboard               2.4.0              pyhd8ed1ab_0    conda-forge
tensorboard-plugin-wit    1.7.0              pyh9f0ad1d_0    conda-forge
tensorboardx              2.1                        py_0    conda-forge
terminado                 0.9.1            py38h32f6830_1    conda-forge
testpath                  0.4.4                      py_0    conda-forge
threadpoolctl             2.1.0              pyh5ca1d4c_0    conda-forge
tifffile                  2020.12.8          pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
toolz                     0.11.1                     py_0    conda-forge
torchvision               0.9.1                py38_cu102    pytorch
tornado                   6.1              py38h25fe258_0    conda-forge
tqdm                      4.60.0             pyhd8ed1ab_0    conda-forge
traitlets                 5.0.5                      py_0    conda-forge
typing-extensions         3.7.4.3                       0    conda-forge
typing_extensions         3.7.4.3                    py_0    conda-forge
urllib3                   1.26.2             pyhd8ed1ab_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
werkzeug                  1.0.1              pyh9f0ad1d_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
widgetsnbextension        3.5.1            py38h578d9bd_4    conda-forge
x264                      1!161.3030           h7f98852_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
yapf                      0.31.0             pyhd8ed1ab_0    conda-forge
yarl                      1.6.3            py38h497a2fe_0    conda-forge
youtube-dl                2021.4.26        py38h578d9bd_0    conda-forge
zeromq                    4.3.3                h58526e2_3    conda-forge
zipp                      3.4.0                      py_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.4.5                h6597ccf_2    conda-forge

Details about conda and system ( conda info ):
$ conda info

     active environment : notvgan
    active env location : XXX
            shell level : 2
       user config file : XXX
 populated config files : XXX
          conda version : 4.10.1
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages : __linux=3.10.0=0
                          __glibc=2.17=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : XXX/miniconda3  (read only)
      conda av data dir : XXX
  conda av metadata url : https://repo.anaconda.com/pkgs/main
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : XXX
       envs directories : XXX
               platform : linux-64
             user-agent : conda/4.10.1 requests/2.25.1 CPython/3.8.3 Linux/3.10.0-957.1.3.el7.x86_64 centos/7.6.1810 glibc/2.17
                UID:GID : XXX:XXX
             netrc file : None
           offline mode : False

pandoc dependency should be version range pinned

with a fresh nbconvert install, one will drag in the latest version of pandoc, which seems unsupported:

Your version must be at least (1.12.1) but less than (2.0.0).
Refer to http://pandoc.org/installing.html.
Continuing with doubts...
  check_pandoc_version()

Create a prerelease RC branch

I just pushed a commit to create an rc branch to release rc releases on the nbconvert_rc label: eb6957d

I'll close this issue immediately, but just wanted to log somewhere that this happened.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.