--- Dependency check [begin] --- --- Dependency check [end] --- --- Distribution check [begin] --- Version 0.4.4 - 2023-04-10 (AI) Information: this ChangeLog entry matches the version number: Version 0.4.4 - 2023-04-10 (AI) Information: ./config/pysasplot_utils.par is an XML parameter file, I cannot yet validate it. Skipped. Warning: pysasplot_utils - missing lyt files. Now checking git repository... --- Distribution check [end] --- sed -e "s/DOC/pysasplot_utils/" -e "s/TYPE/user/" < \ /workspaces/xmm_sas22/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas22/packages/sas/bin/texcombine | \ /workspaces/xmm_sas22/packages/sas/bin/fixdoc -type=user pysasplot_utils 0.4.4 pysasplot_utils 22.0.0-dad1e14b0-20240923 > pysasplot_utils.tex including sasuser... including sasglobal... including pysasplot_utils_description... latex pysasplot_utils < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) bibtex pysasplot_utils < /dev/null > makedoc.log make[5]: [/workspaces/xmm_sas22/Make.include:1062: pysasplot_utils.ps.gz] Error 2 (ignored) latex pysasplot_utils < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) latex pysasplot_utils < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 ) dvips -o pysasplot_utils.ps pysasplot_utils > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 ) dvipdf pysasplot_utils > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) gzip -f pysasplot_utils.ps SASRELDIR=../../.. ;\ export SASRELDIR ;\ latex2html -nouse_pdftex -init_file /workspaces/xmm_sas22/packages/sas/doc/lib/latex2html.init pysasplot_utils > /dev/null texexpand V2020 (Released January 1, 2020) Warning: No implementation found for option: `version' for `sasdoc' package Warning: No implementation found for option: `version' for `sasdoc' package /usr/bin/echo "" mkpkgidx -t . > /dev/null || (rm -f pysasplot_utils/index.pl ; exit 1) pointer=pysasplot_utils/ChangeLog ; \ target=../../../packages/pysasplot_utils/ChangeLog ; \ if [ -f $target -a \( ! -h $pointer \) ] ; then \ ln -s ../$target $pointer ; \ fi rm pysasplot_utils.tex Testing testpysasplot_utils ... FAILED Message: will run ./testpysasplot_utils for no longer than 600 seconds. ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-8.3.1, pluggy-1.5.0 -- /sasbuild/tools/python-3.12.4/bin/python3 cachedir: .pytest_cache rootdir: /workspaces/xmm_sas22/packages/pysasplot_utils plugins: anyio-4.4.0 collecting ... collected 8 items test_pysasplot_utils.py::test_2dplot PASSED [ 12%] test_pysasplot_utils.py::test_1d_hist PASSED [ 25%] test_pysasplot_utils.py::test_table PASSED [ 37%] test_pysasplot_utils.py::test_get_time_deltas PASSED [ 50%] test_pysasplot_utils.py::test_TSrebin PASSED [ 62%] test_pysasplot_utils.py::test_load_pickled_fig FAILED [ 75%] test_pysasplot_utils.py::test_merge_pdf PASSED [ 87%] test_pysasplot_utils.py::test_plot_image PASSED [100%] =================================== FAILURES =================================== ____________________________ test_load_pickled_fig _____________________________ def test_load_pickled_fig(): > figs = pysasplt.load_figures(['test.fig.pickle']) test_pysasplot_utils.py:68: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../lib/python/pysas/pysasplot_utils/pysasplot_utils.py:318: in load_figures unpickled = pickle.load(f) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = state = {'exception_handler': } def __setstate__(self, state): > cid_count = state.pop('_cid_gen') E KeyError: '_cid_gen' /sasbuild/tools/python-3.12.4/lib/python3.12/site-packages/matplotlib/cbook.py:204: KeyError =============================== warnings summary =============================== test/test_pysasplot_utils.py::test_merge_pdf /workspaces/xmm_sas22/lib/python/pysas/pysasplot_utils/pysasplot_utils.py:678: DeprecationWarning: PdfMerger is deprecated and will be removed in pypdf 5.0.0. Use PdfWriter instead. merger = PdfMerger() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_pysasplot_utils.py::test_load_pickled_fig - KeyError: '_cid_gen' ==================== 1 failed, 7 passed, 1 warning in 8.37s ==================== Error while running ./testpysasplot_utils ERROR: one of the tests failed