You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-nbformat-5.7.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-nbformat-5.7.0-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.15, pytest-7.2.0, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/nbformat-5.7.0, configfile: pyproject.toml, testpaths: tests/plugins: anyio-3.6.2collected 169 items / 2 errors================================================================================== ERRORS ==================================================================================___________________________________________________________________ ERROR collecting tests/test_sign.py ____________________________________________________________________tests/test_sign.py:19: in <module> from nbformat import read, sign, writenbformat/sign.py:25: in <module> from jupyter_core.application import JupyterApp, base_flags/usr/lib/python3.8/site-packages/jupyter_core/application.py:21: in <module> from .paths import (/usr/lib/python3.8/site-packages/jupyter_core/paths.py:176: in <module> deprecation(/usr/lib/python3.8/site-packages/jupyter_core/utils/__init__.py:87: in deprecation warnings.warn(message, DeprecationWarning, stacklevel=stacklevel + 1)E DeprecationWarning: Jupyter is migrating its paths to use standard platformdirsE given by the platformdirs library. To remove this warning andE see the appropriate new directories, set the environment variableE `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.E The use of platformdirs will be the default in `jupyter_core` v6___________________________________________________________________ ERROR collecting tests/test_sign.py ____________________________________________________________________tests/test_sign.py:19: in <module> from nbformat import read, sign, writenbformat/sign.py:25: in <module> from jupyter_core.application import JupyterApp, base_flags/usr/lib/python3.8/site-packages/jupyter_core/application.py:21: in <module> from .paths import (/usr/lib/python3.8/site-packages/jupyter_core/paths.py:176: in <module> deprecation(/usr/lib/python3.8/site-packages/jupyter_core/utils/__init__.py:87: in deprecation warnings.warn(message, DeprecationWarning, stacklevel=stacklevel + 1)E DeprecationWarning: Jupyter is migrating its paths to use standard platformdirsE given by the platformdirs library. To remove this warning andE see the appropriate new directories, set the environment variableE `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.E The use of platformdirs will be the default in `jupyter_core` v6========================================================================= short test summary info ==========================================================================ERROR tests/test_sign.py - DeprecationWarning: Jupyter is migrating its paths to use standard platformdirsERROR tests/test_sign.py - DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!============================================================================ 2 errors in 0.80s =============================================================================
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
build
with--no-isolation
I'm using during all processes only locally installed modulesHere is pytest output:
Here is list of installed modules in build env
The text was updated successfully, but these errors were encountered: