jupyter_server icon indicating copy to clipboard operation
jupyter_server copied to clipboard

2.5.0: pytest is failing in some units

Open kloczek opened this issue 2 years ago • 11 comments

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>
  • build is performed in env which is cut off from access to the public network (pytest is executed with -m "not network")

I had much more failing units however today I found that I had few missing modules in buuld env. I'm assuming that still something is missing in build env of that mdule however I have difficulty now with finding what exactly still is missing. May I ask for some help/hints? 🤔

Here is list of installed modules in build env

Package                       Version
----------------------------- -----------------
alabaster                     0.7.13
anyio                         3.6.2
argon2-cffi                   21.3.0
argon2-cffi-bindings          21.2.0
asttokens                     2.2.1
attrs                         22.2.0
Babel                         2.12.1
backcall                      0.2.0
beautifulsoup4                4.11.2
bleach                        6.0.0
build                         0.10.0
cffi                          1.15.1
charset-normalizer            3.1.0
comm                          0.1.2
debugpy                       1.6.6
decorator                     5.1.1
deepmerge                     1.1.0
defusedxml                    0.7.1
distro                        1.8.0
docutils                      0.19
editables                     0.3
exceptiongroup                1.0.0
executing                     1.2.0
fastjsonschema                2.16.3
gpg                           1.18.0-unknown
hatch-jupyter-builder         0.8.2
hatchling                     1.13.0
html5lib                      1.1
idna                          3.4
imagesize                     1.4.1
importlib-metadata            6.0.0
importlib-resources           5.12.0
iniconfig                     2.0.0
ipykernel                     6.21.3
ipython                       8.6.0
jedi                          0.18.2
Jinja2                        3.1.2
jsonschema                    4.17.3
jupyter_client                8.0.3
jupyter_core                  5.2.0
jupyter-events                0.6.3
jupyter_server_terminals      0.4.4
jupyterlab-pygments           0.1.2
libcomps                      0.1.19
markdown-it-py                2.2.0
MarkupSafe                    2.1.2
matplotlib-inline             0.1.6
mdit-py-plugins               0.3.5
mdurl                         0.1.2
mistune                       2.0.5
myst-parser                   0.19.1
nbclient                      0.7.2
nbconvert                     7.2.10
nbformat                      5.7.3
nest-asyncio                  1.5.6
packaging                     23.0
pandocfilters                 1.5.0
parso                         0.8.3
pathspec                      0.11.0
pexpect                       4.8.0
pickleshare                   0.7.5
picobox                       2.2.0
pip                           23.0.1
pkgutil_resolve_name          1.3.10
platformdirs                  3.1.1
pluggy                        1.0.0
ply                           3.11
prometheus-client             0.16.0
prompt-toolkit                3.0.38
psutil                        5.9.2
ptyprocess                    0.7.0
pure-eval                     0.2.2
pycparser                     2.21
Pygments                      2.14.0
pyproject_hooks               1.0.0
pyrsistent                    0.19.3
pytest                        7.2.2
pytest-console-scripts        1.3.1
pytest-jupyter                0.6.2
pytest-timeout                2.1.0
python-dateutil               2.8.2
python-json-logger            2.0.7
pytz                          2022.4
PyYAML                        6.0
pyzmq                         24.0.1
requests                      2.28.2
rfc3339-validator             0.1.4
rfc3986-validator             0.1.1
rpm                           4.17.0
Send2Trash                    1.8.0
setuptools                    65.6.3
six                           1.16.0
sniffio                       1.2.0
snowballstemmer               2.2.0
soupsieve                     2.4
Sphinx                        6.1.3
sphinx_autodoc_typehints      1.19.4
sphinx_mdinclude              0.5.3
sphinxcontrib-applehelp       1.0.4
sphinxcontrib-devhelp         1.0.2.dev20230202
sphinxcontrib_github_alt      1.2
sphinxcontrib-htmlhelp        2.0.0
sphinxcontrib-httpdomain      1.8.0
sphinxcontrib-jsmath          1.0.1.dev20230128
sphinxcontrib-openapi         0.8.1
sphinxcontrib-qthelp          1.0.3.dev20230128
sphinxcontrib-serializinghtml 1.1.5
sphinxemoji                   0.2.0
stack-data                    0.6.2
terminado                     0.17.1
tinycss2                      1.2.1
tomli                         2.0.1
tornado                       6.2
traitlets                     5.8.1
urllib3                       1.26.15
wcwidth                       0.2.6
webencodings                  0.5.1
websocket-client              1.5.1
wheel                         0.38.4
zipp                          3.15.0

kloczek avatar Mar 16 '23 18:03 kloczek