--- 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/devel/" < \
/workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \
/workspaces/xmm_sas/packages/sas/bin/fixdoc -type=devel pysasplot_utils 0.4.4 pysasplot_utils 22.0.0-6da3b52c5-20241028 > pysasplot_utils.tex
   including sasdevel...
      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_sas/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_sas/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.3, pluggy-1.5.0 -- /sasbuild/tools/python-3.12.4/bin/python3
cachedir: .pytest_cache
rootdir: /workspaces/xmm_sas/packages/pysasplot_utils
plugins: anyio-4.6.2.post1
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 FAILED                           [ 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 = <matplotlib.cbook.CallbackRegistry object at 0x7fd49b9c3b70>
state = {'exception_handler': <function _exception_printer at 0x7fd4a9ba59d0>}

    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
________________________________ test_merge_pdf ________________________________

    def test_merge_pdf():
        pdf_list = ('pdf1.pdf', 'pdf2.pdf')
>       status = pysasplt.merge_pdf(pdf_list, 'result.pdf')

test_pysasplot_utils.py:76: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../lib/python/pysas/pysasplot_utils/pysasplot_utils.py:678: in merge_pdf
    merger = PdfMerger()
/sasbuild/tools/python-3.12.4/lib/python3.12/site-packages/pypdf/_merger.py:42: in __init__
    deprecation_with_replacement("PdfMerger", "PdfWriter", "5.0.0")
/sasbuild/tools/python-3.12.4/lib/python3.12/site-packages/pypdf/_utils.py:384: in deprecation_with_replacement
    deprecation(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

msg = 'PdfMerger is deprecated and was removed in pypdf 5.0.0. Use PdfWriter instead.'

    def deprecation(msg: str) -> None:
>       raise DeprecationError(msg)
E       pypdf.errors.DeprecationError: PdfMerger is deprecated and was removed in pypdf 5.0.0. Use PdfWriter instead.

/sasbuild/tools/python-3.12.4/lib/python3.12/site-packages/pypdf/_utils.py:371: DeprecationError
=========================== short test summary info ============================
FAILED test_pysasplot_utils.py::test_load_pickled_fig - KeyError: '_cid_gen'
FAILED test_pysasplot_utils.py::test_merge_pdf - pypdf.errors.DeprecationErro...
========================= 2 failed, 6 passed in 14.15s =========================
Error while running ./testpysasplot_utils
ERROR: one of the tests failed