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-emcee-3.1.3-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-emcee-3.1.3-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra -p no:cacheprovider=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.14, pytest-7.1.3, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/emcee-3.1.3collected 93 itemssrc/emcee/tests/integration/test_de.py ... [ 3%]src/emcee/tests/integration/test_de_snooker.py .. [ 5%]src/emcee/tests/integration/test_gaussian.py ............ [ 18%]src/emcee/tests/integration/test_kde.py ... [ 21%]src/emcee/tests/integration/test_longdouble.py .. [ 23%]src/emcee/tests/integration/test_stretch.py ..... [ 29%]src/emcee/tests/integration/test_walk.py .. [ 31%]src/emcee/tests/unit/test_autocorr.py .... [ 35%]src/emcee/tests/unit/test_backends.py s..ssss.s [ 45%]src/emcee/tests/unit/test_blobs.py .......... [ 55%]src/emcee/tests/unit/test_ensemble.py ....... [ 63%]src/emcee/tests/unit/test_sampler.py .............................. [ 95%]src/emcee/tests/unit/test_state.py ... [ 98%]src/emcee/tests/unit/test_stretch.py . [100%]============================================================================= warnings summary =============================================================================src/emcee/tests/unit/test_ensemble.py::TestNamedParameters::test_run_mcmc /home/tkloczko/rpmbuild/BUILD/emcee-3.1.3/src/emcee/utils.py:23: DeprecationWarning: 'chain' is deprecated. Use 'get_chain()' instead. deprecation_warning(msg)-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html========================================================================= short test summary info ==========================================================================SKIPPED [1] src/emcee/tests/unit/test_backends.py:64: HDF5 not availableSKIPPED [1] src/emcee/tests/unit/test_backends.py:101: got empty parameter set ['backend', 'dtype', 'blobs'], function test_backend at /home/tkloczko/rpmbuild/BUILD/emcee-3.1.3/src/emcee/tests/unit/test_backends.py:100SKIPPED [1] src/emcee/tests/unit/test_backends.py:142: got empty parameter set ['backend', 'dtype'], function test_reload at /home/tkloczko/rpmbuild/BUILD/emcee-3.1.3/src/emcee/tests/unit/test_backends.py:141SKIPPED [1] src/emcee/tests/unit/test_backends.py:186: got empty parameter set ['backend', 'dtype'], function test_restart at /home/tkloczko/rpmbuild/BUILD/emcee-3.1.3/src/emcee/tests/unit/test_backends.py:185SKIPPED [1] src/emcee/tests/unit/test_backends.py:218: HDF5 not availableSKIPPED [1] src/emcee/tests/unit/test_backends.py:268: HDF5 not available=========================================================== 87 passed, 6 skipped, 1 warning in 136.15s (0:02:16) ===========================================================
Thanks! That DeprecationWarning is expected (it's testing backwards compatibility) and has been happening since v3.0 🤦 We should catch it and silence it! Otherwise, things look fine to me.
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: