Read the Docs build information Build id: 23250 Project: european-xfel-offline-calibration Version: latest Commit: c81d00593085ffe5ff8fd65891bdbd942d09a76f Date: 2022-03-16T07:41:50.620727Z State: finished Success: True [rtd-command-info] start-time: 2022-03-16T07:41:51.836902Z, end-time: 2022-03-16T07:42:14.660885Z, duration: 22, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/detectors/pycalibration.git . Cloning into '.'... Checking out files: 32% (79/245) Checking out files: 33% (81/245) Checking out files: 34% (84/245) Checking out files: 35% (86/245) Checking out files: 36% (89/245) Checking out files: 37% (91/245) Checking out files: 38% (94/245) Checking out files: 39% (96/245) Checking out files: 40% (98/245) Checking out files: 41% (101/245) Checking out files: 42% (103/245) Checking out files: 43% (106/245) Checking out files: 44% (108/245) Checking out files: 45% (111/245) Checking out files: 46% (113/245) Checking out files: 47% (116/245) Checking out files: 48% (118/245) Checking out files: 49% (121/245) Checking out files: 50% (123/245) Checking out files: 51% (125/245) Checking out files: 52% (128/245) Checking out files: 53% (130/245) Checking out files: 54% (133/245) Checking out files: 55% (135/245) Checking out files: 56% (138/245) Checking out files: 57% (140/245) Checking out files: 58% (143/245) Checking out files: 59% (145/245) Checking out files: 60% (147/245) Checking out files: 61% (150/245) Checking out files: 62% (152/245) Checking out files: 63% (155/245) Checking out files: 64% (157/245) Checking out files: 65% (160/245) Checking out files: 66% (162/245) Checking out files: 67% (165/245) Checking out files: 68% (167/245) Checking out files: 69% (170/245) Checking out files: 70% (172/245) Checking out files: 71% (174/245) Checking out files: 72% (177/245) Checking out files: 73% (179/245) Checking out files: 74% (182/245) Checking out files: 75% (184/245) Checking out files: 76% (187/245) Checking out files: 77% (189/245) Checking out files: 78% (192/245) Checking out files: 79% (194/245) Checking out files: 80% (196/245) Checking out files: 81% (199/245) Checking out files: 82% (201/245) Checking out files: 83% (204/245) Checking out files: 84% (206/245) Checking out files: 85% (209/245) Checking out files: 86% (211/245) Checking out files: 87% (214/245) Checking out files: 88% (216/245) Checking out files: 89% (219/245) Checking out files: 90% (221/245) Checking out files: 91% (223/245) Checking out files: 92% (226/245) Checking out files: 93% (228/245) Checking out files: 94% (231/245) Checking out files: 95% (233/245) Checking out files: 96% (236/245) Checking out files: 97% (238/245) Checking out files: 98% (241/245) Checking out files: 99% (243/245) Checking out files: 100% (245/245) Checking out files: 100% (245/245), done. [rtd-command-info] start-time: 2022-03-16T07:42:15.315035Z, end-time: 2022-03-16T07:42:16.056428Z, duration: 0, exit-code: 0 git checkout --force origin/doc/update_pycalibration_documentation Note: checking out 'origin/doc/update_pycalibration_documentation'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at c81d005 resolve conflicts with master [rtd-command-info] start-time: 2022-03-16T07:42:16.185604Z, end-time: 2022-03-16T07:42:16.276611Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-03-16T07:42:18.345359Z, end-time: 2022-03-16T07:42:25.621742Z, duration: 7, exit-code: 0 python3.8 -mvirtualenv /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest Using base prefix '/home/docs/.pyenv/versions/3.8.0' New python executable in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python3.8 Also creating executable in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python Installing setuptools, pip, wheel... done. [rtd-command-info] start-time: 2022-03-16T07:42:25.770944Z, end-time: 2022-03-16T07:42:26.978365Z, duration: 1, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python -m pip install --upgrade --no-cache-dir pip Requirement already satisfied: pip in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (22.0.4) [rtd-command-info] start-time: 2022-03-16T07:42:27.117472Z, end-time: 2022-03-16T07:43:03.762480Z, duration: 36, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python -m pip install --upgrade --no-cache-dir Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 sphinx<2 sphinx-rtd-theme<0.5 readthedocs-sphinx-ext<1.1 Collecting Pygments==2.3.1 Downloading Pygments-2.3.1-py2.py3-none-any.whl (849 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.5/849.5 KB 9.6 MB/s eta 0:00:00 Collecting setuptools==41.0.1 Downloading setuptools-41.0.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 576.0/576.0 KB 83.0 MB/s eta 0:00:00 Collecting docutils==0.14 Downloading docutils-0.14-py3-none-any.whl (543 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 543.2/543.2 KB 97.5 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 KB 76.8 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pillow==5.4.1 Downloading Pillow-5.4.1.tar.gz (16.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.0/16.0 MB 110.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting alabaster!=0.7.5,<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Collecting commonmark==0.8.1 Downloading commonmark-0.8.1-py2.py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 KB 102.0 MB/s eta 0:00:00 Collecting recommonmark==0.5.0 Downloading recommonmark-0.5.0-py2.py3-none-any.whl (9.8 kB) Collecting sphinx<2 Downloading Sphinx-1.8.6-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 121.1 MB/s eta 0:00:00 Collecting sphinx-rtd-theme<0.5 Downloading sphinx_rtd_theme-0.4.3-py2.py3-none-any.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 103.7 MB/s eta 0:00:00 Collecting readthedocs-sphinx-ext<1.1 Downloading readthedocs_sphinx_ext-1.0.4-py2.py3-none-any.whl (28 kB) Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 KB 120.3 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting imagesize Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 KB 106.6 MB/s eta 0:00:00 Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 112.7 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 116.6 MB/s eta 0:00:00 Collecting requests>=2.0.0 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 103.5 MB/s eta 0:00:00 Collecting Jinja2>=2.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 KB 114.8 MB/s eta 0:00:00 Collecting pytz>=2015.7 Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 139.4 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.8-py2.py3-none-any.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.7/138.7 KB 134.0 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 126.1 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 KB 138.8 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.0/98.0 KB 119.0 MB/s eta 0:00:00 Collecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.5-py2.py3-none-any.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.0/94.0 KB 109.9 MB/s eta 0:00:00 Building wheels for collected packages: mock, pillow, future Building wheel for mock (setup.py): started Building wheel for mock (setup.py): finished with status 'done' Created wheel for mock: filename=mock-1.0.1-py3-none-any.whl size=23773 sha256=41365c7144c62d742f515c5864d79d3201c020577fb68972d59b307089086d82 Stored in directory: /tmp/pip-ephem-wheel-cache-c0zncu03/wheels/41/7c/21/90057f91c6ead7c77a90c52d6e85ca48bf82d8b0d3f8dfbb65 Building wheel for pillow (setup.py): started Building wheel for pillow (setup.py): finished with status 'done' Created wheel for pillow: filename=Pillow-5.4.1-cp38-cp38-linux_x86_64.whl size=1263124 sha256=e55c055d64347939f2ea628217ef32f602ad127f42524b2df205cb084c95909c Stored in directory: /tmp/pip-ephem-wheel-cache-c0zncu03/wheels/5f/a8/6b/5b7b3f764d879214eb03570f74d2b086201eb514e6ffa68d6d Building wheel for future (setup.py): started Building wheel for future (setup.py): finished with status 'done' Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=05887bf75309a6ac32c2d139183cc18df0ff3c891149d4738860f7e90f9cd715 Stored in directory: /tmp/pip-ephem-wheel-cache-c0zncu03/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 Successfully built mock pillow future Installing collected packages: snowballstemmer, pytz, Pygments, mock, docutils, certifi, alabaster, urllib3, sphinxcontrib-serializinghtml, six, setuptools, pyparsing, pillow, MarkupSafe, imagesize, idna, future, charset-normalizer, babel, sphinxcontrib-websupport, requests, packaging, Jinja2, commonmark, sphinx, readthedocs-sphinx-ext, sphinx-rtd-theme, recommonmark Attempting uninstall: setuptools Found existing installation: setuptools 60.9.3 Uninstalling setuptools-60.9.3: Successfully uninstalled setuptools-60.9.3 Successfully installed Jinja2-3.0.3 MarkupSafe-2.1.1 Pygments-2.3.1 alabaster-0.7.12 babel-2.9.1 certifi-2021.10.8 charset-normalizer-2.0.12 commonmark-0.8.1 docutils-0.14 future-0.18.2 idna-3.3 imagesize-1.3.0 mock-1.0.1 packaging-21.3 pillow-5.4.1 pyparsing-3.0.7 pytz-2021.3 readthedocs-sphinx-ext-1.0.4 recommonmark-0.5.0 requests-2.27.1 setuptools-41.0.1 six-1.16.0 snowballstemmer-2.2.0 sphinx-1.8.6 sphinx-rtd-theme-0.4.3 sphinxcontrib-serializinghtml-1.1.5 sphinxcontrib-websupport-1.2.4 urllib3-1.26.8 [rtd-command-info] start-time: 2022-03-16T07:43:03.895558Z, end-time: 2022-03-16T07:43:13.531603Z, duration: 9, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt Collecting iCalibrationDB@ git+https://xcalgitlab:dxh5vE8fFsEJHvatXjsV@git.xfel.eu/gitlab/detectors/cal_db_interactive.git@2.1.0 Cloning https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git (to revision 2.1.0) to /tmp/pip-install-p2rkx9xg/icalibrationdb_74110d4c264a4bbb8e905425f1f2c421 Running command git clone --filter=blob:none --quiet 'https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git' /tmp/pip-install-p2rkx9xg/icalibrationdb_74110d4c264a4bbb8e905425f1f2c421 Running command git checkout -q 691d9ed616391a761fd88d6514c404436fbc83ff Resolved https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git to commit 691d9ed616391a761fd88d6514c404436fbc83ff Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting h5py Downloading h5py-3.6.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 35.6 MB/s eta 0:00:00 Collecting pyzmq Downloading pyzmq-22.3.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 131.4 MB/s eta 0:00:00 Collecting python-dateutil Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 129.7 MB/s eta 0:00:00 Collecting numpy>=1.14.5 Downloading numpy-1.22.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 112.1 MB/s eta 0:00:00 Requirement already satisfied: six>=1.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from python-dateutil->iCalibrationDB@ git+https://xcalgitlab:dxh5vE8fFsEJHvatXjsV@git.xfel.eu/gitlab/detectors/cal_db_interactive.git@2.1.0->-r docs/requirements.txt (line 1)) (1.16.0) Building wheels for collected packages: iCalibrationDB Building wheel for iCalibrationDB (setup.py): started Building wheel for iCalibrationDB (setup.py): finished with status 'done' Created wheel for iCalibrationDB: filename=iCalibrationDB-2.1.0-py3-none-any.whl size=32643 sha256=0c85a04f61340abc0e5301c28830b98dad1cc9fde0d22505d1a1feeda3088a82 Stored in directory: /tmp/pip-ephem-wheel-cache-av5_tlg3/wheels/45/cc/fb/87e9cb07690394f114826e3260edeae9e174649bb6301f426c Successfully built iCalibrationDB Installing collected packages: pyzmq, python-dateutil, numpy, h5py, iCalibrationDB Successfully installed h5py-3.6.0 iCalibrationDB-2.1.0 numpy-1.22.3 python-dateutil-2.8.2 pyzmq-22.3.0 [rtd-command-info] start-time: 2022-03-16T07:43:13.668497Z, end-time: 2022-03-16T07:44:31.674517Z, duration: 78, exit-code: 0 /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir .[docs] Processing /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Collecting extra-data==1.9.1 Downloading EXtra_data-1.9.1-py3-none-any.whl (121 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 121.2/121.2 KB 3.2 MB/s eta 0:00:00 Collecting Jinja2==2.11.2 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.8/125.8 KB 29.2 MB/s eta 0:00:00 Collecting traitlets==4.3.3 Downloading traitlets-4.3.3-py2.py3-none-any.whl (75 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.7/75.7 KB 135.4 MB/s eta 0:00:00 Collecting matplotlib==3.4.2 Downloading matplotlib-3.4.2-cp38-cp38-manylinux1_x86_64.whl (10.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.3/10.3 MB 77.4 MB/s eta 0:00:00 Collecting nbparameterise==0.5 Downloading nbparameterise-0.5-py3-none-any.whl (6.0 kB) Collecting astcheck==0.2.5 Downloading astcheck-0.2.5-py2.py3-none-any.whl (10 kB) Collecting ipython-genutils==0.2.0 Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB) Collecting karabo-data==0.7.0 Downloading karabo_data-0.7.0-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 KB 117.9 MB/s eta 0:00:00 Collecting metadata-client==3.0.8 Downloading metadata_client-3.0.8-py3-none-any.whl (109 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.9/109.9 KB 126.9 MB/s eta 0:00:00 Collecting tabulate==0.8.6 Downloading tabulate-0.8.6.tar.gz (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 KB 112.0 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting prettytable==0.7.2 Downloading prettytable-0.7.2.zip (28 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pypandoc==1.4 Downloading pypandoc-1.4.tar.gz (27 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting dynaconf==3.1.4 Downloading dynaconf-3.1.4-py2.py3-none-any.whl (197 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 197.5/197.5 KB 123.3 MB/s eta 0:00:00 Collecting ipyparallel==6.2.4 Downloading ipyparallel-6.2.4-py2.py3-none-any.whl (198 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.6/198.6 KB 124.3 MB/s eta 0:00:00 Collecting nbconvert==5.6.1 Downloading nbconvert-5.6.1-py2.py3-none-any.whl (455 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 455.1/455.1 KB 139.5 MB/s eta 0:00:00 Collecting notebook==6.1.5 Downloading notebook-6.1.5-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 124.6 MB/s eta 0:00:00 Collecting ipykernel==5.1.4 Downloading ipykernel-5.1.4-py3-none-any.whl (116 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 116.8/116.8 KB 128.7 MB/s eta 0:00:00 Collecting ipython==7.12.0 Downloading ipython-7.12.0-py3-none-any.whl (777 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 777.3/777.3 KB 130.1 MB/s eta 0:00:00 Collecting pyzmq==19.0.0 Downloading pyzmq-19.0.0-cp38-cp38-manylinux1_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 135.6 MB/s eta 0:00:00 Collecting docutils==0.17.1 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 KB 131.5 MB/s eta 0:00:00 Collecting markupsafe==2.0.1 Downloading MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB) Collecting requests==2.22.0 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 KB 104.1 MB/s eta 0:00:00 Collecting dill==0.3.0 Downloading dill-0.3.0.tar.gz (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.4/151.4 KB 141.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting python-dateutil==2.8.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.2/227.2 KB 133.3 MB/s eta 0:00:00 Collecting kafka-python==2.0.2 Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.5/246.5 KB 142.2 MB/s eta 0:00:00 Collecting jupyter-client==6.1.7 Downloading jupyter_client-6.1.7-py3-none-any.whl (108 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.6/108.6 KB 114.7 MB/s eta 0:00:00 Collecting sharedmem==0.3.8 Downloading sharedmem-0.3.8.tar.gz (17 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting scipy==1.7.0 Downloading scipy-1.7.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (28.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 28.4/28.4 MB 109.5 MB/s eta 0:00:00 Collecting lxml==4.5.0 Downloading lxml-4.5.0-cp38-cp38-manylinux1_x86_64.whl (5.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 116.2 MB/s eta 0:00:00 Collecting jupyter-console==6.1.0 Downloading jupyter_console-6.1.0-py2.py3-none-any.whl (21 kB) Collecting jupyter-core==4.6.1 Downloading jupyter_core-4.6.1-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 KB 128.2 MB/s eta 0:00:00 Collecting gitpython==3.1.0 Downloading GitPython-3.1.0-py3-none-any.whl (450 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 450.7/450.7 KB 121.3 MB/s eta 0:00:00 Collecting scikit-learn==0.22.2.post1 Downloading scikit_learn-0.22.2.post1-cp38-cp38-manylinux1_x86_64.whl (7.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 117.8 MB/s eta 0:00:00 Collecting nbformat==5.0.7 Downloading nbformat-5.0.7-py3-none-any.whl (170 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 170.6/170.6 KB 132.0 MB/s eta 0:00:00 Collecting sphinx==1.8.5 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 131.8 MB/s eta 0:00:00 Collecting nbclient==0.5.1 Downloading nbclient-0.5.1-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.7/65.7 KB 110.5 MB/s eta 0:00:00 Collecting princess==0.5 Downloading princess-0.5-py3-none-any.whl (4.2 kB) Collecting cfelpyutils==1.0.1 Downloading cfelpyutils-1.0.1-py3-none-any.whl (23 kB) Collecting h5py==3.5.0 Downloading h5py-3.5.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 106.6 MB/s eta 0:00:00 Collecting Cython==0.29.21 Downloading Cython-0.29.21-cp38-cp38-manylinux1_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 142.2 MB/s eta 0:00:00 Collecting astsearch==0.2.0 Downloading astsearch-0.2.0-py3-none-any.whl (6.5 kB) Collecting pyyaml==5.3 Downloading PyYAML-5.3.tar.gz (268 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.2/268.2 KB 118.2 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting numpy==1.20.3 Downloading numpy-1.20.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.4/15.4 MB 122.2 MB/s eta 0:00:00 Collecting pasha==0.1.0 Downloading pasha-0.1.0-py3-none-any.whl (11 kB) Collecting psutil==5.9.0 Downloading psutil-5.9.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (283 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.8/283.8 KB 136.6 MB/s eta 0:00:00 Collecting iminuit==1.3.8 Downloading iminuit-1.3.8-cp38-cp38-manylinux2010_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 129.7 MB/s eta 0:00:00 Collecting extra-geom==1.6.0 Downloading EXtra_geom-1.6.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.6/77.6 KB 118.7 MB/s eta 0:00:00 Collecting nbsphinx Downloading nbsphinx-0.8.8-py3-none-any.whl (25 kB) Requirement already satisfied: future in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from cfelpyutils==1.0.1->European-XFEL-Offline-Calibration==1.0) (0.18.2) Collecting xarray Downloading xarray-2022.3.0-py3-none-any.whl (870 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 870.9/870.9 KB 143.3 MB/s eta 0:00:00 Collecting pandas Downloading pandas-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 77.3 MB/s eta 0:00:00 Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.9-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 106.2 MB/s eta 0:00:00 Collecting tornado>=4.2 Downloading tornado-6.1-cp38-cp38-manylinux2010_x86_64.whl (427 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.5/427.5 KB 149.5 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting backcall Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting pickleshare Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Requirement already satisfied: setuptools>=18.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from ipython==7.12.0->European-XFEL-Offline-Calibration==1.0) (41.0.1) Collecting setuptools>=18.5 Downloading setuptools-60.9.3-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 147.6 MB/s eta 0:00:00 Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 Downloading prompt_toolkit-3.0.28-py3-none-any.whl (380 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 380.2/380.2 KB 131.9 MB/s eta 0:00:00 Collecting jedi>=0.10 Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 139.6 MB/s eta 0:00:00 Collecting pexpect Downloading pexpect-4.8.0-py2.py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.0/59.0 KB 129.7 MB/s eta 0:00:00 Requirement already satisfied: pygments in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from ipython==7.12.0->European-XFEL-Offline-Calibration==1.0) (2.3.1) Collecting pygments Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 115.9 MB/s eta 0:00:00 Collecting fabio Downloading fabio-0.13.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 133.9 MB/s eta 0:00:00 Collecting karabo-bridge Downloading karabo_bridge-0.6.1.tar.gz (17 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting msgpack-numpy>=0.4.3 Downloading msgpack_numpy-0.4.7.1-py2.py3-none-any.whl (6.7 kB) Collecting msgpack>=0.5.4 Downloading msgpack-1.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (322 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 322.4/322.4 KB 131.9 MB/s eta 0:00:00 Collecting pillow>=6.2.0 Downloading Pillow-9.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 118.3 MB/s eta 0:00:00 Requirement already satisfied: pyparsing>=2.2.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from matplotlib==3.4.2->European-XFEL-Offline-Calibration==1.0) (3.0.7) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.4.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 142.2 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB) Requirement already satisfied: pytz in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from metadata-client==3.0.8->European-XFEL-Offline-Calibration==1.0) (2021.3) Collecting requests-oauthlib Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting oauth2-xfel-client>=6.0 Downloading oauth2_xfel_client-6.0.1-py3-none-any.whl (8.8 kB) Collecting oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 KB 130.1 MB/s eta 0:00:00 Collecting nest-asyncio Downloading nest_asyncio-1.5.4-py3-none-any.whl (5.1 kB) Collecting async-generator Downloading async_generator-1.10-py3-none-any.whl (18 kB) Collecting mistune<2,>=0.8.1 Downloading mistune-0.8.4-py2.py3-none-any.whl (16 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB) Collecting testpath Downloading testpath-0.6.0-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 KB 105.1 MB/s eta 0:00:00 Collecting entrypoints>=0.2.2 Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting defusedxml Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting bleach Downloading bleach-4.1.0-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.9/157.9 KB 115.2 MB/s eta 0:00:00 Collecting jsonschema!=2.5.0,>=2.4 Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.7/72.7 KB 121.2 MB/s eta 0:00:00 Collecting Send2Trash Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB) Collecting prometheus-client Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.1/57.1 KB 107.9 MB/s eta 0:00:00 Collecting argon2-cffi Downloading argon2_cffi-21.3.0-py3-none-any.whl (14 kB) Collecting terminado>=0.8.3 Downloading terminado-0.13.3-py3-none-any.whl (14 kB) Requirement already satisfied: pip>=8.1.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from pypandoc==1.4->European-XFEL-Offline-Calibration==1.0) (22.0.4) Requirement already satisfied: wheel>=0.25.0 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from pypandoc==1.4->European-XFEL-Offline-Calibration==1.0) (0.37.1) Requirement already satisfied: six>=1.5 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from python-dateutil==2.8.1->European-XFEL-Offline-Calibration==1.0) (1.16.0) Collecting idna<2.9,>=2.5 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 101.1 MB/s eta 0:00:00 Requirement already satisfied: certifi>=2017.4.17 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from requests==2.22.0->European-XFEL-Offline-Calibration==1.0) (2021.10.8) Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.0/128.0 KB 120.2 MB/s eta 0:00:00 Collecting chardet<3.1.0,>=3.0.2 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 120.8 MB/s eta 0:00:00 Collecting joblib>=0.11 Downloading joblib-1.1.0-py2.py3-none-any.whl (306 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.0/307.0 KB 143.6 MB/s eta 0:00:00 Requirement already satisfied: snowballstemmer>=1.1 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (2.2.0) Requirement already satisfied: imagesize in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (1.3.0) Requirement already satisfied: packaging in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (21.3) Requirement already satisfied: sphinxcontrib-websupport in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (1.2.4) Requirement already satisfied: babel!=2.0,>=1.3 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (2.9.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (0.7.12) Collecting smmap<6,>=3.0.1 Downloading smmap-5.0.0-py3-none-any.whl (24 kB) Collecting parso<0.9.0,>=0.8.0 Downloading parso-0.8.3-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.8/100.8 KB 114.6 MB/s eta 0:00:00 Collecting importlib-resources>=1.4.0 Downloading importlib_resources-5.4.0-py3-none-any.whl (28 kB) Collecting attrs>=17.4.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 KB 86.9 MB/s eta 0:00:00 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.18.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (119 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.8/119.8 KB 131.7 MB/s eta 0:00:00 Collecting wcwidth Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting ptyprocess Downloading ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB) Collecting argon2-cffi-bindings Downloading argon2_cffi_bindings-21.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.2/86.2 KB 113.1 MB/s eta 0:00:00 Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Requirement already satisfied: sphinxcontrib-serializinghtml in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from sphinxcontrib-websupport->sphinx==1.8.5->European-XFEL-Offline-Calibration==1.0) (1.1.5) Collecting zipp>=3.1.0 Downloading zipp-3.7.0-py3-none-any.whl (5.3 kB) Collecting cffi>=1.0.1 Downloading cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (446 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 446.7/446.7 KB 109.0 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 134.4 MB/s eta 0:00:00 Building wheels for collected packages: dill, prettytable, pypandoc, pyyaml, sharedmem, tabulate, European-XFEL-Offline-Calibration, karabo-bridge Building wheel for dill (setup.py): started Building wheel for dill (setup.py): finished with status 'done' Created wheel for dill: filename=dill-0.3.0-py3-none-any.whl size=77513 sha256=a284856c318e772e8fef9468c8618600b9cccfc49f81ce04e821a8349cbbee6f Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/ec/e7/fb/9b59e2dbda9eeefab51f7cb41df434ff463c4afe1985abff24 Building wheel for prettytable (setup.py): started Building wheel for prettytable (setup.py): finished with status 'done' Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl size=13699 sha256=a3badfc98ec4f2a3c53256e5958f71ebd28b743b11125a02f0fe0550dd94cce1 Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/48/6d/77/9517cb933af254f51a446f1a5ec9c2be3e45f17384940bce68 Building wheel for pypandoc (setup.py): started Building wheel for pypandoc (setup.py): finished with status 'done' Created wheel for pypandoc: filename=pypandoc-1.4-py3-none-any.whl size=16717 sha256=45e91e63926e7b25cf78e1d2fedb7470902de082883a4a2efdf35e3aaaafeb00 Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/f7/d9/a0/ef1fe56c058e41d6271a4935caaeae89d43e2280504690a329 Building wheel for pyyaml (setup.py): started Building wheel for pyyaml (setup.py): finished with status 'done' Created wheel for pyyaml: filename=PyYAML-5.3-cp38-cp38-linux_x86_64.whl size=44228 sha256=5f98fc5b7a0c12120b5cabbbc6e50e5a936dd728ea7e1adc470efb2c6305d77e Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/e4/94/ec/65e430f66fda7a86c08f61ce59455581adc269a65881b4ffeb Building wheel for sharedmem (setup.py): started Building wheel for sharedmem (setup.py): finished with status 'done' Created wheel for sharedmem: filename=sharedmem-0.3.8-py3-none-any.whl size=18341 sha256=6d782285332638882767314a08d8883e71cfa320f3033429130377ba943cf50d Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/ee/ef/25/9562dc56f11d2b55824c1b1547eff68b75f1a0117d3b0867dd Building wheel for tabulate (setup.py): started Building wheel for tabulate (setup.py): finished with status 'done' Created wheel for tabulate: filename=tabulate-0.8.6-py3-none-any.whl size=23273 sha256=b06f342f0f5cad5509c5efaddbb93aa1748afa58f6e810ac6632ecfa265ceb3b Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/86/8c/d9/3b6c2f55efaefe656c52b725d2fdc5669085c83444979db8b3 Building wheel for European-XFEL-Offline-Calibration (pyproject.toml): started Building wheel for European-XFEL-Offline-Calibration (pyproject.toml): finished with status 'done' Created wheel for European-XFEL-Offline-Calibration: filename=European_XFEL_Offline_Calibration-1.0-cp38-cp38-linux_x86_64.whl size=938838 sha256=e4a7a84a8be6641d2f830743a13d19398479d2e8f5ca297942643bf336987beb Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/22/7d/09/eb4f2a2bc8741186a0b6a6c96994f65acdd8e2af144db3f698 Building wheel for karabo-bridge (setup.py): started Building wheel for karabo-bridge (setup.py): finished with status 'done' Created wheel for karabo-bridge: filename=karabo_bridge-0.6.1-py3-none-any.whl size=23572 sha256=c4406aa46ee19a47e52013485bc982a486a727933abf2c00587ce4d46e31b7ed Stored in directory: /tmp/pip-ephem-wheel-cache-g2odn524/wheels/2a/a0/2b/f52b06d2c14fbb8bdcb82677deaa7a5c4d40277f87aab8058c Successfully built dill prettytable pypandoc pyyaml sharedmem tabulate European-XFEL-Offline-Calibration karabo-bridge Installing collected packages: webencodings, wcwidth, tabulate, Send2Trash, ptyprocess, prettytable, pickleshare, msgpack, mistune, kafka-python, ipython-genutils, dynaconf, chardet, backcall, astcheck, zipp, urllib3, tornado, testpath, smmap, setuptools, pyzmq, pyyaml, python-dateutil, pyrsistent, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, pillow, pexpect, parso, pandocfilters, oauthlib, numpy, nest-asyncio, markupsafe, lxml, kiwisolver, joblib, idna, entrypoints, docutils, dill, defusedxml, decorator, Cython, cycler, attrs, async-generator, astsearch, traitlets, terminado, sharedmem, scipy, requests, pypandoc, pasha, pandas, msgpack-numpy, matplotlib, Jinja2, jedi, importlib-resources, iminuit, h5py, gitdb, fabio, cffi, cfelpyutils, bleach, xarray, sphinx, scikit-learn, requests-oauthlib, karabo-bridge, jupyter-core, jsonschema, ipython, gitpython, extra-geom, argon2-cffi-bindings, oauth2-xfel-client, nbformat, karabo-data, jupyter-client, extra-data, argon2-cffi, nbconvert, nbclient, metadata-client, ipykernel, princess, notebook, nbsphinx, nbparameterise, jupyter-console, ipyparallel, European-XFEL-Offline-Calibration Attempting uninstall: urllib3 Found existing installation: urllib3 1.26.8 Uninstalling urllib3-1.26.8: Successfully uninstalled urllib3-1.26.8 Attempting uninstall: setuptools Found existing installation: setuptools 41.0.1 Uninstalling setuptools-41.0.1: Successfully uninstalled setuptools-41.0.1 Attempting uninstall: pyzmq Found existing installation: pyzmq 22.3.0 Uninstalling pyzmq-22.3.0: Successfully uninstalled pyzmq-22.3.0 Attempting uninstall: python-dateutil Found existing installation: python-dateutil 2.8.2 Uninstalling python-dateutil-2.8.2: Successfully uninstalled python-dateutil-2.8.2 Attempting uninstall: pygments Found existing installation: Pygments 2.3.1 Uninstalling Pygments-2.3.1: Successfully uninstalled Pygments-2.3.1 Attempting uninstall: pillow Found existing installation: Pillow 5.4.1 Uninstalling Pillow-5.4.1: Successfully uninstalled Pillow-5.4.1 Attempting uninstall: numpy Found existing installation: numpy 1.22.3 Uninstalling numpy-1.22.3: Successfully uninstalled numpy-1.22.3 Attempting uninstall: markupsafe Found existing installation: MarkupSafe 2.1.1 Uninstalling MarkupSafe-2.1.1: Successfully uninstalled MarkupSafe-2.1.1 Attempting uninstall: idna Found existing installation: idna 3.3 Uninstalling idna-3.3: Successfully uninstalled idna-3.3 Attempting uninstall: docutils Found existing installation: docutils 0.14 Uninstalling docutils-0.14: Successfully uninstalled docutils-0.14 Attempting uninstall: requests Found existing installation: requests 2.27.1 Uninstalling requests-2.27.1: Successfully uninstalled requests-2.27.1 Attempting uninstall: Jinja2 Found existing installation: Jinja2 3.0.3 Uninstalling Jinja2-3.0.3: Successfully uninstalled Jinja2-3.0.3 Attempting uninstall: h5py Found existing installation: h5py 3.6.0 Uninstalling h5py-3.6.0: Successfully uninstalled h5py-3.6.0 Attempting uninstall: sphinx Found existing installation: Sphinx 1.8.6 Uninstalling Sphinx-1.8.6: Successfully uninstalled Sphinx-1.8.6 Successfully installed Cython-0.29.21 European-XFEL-Offline-Calibration-1.0 Jinja2-2.11.2 Send2Trash-1.8.0 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 astcheck-0.2.5 astsearch-0.2.0 async-generator-1.10 attrs-21.4.0 backcall-0.2.0 bleach-4.1.0 cfelpyutils-1.0.1 cffi-1.15.0 chardet-3.0.4 cycler-0.11.0 decorator-5.1.1 defusedxml-0.7.1 dill-0.3.0 docutils-0.17.1 dynaconf-3.1.4 entrypoints-0.4 extra-data-1.9.1 extra-geom-1.6.0 fabio-0.13.0 gitdb-4.0.9 gitpython-3.1.0 h5py-3.5.0 idna-2.8 iminuit-1.3.8 importlib-resources-5.4.0 ipykernel-5.1.4 ipyparallel-6.2.4 ipython-7.12.0 ipython-genutils-0.2.0 jedi-0.18.1 joblib-1.1.0 jsonschema-4.4.0 jupyter-client-6.1.7 jupyter-console-6.1.0 jupyter-core-4.6.1 kafka-python-2.0.2 karabo-bridge-0.6.1 karabo-data-0.7.0 kiwisolver-1.4.0 lxml-4.5.0 markupsafe-2.0.1 matplotlib-3.4.2 metadata-client-3.0.8 mistune-0.8.4 msgpack-1.0.3 msgpack-numpy-0.4.7.1 nbclient-0.5.1 nbconvert-5.6.1 nbformat-5.0.7 nbparameterise-0.5 nbsphinx-0.8.8 nest-asyncio-1.5.4 notebook-6.1.5 numpy-1.20.3 oauth2-xfel-client-6.0.1 oauthlib-3.2.0 pandas-1.4.1 pandocfilters-1.5.0 parso-0.8.3 pasha-0.1.0 pexpect-4.8.0 pickleshare-0.7.5 pillow-9.0.1 prettytable-0.7.2 princess-0.5 prometheus-client-0.13.1 prompt-toolkit-3.0.28 psutil-5.9.0 ptyprocess-0.7.0 pycparser-2.21 pygments-2.11.2 pypandoc-1.4 pyrsistent-0.18.1 python-dateutil-2.8.1 pyyaml-5.3 pyzmq-19.0.0 requests-2.22.0 requests-oauthlib-1.3.1 scikit-learn-0.22.2.post1 scipy-1.7.0 setuptools-60.9.3 sharedmem-0.3.8 smmap-5.0.0 sphinx-1.8.5 tabulate-0.8.6 terminado-0.13.3 testpath-0.6.0 tornado-6.1 traitlets-4.3.3 urllib3-1.25.11 wcwidth-0.2.5 webencodings-0.5.1 xarray-2022.3.0 zipp-3.7.0 [rtd-command-info] start-time: 2022-03-16T07:44:32.710988Z, end-time: 2022-03-16T07:44:33.069512Z, duration: 0, exit-code: 0 cat docs/source/conf.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # European XFEL Offline Calibration documentation build configuration file, created by # sphinx-quickstart on Sun Jun 10 17:32:30 2018. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show the default. import glob # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # # import os # import sys # sys.path.insert(0, os.path.abspath('.')) import os import shutil import sys import textwrap from datetime import datetime from subprocess import Popen, check_output from textwrap import dedent, indent from uuid import uuid4 import nbformat import tabulate from dateutil.parser import parse from lxml import etree from nbconvert import RSTExporter # generate the list of available notebooks from xfel_calibrate import notebooks # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # # needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode', ] sys.path.append(os.path.abspath("../pycalibration/")) p = Popen(["./makeAllDocs.sh"]) p.communicate() # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # # source_suffix = ['.rst', '.md'] source_suffix = '.rst' # The encoding of source files. # # source_encoding = 'utf-8-sig' # The master toctree document. master_doc = 'index' # General information about the project. project = 'European XFEL Offline Calibration' copyright = '2018, The European XFEL Detector Group' author = 'The European XFEL Detector Group' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. version = '1.0' # The full version, including alpha/beta/rc tags. release = '1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. language = None # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: # # today = '' # # Else, today_fmt is used as the format for a strftime call. # # today_fmt = '%B %d, %Y' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This patterns also effect to html_static_path and html_extra_path exclude_patterns = [] # The reST default role (used for this markup: `text`) to use for all # documents. # # default_role = None # If true, '()' will be appended to :func: etc. cross-reference text. # # add_function_parentheses = True # If true, the current module name will be prepended to all description # unit titles (such as .. function::). # # add_module_names = True # If true, sectionauthor and moduleauthor directives will be shown in the # output. They are ignored by default. # # show_authors = False # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] # If true, keep warnings as "system message" paragraphs in the built documents. # keep_warnings = False # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. # # html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] # The name for this set of Sphinx documents. # " v documentation" by default. # # html_title = 'European XFEL Offline Calibration v1.0' # A shorter title for the navigation bar. Default is the same as html_title. # # html_short_title = None # The name of an image file (relative to this directory) to place at the top # of the sidebar. # # html_logo = None # The name of an image file (relative to this directory) to use as a favicon of # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. # # html_favicon = None # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied # directly to the root of the documentation. # # html_extra_path = [] # If not None, a 'Last updated on:' timestamp is inserted at every page # bottom, using the given strftime format. # The empty string is equivalent to '%b %d, %Y'. # # html_last_updated_fmt = None # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # # html_use_smartypants = True # Custom sidebar templates, maps document names to template names. # # html_sidebars = {} # Additional templates that should be rendered to pages, maps page names to # template names. # # html_additional_pages = {} # If false, no module index is generated. # # html_domain_indices = True # If false, no index is generated. # # html_use_index = True # If true, the index is split into individual pages for each letter. # # html_split_index = False # If true, links to the reST sources are added to the pages. # # html_show_sourcelink = True # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. # # html_show_sphinx = True # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. # # html_show_copyright = True # If true, an OpenSearch description file will be output, and all pages will # contain a tag referring to it. The value of this option must be the # base URL from which the finished HTML is served. # # html_use_opensearch = '' # This is the file name suffix for HTML files (e.g. ".xhtml"). # html_file_suffix = None # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja' # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh' # # html_search_language = 'en' # A dictionary with options for the search language support, empty by default. # 'ja' uses this config value. # 'zh' user can custom change `jieba` dictionary path. # # html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. # # html_search_scorer = 'scorer.js' # Output file base name for HTML help builder. htmlhelp_basename = 'EuropeanXFELOfflineCalibrationdoc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { # The paper size ('letterpaper' or 'a4paper'). # # 'papersize': 'letterpaper', # The font size ('10pt', '11pt' or '12pt'). # # 'pointsize': '10pt', # Additional stuff for the LaTeX preamble. # # 'preamble': '', # Latex figure (float) alignment # # 'figure_align': 'htbp', 'extraclassoptions': 'openany, oneside', } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ (master_doc, 'EuropeanXFELOfflineCalibration.tex', 'European XFEL Offline Calibration Documentation', 'The European XFEL Detector Group', 'manual', True), ] # The name of an image file (relative to this directory) to place at the top of # the title page. # # latex_logo = None # For "manual" documents, if this is true, then toplevel headings are parts, # not chapters. # # latex_use_parts = False # If true, show page references after internal links. # # latex_show_pagerefs = False # If true, show URL addresses after external links. # # latex_show_urls = False # Documents to append as an appendix to all manuals. # # latex_appendices = [] # It false, will not define \strong, \code, itleref, \crossref ... but only # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added # packages. # # latex_keep_old_macro_names = True # If false, no module index is generated. # # latex_domain_indices = True # -- Options for manual page output --------------------------------------- # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ (master_doc, 'europeanxfelofflinecalibration', 'European XFEL Offline Calibration Documentation', [author], 1) ] # If true, show URL addresses after external links. # # man_show_urls = False # -- Options for Texinfo output ------------------------------------------- # Grouping the document tree into Texinfo files. List of tuples # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ (master_doc, 'EuropeanXFELOfflineCalibration', 'European XFEL Offline Calibration Documentation', author, 'EuropeanXFELOfflineCalibration', 'One line description of project.', 'Miscellaneous'), ] # Documents to append as an appendix to all manuals. # # texinfo_appendices = [] # If false, no module index is generated. # # texinfo_domain_indices = True # How to display URL addresses: 'footnote', 'no', or 'inline'. # # texinfo_show_urls = 'footnote' # If true, do not generate a @detailmenu in the "Top" node's menu. # # texinfo_no_detailmenu = False # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = {'https://docs.python.org/': None} # first install pandoc if necessary, this is mainly meant for the RTD builds try: from nbconvert.utils.pandoc import check_pandoc_version check_pandoc_version() print("Pandoc was found!") except: print("Installing Pandoc!") from subprocess import check_call pandoc_url = "https://github.com/jgm/pandoc/releases/download/2.2.1/pandoc-2.2.1-1-amd64.deb" pandoc_pack = "pandoc-2.2.1-1-amd64.deb" check_call(["wget", pandoc_url]) check_call(["dpkg", "-i", pandoc_pack]) rst_exporter = RSTExporter() with open("available_notebooks.rst", "w") as f: f.write(dedent(""" .. _available_notebooks: Available Notebooks =================== The following notebooks are currently integrated into the European XFEL Offline Calibration tool chain. """)) for detector in sorted(notebooks.notebooks.keys()): # Avoid having test notebooks in detector notebooks documentations. if "TEST" in detector.upper(): continue values = notebooks.notebooks[detector] f.write("{}\n".format(detector)) f.write("{}\n".format("-"*len(detector))) f.write("\n") for caltype in sorted(values.keys()): data = values[caltype] if data.get("notebook", None) is None: continue nbpath = os.path.abspath("{}/../../../{}".format(__file__, data["notebook"])) with open(nbpath, "r") as nf: nb = nbformat.read(nf, as_version=4) def first_markdown_cell(nb): for cell in nb.cells: if cell.cell_type == 'markdown': return cell mdcell = first_markdown_cell(nb) nb.cells = [mdcell] # we only want this single cell body, _ = rst_exporter.from_notebook_node(nb) adjusted = [] # adjust titles for line in body.split("\n"): if line.startswith("=="): line = line.replace("=", "+") if line.startswith("--"): line = line.replace("-", "~") adjusted.append(line) f.write("\n".join(adjusted)) f.write("\n") f.write("To invoke this notebook and display help use:\n\n") f.write(".. code-block:: bash\n\n") f.write(" xfel-calibrate {} {} --help\n\n".format(detector, caltype)) f.write("The full parameter list of this notebook (with defaults is): \n\n") f.write(".. code-block:: bash\n\n") nb_help = ["xfel-calibrate", detector, caltype, "--help"] output = check_output(nb_help).decode('utf8') f.write(indent(output.replace("DETECTOR", detector).replace("TYPE", caltype), " "*4)) f.write("\n\n") # add test results test_artefact_dir = os.path.realpath("../../tests/legacy/artefacts") def xml_to_rst_report(xml, git_tag, reports=[]): e = etree.fromstring(xml.encode()) rst = [""] rst += ["Test execution for {test_name} on {ex_date}"] test_name, ex_date = e.get("name").split("-") ex_date = parse(ex_date) rst[-1] = rst[-1].format(test_name=test_name, ex_date=ex_date) rst += ["="*len(rst[-1])] rst += [""] num_tests = e.get("tests") num_err = int(e.get("errors")) num_fail = int(e.get("failures")) num_skip = int(e.get("skipped")) # create a summary header if num_err + num_fail == 0: rst += [":header-passed:`✓`"] else: rst += [":header-failed:`❌`"] if num_skip > 0: rst[-1] += ":header-skipped:`⚠`" rst += [""] # give a summary rst += [":Git tag: {git_tag}".format(git_tag=git_tag)] rst += [":Tests: {num_tests}".format(num_tests=num_tests)] rst += [":Errors: {num_err}".format(num_err=num_err)] rst += [":Failures: {num_fail}".format(num_fail=num_fail)] rst += [":Skipped: {num_skip}".format(num_skip=num_skip)] rst += [":Duration: {duration}s".format(duration=e.get("time"))] for rname, rpath in reports: rst += [":Report: `{} <{}>`_".format(rname, rpath)] rst += [""] # now the details rst += ["Detailed Results"] rst += ["-"*len(rst[-1])] rst += [""] detailed_failures = [] rows = [] for child in e: if child.tag != "testcase": continue name = child.get("name") extime = child.get("time") status = ":passed:`passed`" msg = "" etype = "" if len(child): # children are pressent so test failed or skipped detail = child[0] etype = detail.get("type") msg = detail.get("message") if etype == "skip": status = ":skipped:`skipped`" else: status= ":failed:`failed`" detailed_failures.append((name, detail.text)) msg = "\n".join(textwrap.wrap(msg, 20)) row = [status, name, etype, msg, extime ] rows.append(row) header = ["Result", "Test", "Error", "Message", "Duration (s)"] tblrst = tabulate.tabulate(rows, headers=header, tablefmt="rst") rst += tblrst.split("\n") rst += [""] for test, report in detailed_failures: rst += ["Failure report for: {}".format(test)] rst += ["~"*len(rst[-1])] rst += [""] rst += [".. code-block:: python"] rst += textwrap.indent(report, " "*4).split("\n") rst += [""] do_console = False for child in e: if child.tag == "system-out" and len(child.text.strip()): do_console = True break if do_console: # console output rst += ["Console Output"] rst += ["-"*len(rst[-1])] rst += [""] for child in e: if child.tag != "system-out": continue rst += [".. code-block:: console"] rst += textwrap.indent(child.text, " "*4).split("\n") return "\n".join(rst) def sorted_dir(folder): def getmtime(name): path = os.path.join(folder, name) return os.path.getmtime(path) sort = sorted(os.listdir(folder), key=getmtime, reverse=True) return [(s, datetime.fromtimestamp(getmtime(s))) for s in sort] header = """ Test Results ++++++++++++ Results are organized by git commit, and sorted descending by date. Contents: .. toctree:: :maxdepth: 2 """ if not os.path.exists("./test_rsts"): os.makedirs("./test_rsts") with open("test_results.rst", "w") as f: f.write(header) for commit, modtime in sorted_dir(test_artefact_dir): with open("./test_rsts/{}.rst".format(commit), "w") as fr: rst = [".. include:: roles.rst"] rst += [""] rst += ["{} - {}".format(commit[:8], modtime)] rst += ["+"*len(rst[-1])] rst += [""] fr.write("\n".join(rst)) # copy reports pdfs = glob.glob("{}/{}/*/*.pdf".format(test_artefact_dir, commit)) if not os.path.exists("./_static/reports/{}".format(commit)): os.makedirs("./_static/reports/{}".format(commit)) reports = {} for pdf in pdfs: ppath = "{}/{}.pdf".format(commit, uuid4()) shutil.copyfile(pdf, "./_static/reports/{}".format(ppath)) rloc = pdf.split("/")[-2] rlist = reports.get(rloc, []) rname = os.path.basename(pdf).split(".")[0] rlist.append((rname, "../_static/reports/{}".format(ppath))) reports[rloc] = rlist xmls = glob.glob("{}/{}/*/TEST*.xml".format(test_artefact_dir, commit)) for xml in xmls: rloc = xml.split("/")[-2] with open(xml, "r") as xf: xs = xf.read() rst = xml_to_rst_report(xs, commit, reports=reports.get(rloc, [])) fr.write(rst) f.write(" test_rsts/{}\n".format(commit)) def setup(app): app.add_stylesheet('css/test_decorators.css') ########################################################################### # auto-created readthedocs.org specific configuration # ########################################################################### # # The following code was added during an automated build on readthedocs.org # It is auto created and injected for every build. The result is based on the # conf.py.tmpl file found in the readthedocs.org codebase: # https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl # import importlib import sys import os.path from six import string_types from sphinx import version_info # Get suffix for proper linking to GitHub # This is deprecated in Sphinx 1.3+, # as each page can have its own suffix if globals().get('source_suffix', False): if isinstance(source_suffix, string_types): SUFFIX = source_suffix elif isinstance(source_suffix, (list, tuple)): # Sphinx >= 1.3 supports list/tuple to define multiple suffixes SUFFIX = source_suffix[0] elif isinstance(source_suffix, dict): # Sphinx >= 1.8 supports a mapping dictionary for multiple suffixes SUFFIX = list(source_suffix.keys())[0] # make a ``list()`` for py2/py3 compatibility else: # default to .rst SUFFIX = '.rst' else: SUFFIX = '.rst' # Add RTD Static Path. Add to the end because it overwrites previous files. if not 'html_static_path' in globals(): html_static_path = [] if os.path.exists('_static'): html_static_path.append('_static') # Add RTD Theme only if they aren't overriding it already using_rtd_theme = ( ( 'html_theme' in globals() and html_theme in ['default'] and # Allow people to bail with a hack of having an html_style 'html_style' not in globals() ) or 'html_theme' not in globals() ) if using_rtd_theme: theme = importlib.import_module('sphinx_rtd_theme') html_theme = 'sphinx_rtd_theme' html_style = None html_theme_options = {} if 'html_theme_path' in globals(): html_theme_path.append(theme.get_html_theme_path()) else: html_theme_path = [theme.get_html_theme_path()] if globals().get('websupport2_base_url', False): websupport2_base_url = 'http://rtd.xfel.eu/websupport' websupport2_static_url = '/static/' #Add project information to the template context. context = { 'using_theme': using_rtd_theme, 'html_theme': html_theme, 'current_version': "latest", 'version_slug': "latest", 'MEDIA_URL': "media/", 'STATIC_URL': "/static/", 'PRODUCTION_DOMAIN': "rtd.xfel.eu", 'versions': [ ("latest", "/en/latest/"), ("stable", "/en/stable/"), ("doc-commonspace", "/en/doc-commonspace/"), ], 'downloads': [ ], 'subprojects': [ ], 'slug': 'european-xfel-offline-calibration', 'name': u'European XFEL Offline Calibration', 'rtd_language': u'en', 'programming_language': u'py', 'canonical_url': 'http://rtd.xfel.eu/docs/european-xfel-offline-calibration/en/latest/', 'analytics_code': 'None', 'single_version': False, 'conf_py_path': '/docs/source/', 'api_host': 'http://rtd.xfel.eu', 'github_user': 'None', 'proxied_api_host': '/_', 'github_repo': 'None', 'github_version': 'doc/update_pycalibration_documentation', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'doc/update_pycalibration_documentation', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'doc/update_pycalibration_documentation', 'display_gitlab': False, 'READTHEDOCS': True, 'using_theme': (html_theme == "default"), 'new_theme': (html_theme == "sphinx_rtd_theme"), 'source_suffix': SUFFIX, 'ad_free': False, 'docsearch_disabled': False, 'user_analytics_code': '', 'global_analytics_code': 'None', 'commit': 'c81d0059', } if 'html_context' in globals(): html_context.update(context) else: html_context = context # Add custom RTD extension if 'extensions' in globals(): # Insert at the beginning because it can interfere # with other extensions. # See https://github.com/rtfd/readthedocs.org/pull/4054 extensions.insert(0, "readthedocs_ext.readthedocs") else: extensions = ["readthedocs_ext.readthedocs"] # Add External version warning banner to the external version documentation if 'branch' == 'external': extensions.insert(1, "readthedocs_ext.external_version_warning") project_language = 'en' # User's Sphinx configurations language_user = globals().get('language', None) latex_engine_user = globals().get('latex_engine', None) latex_elements_user = globals().get('latex_elements', None) # Remove this once xindy gets installed in Docker image and XINDYOPS # env variable is supported # https://github.com/rtfd/readthedocs-docker-images/pull/98 latex_use_xindy = False chinese = any([ language_user in ('zh_CN', 'zh_TW'), project_language in ('zh_CN', 'zh_TW'), ]) japanese = any([ language_user == 'ja', project_language == 'ja', ]) if chinese: latex_engine = latex_engine_user or 'xelatex' latex_elements_rtd = { 'preamble': '\\usepackage[UTF8]{ctex}\n', } latex_elements = latex_elements_user or latex_elements_rtd elif japanese: latex_engine = latex_engine_user or 'platex' # Make sure our build directory is always excluded exclude_patterns = globals().get('exclude_patterns', []) exclude_patterns.extend(['_build']) [rtd-command-info] start-time: 2022-03-16T07:44:33.221893Z, end-time: 2022-03-16T07:45:51.253662Z, duration: 78, exit-code: 0 python /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/sphinx-build -T -b readthedocs -d _build/doctrees-readthedocs -D language=en . _build/html Running Sphinx v1.8.5 [NbConvertApp] Converting notebook ../../../notebooks/Tutorial/calversion.ipynb to rst [NbConvertApp] Writing 4434 bytes to ./calversion.rst Matplotlib is building the font cache; this may take a moment. Pandoc was found! loading translations [en]... done making output directory... loading intersphinx inventory from https://docs.python.org/objects.inv... intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv building [mo]: targets for 0 po files that are out of date building [readthedocs]: targets for 17 source files that are out of date updating environment: 17 added, 0 changed, 0 removed reading sources... [ 5%] _notebooks/calversion reading sources... [ 11%] _notebooks/index reading sources... [ 17%] advanced reading sources... [ 23%] available_notebooks reading sources... [ 29%] cal_tools_algorithms reading sources... [ 35%] changelog reading sources... [ 41%] configuration reading sources... [ 47%] index reading sources... [ 52%] installation reading sources... [ 58%] test_results reading sources... [ 64%] test_rsts/9088fa11013afe7bb5d4231fd4170c96e34db520 reading sources... [ 70%] test_rsts/ca3b513c64c05a29ae0f530c91b04349417c4fa0 reading sources... [ 76%] test_rsts/roles reading sources... [ 82%] testing reading sources... [ 88%] tutorial reading sources... [ 94%] workflow reading sources... [100%] xfel_calibrate_conf /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/_notebooks/calversion.rst:2: WARNING: Explicit markup ends without a blank line; unexpected unindent. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/advanced.rst:46: WARNING: Literal block expected; none found. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/index.rst:61: WARNING: toctree contains reference to nonexisting document 'architecture' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] _notebooks/calversion writing output... [ 11%] _notebooks/index writing output... [ 17%] advanced writing output... [ 23%] available_notebooks writing output... [ 29%] cal_tools_algorithms writing output... [ 35%] changelog writing output... [ 41%] configuration writing output... [ 47%] index writing output... [ 52%] installation writing output... [ 58%] test_results writing output... [ 64%] test_rsts/9088fa11013afe7bb5d4231fd4170c96e34db520 writing output... [ 70%] test_rsts/ca3b513c64c05a29ae0f530c91b04349417c4fa0 writing output... [ 76%] test_rsts/roles writing output... [ 82%] testing writing output... [ 88%] tutorial writing output... [ 94%] workflow writing output... [100%] xfel_calibrate_conf /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:43: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:733: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:937: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1086: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1262: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1421: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1587: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1760: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:1900: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2048: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2185: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2548: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2643: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2812: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:2979: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3140: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3311: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3498: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3673: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3807: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:3937: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:4065: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:4740: WARNING: Could not lex literal_block as "bash". Highlighting skipped. /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/checkouts/latest/docs/source/available_notebooks.rst:4923: WARNING: Could not lex literal_block as "bash". Highlighting skipped. generating indices... genindex py-modindex highlighting module code... [ 50%] cal_tools.agipdlib highlighting module code... [100%] xfel_calibrate.calibrate writing additional pages... search copying static files... done copying readthedocs static files... done copying searchtools... done copying extra files... done dumping search index in English (code: en) ... done dumping object inventory... done build succeeded, 27 warnings. The HTML pages are in _build/html.