MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

0.16.0: pytest is failing in four units

Open kloczek opened this issue 3 years ago • 1 comments

Describe the bug

context I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.

  • python3 -sBm build -w --no-isolation
  • because I'm calling build with --no-isolation I'm using during all processes only locally installed modules
  • install .whl file in </install/prefix>
  • run pytest with PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>

expectation pytest should not fail.

Reproduce the bug

N/A

List your environment

List of modules installed in build env

Package                       Version
----------------------------- -----------------
alabaster                     0.7.12
anyio                         3.6.1
appdirs                       1.4.4
argon2-cffi                   21.1.0
asttokens                     2.0.5
attrs                         22.1.0
Babel                         2.10.2
backcall                      0.2.0
beautifulsoup4                4.10.0
bleach                        5.0.0
Brlapi                        0.8.3
build                         0.8.0
certifi                       2021.10.8
cffi                          1.15.1
charset-normalizer            2.1.0
click                         8.1.2
coconut                       1.6.0
codespell                     2.1.0
colorama                      0.4.4
coverage                      6.4.2
cPyparsing                    2.4.7.1.1.0
cssselect                     1.1.0
cycler                        0.11.0
debugpy                       1.6.2
decorator                     5.1.1
defusedxml                    0.7.1
distro                        1.7.0
docutils                      0.18.1
entrypoints                   0.4
executing                     0.8.3
extended-project              1.2.3
extras                        1.0.0
fastjsonschema                2.16.1
fixtures                      4.0.0
flit_core                     3.7.1
fonttools                     4.34.4
gitdb                         4.0.9
GitPython                     3.1.27
gpg                           1.17.1-unknown
greenlet                      1.1.2
html5lib                      1.1
idna                          3.3
imagesize                     1.4.1
importlib-metadata            4.12.0
importlib-resources           5.9.0
iniconfig                     1.1.1
ipykernel                     6.15.1
ipython                       8.4.0
ipython-genutils              0.2.0
ipywidgets                    7.7.0
jedi                          0.18.1
Jinja2                        3.1.1
jsonschema                    4.8.0
jupyter-cache                 0.5.0
jupyter_client                7.3.4
jupyter_core                  4.11.1
jupyter-server                1.18.1
jupyter-server-mathjax        0.2.5
jupyter-sphinx                0.4.0
jupyterlab-pygments           0.1.2
jupytext                      1.14.1
kiwisolver                    1.4.4
libcomps                      0.1.18
louis                         3.22.0
lxml                          4.9.1
markdown-it-py                2.1.0
MarkupSafe                    2.1.1
matplotlib                    3.5.2
matplotlib-inline             0.1.3
mdit-py-plugins               0.3.0
mdurl                         0.1.1
mistune                       2.0.3
mpmath                        1.2.1
myst-parser                   0.18.0
nbclient                      0.6.6
nbconvert                     6.5.0
nbdime                        3.1.1
nbformat                      5.4.0
nest-asyncio                  1.5.5
notebook                      6.4.12
numpy                         1.23.1
olefile                       0.46
packaging                     21.3
pandas                        1.4.2
pandocfilters                 1.5.0
parso                         0.8.3
pbr                           5.8.1
pep517                        0.12.0
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        9.2.0
pip                           22.0.4
pluggy                        1.0.0
ply                           3.11
prometheus-client             0.14.1
prompt-toolkit                3.0.29
psutil                        5.9.0
ptyprocess                    0.7.0
pure-eval                     0.2.2
py                            1.11.0
pycparser                     2.21
pydata-sphinx-theme           0.9.0
pyee                          9.0.4
Pygments                      2.12.0
PyGObject                     3.42.2
pyparsing                     3.0.9
pyppeteer                     1.0.1
pyrsistent                    0.18.1
pytest                        7.1.2
pytest-cov                    3.0.0
pytest-datadir                1.3.1
pytest-dependency             0.5.1
pytest_param_files            0.3.4
pytest-regressions            2.3.1
python-dateutil               2.8.2
pytz                          2022.1
PyYAML                        6.0
pyzmq                         23.2.0
requests                      2.28.1
rpm                           4.17.0
scour                         0.38.2
Send2Trash                    1.8.0
setuptools                    63.2.0
simple-project                1.2.3
six                           1.16.0
smmap                         5.0.0
sniffio                       1.2.0
snowballstemmer               2.2.0
soupsieve                     2.3.2.post1
Sphinx                        5.1.1
sphinx-book-theme             0.3.3
sphinx-copybutton             0.5.0
sphinx_design                 0.2.0
sphinx-rtd-theme              1.0.0
sphinx-togglebutton           0.3.2
sphinxcontrib-applehelp       1.0.2.dev20220714
sphinxcontrib-devhelp         1.0.2.dev20220714
sphinxcontrib_github_alt      1.2
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20220712
sphinxcontrib-qthelp          1.0.3.dev20220712
sphinxcontrib-serializinghtml 1.1.5
SQLAlchemy                    1.4.39.dev0
stack-data                    0.3.0
sympy                         1.10.1
tabulate                      0.8.9
terminado                     0.15.0
testpath                      0.6.0
testtools                     2.5.0
tinycss2                      1.1.1
toml                          0.10.2
tomli                         2.0.1
tornado                       6.1
tqdm                          4.64.0
traitlets                     5.3.0
typing_extensions             4.2.0
urllib3                       1.26.9
wcwidth                       0.2.5
webencodings                  0.5.1
websocket-client              1.3.2
websockets                    10.3
wheel                         0.37.1
widgetsnbextension            3.6.0
zipp                          3.8.1

kloczek avatar Jul 30 '22 07:07 kloczek

List of modules installed in build env

Package                       Version
----------------------------- -----------------
alabaster                     0.7.12
anyio                         3.6.1
appdirs                       1.4.4
argon2-cffi                   21.1.0
asttokens                     2.0.5
attrs                         22.1.0
Babel                         2.10.2
backcall                      0.2.0
beautifulsoup4                4.10.0
bleach                        5.0.0
Brlapi                        0.8.3
build                         0.8.0
certifi                       2021.10.8
cffi                          1.15.1
charset-normalizer            2.1.0
click                         8.1.2
coconut                       1.6.0
codespell                     2.1.0
colorama                      0.4.4
coverage                      6.4.2
cPyparsing                    2.4.7.1.1.0
cssselect                     1.1.0
cycler                        0.11.0
debugpy                       1.6.2
decorator                     5.1.1
defusedxml                    0.7.1
distro                        1.7.0
docutils                      0.18.1
entrypoints                   0.4
executing                     0.8.3
extended-project              1.2.3
extras                        1.0.0
fastjsonschema                2.16.1
fixtures                      4.0.0
flit_core                     3.7.1
fonttools                     4.34.4
gitdb                         4.0.9
GitPython                     3.1.27
gpg                           1.17.1-unknown
greenlet                      1.1.2
html5lib                      1.1
idna                          3.3
imagesize                     1.4.1
importlib-metadata            4.12.0
importlib-resources           5.9.0
iniconfig                     1.1.1
ipykernel                     6.15.1
ipython                       8.4.0
ipython-genutils              0.2.0
ipywidgets                    7.7.0
jedi                          0.18.1
Jinja2                        3.1.1
jsonschema                    4.8.0
jupyter-cache                 0.5.0
jupyter_client                7.3.4
jupyter_core                  4.11.1
jupyter-server                1.18.1
jupyter-server-mathjax        0.2.5
jupyter-sphinx                0.4.0
jupyterlab-pygments           0.1.2
jupytext                      1.14.1
kiwisolver                    1.4.4
libcomps                      0.1.18
louis                         3.22.0
lxml                          4.9.1
markdown-it-py                2.1.0
MarkupSafe                    2.1.1
matplotlib                    3.5.2
matplotlib-inline             0.1.3
mdit-py-plugins               0.3.0
mdurl                         0.1.1
mistune                       2.0.3
mpmath                        1.2.1
myst-parser                   0.18.0
nbclient                      0.6.6
nbconvert                     6.5.0
nbdime                        3.1.1
nbformat                      5.4.0
nest-asyncio                  1.5.5
notebook                      6.4.12
numpy                         1.23.1
olefile                       0.46
packaging                     21.3
pandas                        1.4.2
pandocfilters                 1.5.0
parso                         0.8.3
pbr                           5.8.1
pep517                        0.12.0
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        9.2.0
pip                           22.0.4
pluggy                        1.0.0
ply                           3.11
prometheus-client             0.14.1
prompt-toolkit                3.0.29
psutil                        5.9.0
ptyprocess                    0.7.0
pure-eval                     0.2.2
py                            1.11.0
pycparser                     2.21
pydata-sphinx-theme           0.9.0
pyee                          9.0.4
Pygments                      2.12.0
PyGObject                     3.42.2
pyparsing                     3.0.9
pyppeteer                     1.0.1
pyrsistent                    0.18.1
pytest                        7.1.2
pytest-cov                    3.0.0
pytest-datadir                1.3.1
pytest-dependency             0.5.1
pytest_param_files            0.3.4
pytest-regressions            2.3.1
python-dateutil               2.8.2
pytz                          2022.1
PyYAML                        6.0
pyzmq                         23.2.0
requests                      2.28.1
rpm                           4.17.0
scour                         0.38.2
Send2Trash                    1.8.0
setuptools                    63.2.0
simple-project                1.2.3
six                           1.16.0
smmap                         5.0.0
sniffio                       1.2.0
snowballstemmer               2.2.0
soupsieve                     2.3.2.post1
Sphinx                        5.1.1
sphinx-book-theme             0.3.3
sphinx-copybutton             0.5.0
sphinx_design                 0.2.0
sphinx-rtd-theme              1.0.0
sphinx-togglebutton           0.3.2
sphinxcontrib-applehelp       1.0.2.dev20220714
sphinxcontrib-devhelp         1.0.2.dev20220714
sphinxcontrib_github_alt      1.2
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-jsmath          1.0.1.dev20220712
sphinxcontrib-qthelp          1.0.3.dev20220712
sphinxcontrib-serializinghtml 1.1.5
SQLAlchemy                    1.4.39.dev0
stack-data                    0.3.0
sympy                         1.10.1
tabulate                      0.8.9
terminado                     0.15.0
testpath                      0.6.0
testtools                     2.5.0
tinycss2                      1.1.1
toml                          0.10.2
tomli                         2.0.1
tornado                       6.1
tqdm                          4.64.0
traitlets                     5.3.0
typing_extensions             4.2.0
urllib3                       1.26.9
wcwidth                       0.2.5
webencodings                  0.5.1
websocket-client              1.3.2
websockets                    10.3
wheel                         0.37.1
widgetsnbextension            3.6.0
zipp                          3.8.1

kloczek avatar Jul 30 '22 07:07 kloczek

myst-nb has to be properly installed, to register entry points

chrisjsewell avatar Aug 15 '22 17:08 chrisjsewell

myst-nb has to be properly installed, to register entry points

myst-nb has been install;ed in </install/prefix> by unpacking generated .whl archive. Something is wrong with that whl? 🤔

kloczek avatar Aug 15 '22 17:08 kloczek