Read the Docs build information Build id: 23150 Project: european-xfel-offline-calibration Version: latest Commit: 0c6054974af6ff02946e6272f4bb0413697ca43f Date: 2022-02-22T12:25:21.835932Z State: finished Success: False [rtd-command-info] start-time: 2022-02-22T12:25:23.342369Z, end-time: 2022-02-22T12:25:45.317844Z, duration: 21, exit-code: 0 git clone --no-single-branch --depth 50 http://git.xfel.eu/gitlab/detectors/pycalibration.git . Cloning into '.'... Checking out files: 33% (81/243) Checking out files: 34% (83/243) Checking out files: 35% (86/243) Checking out files: 36% (88/243) Checking out files: 37% (90/243) Checking out files: 38% (93/243) Checking out files: 39% (95/243) Checking out files: 40% (98/243) Checking out files: 41% (100/243) Checking out files: 42% (103/243) Checking out files: 43% (105/243) Checking out files: 44% (107/243) Checking out files: 45% (110/243) Checking out files: 46% (112/243) Checking out files: 47% (115/243) Checking out files: 48% (117/243) Checking out files: 49% (120/243) Checking out files: 50% (122/243) Checking out files: 51% (124/243) Checking out files: 52% (127/243) Checking out files: 53% (129/243) Checking out files: 54% (132/243) Checking out files: 55% (134/243) Checking out files: 56% (137/243) Checking out files: 57% (139/243) Checking out files: 58% (141/243) Checking out files: 59% (144/243) Checking out files: 60% (146/243) Checking out files: 61% (149/243) Checking out files: 62% (151/243) Checking out files: 63% (154/243) Checking out files: 64% (156/243) Checking out files: 65% (158/243) Checking out files: 66% (161/243) Checking out files: 67% (163/243) Checking out files: 68% (166/243) Checking out files: 69% (168/243) Checking out files: 70% (171/243) Checking out files: 71% (173/243) Checking out files: 72% (175/243) Checking out files: 73% (178/243) Checking out files: 74% (180/243) Checking out files: 75% (183/243) Checking out files: 76% (185/243) Checking out files: 77% (188/243) Checking out files: 78% (190/243) Checking out files: 79% (192/243) Checking out files: 80% (195/243) Checking out files: 81% (197/243) Checking out files: 82% (200/243) Checking out files: 83% (202/243) Checking out files: 84% (205/243) Checking out files: 85% (207/243) Checking out files: 86% (209/243) Checking out files: 87% (212/243) Checking out files: 88% (214/243) Checking out files: 89% (217/243) Checking out files: 90% (219/243) Checking out files: 91% (222/243) Checking out files: 92% (224/243) Checking out files: 93% (226/243) Checking out files: 94% (229/243) Checking out files: 95% (231/243) Checking out files: 96% (234/243) Checking out files: 97% (236/243) Checking out files: 98% (239/243) Checking out files: 99% (241/243) Checking out files: 100% (243/243) Checking out files: 100% (243/243), done. [rtd-command-info] start-time: 2022-02-22T12:25:45.794302Z, end-time: 2022-02-22T12:25:46.240040Z, duration: 0, exit-code: 0 git checkout --force origin/doc/run_rtd Note: checking out 'origin/doc/run_rtd'. 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 0c60549 put back iCalibrationDB [rtd-command-info] start-time: 2022-02-22T12:25:46.375713Z, end-time: 2022-02-22T12:25:46.457691Z, duration: 0, exit-code: 0 git clean -d -f -f [rtd-command-info] start-time: 2022-02-22T12:25:48.698577Z, end-time: 2022-02-22T12:25:56.072714Z, 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-02-22T12:25:56.245511Z, end-time: 2022-02-22T12:25:57.411863Z, 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.3) [rtd-command-info] start-time: 2022-02-22T12:25:57.548228Z, end-time: 2022-02-22T12:26:35.162951Z, duration: 37, 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 91.5 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 83.8 MB/s eta 0:00:00 Collecting mock==1.0.1 Downloading mock-1.0.1.zip (861 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 861.9/861.9 KB 74.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 117.1 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 93.2 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 72.0 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 127.5 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 110.7 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting snowballstemmer>=1.1 Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 KB 103.9 MB/s eta 0:00:00 Collecting six>=1.5 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting Jinja2>=2.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 KB 133.3 MB/s eta 0:00:00 Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 110.5 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 125.3 MB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 101.3 MB/s eta 0:00:00 Collecting sphinxcontrib-websupport Downloading sphinxcontrib_websupport-1.2.4-py2.py3-none-any.whl (39 kB) Collecting imagesize Downloading imagesize-1.3.0-py2.py3-none-any.whl (5.2 kB) Collecting pytz>=2015.7 Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 131.3 MB/s eta 0:00:00 Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 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 121.6 MB/s eta 0:00:00 Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 107.8 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 123.7 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 120.6 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 100.2 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=7278589773f891adb4c7f990b394be296459d30182890fbcb23ef9859abeb170 Stored in directory: /tmp/pip-ephem-wheel-cache-vbdxmmsc/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=1263134 sha256=f4ede134d868e9f18d36ee4d3af8e7280a6cb4b1c060591630f992dcaa75b996 Stored in directory: /tmp/pip-ephem-wheel-cache-vbdxmmsc/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=5f313cf2ac27886f74b80db2c19baeac8d0803d9b7d3a6e26765289460a04a0a Stored in directory: /tmp/pip-ephem-wheel-cache-vbdxmmsc/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.0 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-02-22T12:26:35.303322Z, end-time: 2022-02-22T12:26:44.514726Z, 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.0.9 Cloning https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git (to revision 2.0.9) to /tmp/pip-install-pkf014lp/icalibrationdb_2e9f1c6ae3bf42d282d00f183f710069 Running command git clone --filter=blob:none --quiet 'https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git' /tmp/pip-install-pkf014lp/icalibrationdb_2e9f1c6ae3bf42d282d00f183f710069 Running command git checkout -q 52a4ddaa05d1c773cb0a2c7f00f614969ed828d2 Resolved https://xcalgitlab:****@git.xfel.eu/gitlab/detectors/cal_db_interactive.git to commit 52a4ddaa05d1c773cb0a2c7f00f614969ed828d2 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.3 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 122.0 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 140.8 MB/s eta 0:00:00 Collecting numpy>=1.14.5 Downloading numpy-1.22.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 100.7 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.0.9->-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.0.9-py3-none-any.whl size=32458 sha256=dddbb59f256d16d714a3c349148249ec3879a1e7c0745d5a9e8f8427f04c3af4 Stored in directory: /tmp/pip-ephem-wheel-cache-3hanmpjo/wheels/fe/61/34/908fe6b996b152f24b114a70a4ef9bab9bc7bae552e3c44d29 Successfully built iCalibrationDB Installing collected packages: pyzmq, python-dateutil, numpy, h5py, iCalibrationDB Successfully installed h5py-3.6.0 iCalibrationDB-2.0.9 numpy-1.22.2 python-dateutil-2.8.2 pyzmq-22.3.0 [rtd-command-info] start-time: 2022-02-22T12:26:44.660764Z, end-time: 2022-02-22T12:28:03.225075Z, 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 jupyter-core==4.6.1 Downloading jupyter_core-4.6.1-py2.py3-none-any.whl (82 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.9/82.9 KB 3.0 MB/s eta 0:00:00 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 lxml==4.5.0 Downloading lxml-4.5.0-cp38-cp38-manylinux1_x86_64.whl (5.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 45.2 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 128.9 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 121.2 MB/s eta 0:00:00 Collecting extra-data==1.4.1 Downloading EXtra_data-1.4.1-py3-none-any.whl (102 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 102.5/102.5 KB 120.4 MB/s eta 0:00:00 Collecting cfelpyutils==1.0.1 Downloading cfelpyutils-1.0.1-py3-none-any.whl (23 kB) 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 108.0 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 119.1 MB/s eta 0:00:00 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 112.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 110.2 MB/s eta 0:00:00 Collecting python-dateutil==2.8.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.2/227.2 KB 144.8 MB/s eta 0:00:00 Collecting princess==0.5 Downloading princess-0.5-py3-none-any.whl (4.2 kB) Collecting Cython==0.29.21 Downloading Cython-0.29.21-cp38-cp38-manylinux1_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 107.6 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 103.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting pasha==0.1.0 Downloading pasha-0.1.0-py3-none-any.whl (11 kB) Collecting ipyparallel==6.2.4 Downloading ipyparallel-6.2.4-py2.py3-none-any.whl (198 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 198.6/198.6 KB 128.1 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 117.4 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 109.2 MB/s eta 0:00:00 Collecting dynaconf==3.1.4 Downloading dynaconf-3.1.4-py2.py3-none-any.whl (197 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 197.5/197.5 KB 121.9 MB/s eta 0:00:00 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 sphinx==1.8.5 Downloading Sphinx-1.8.5-py2.py3-none-any.whl (3.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 124.6 MB/s eta 0:00:00 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 104.1 MB/s eta 0:00:00 Collecting astsearch==0.2.0 Downloading astsearch-0.2.0-py3-none-any.whl (6.5 kB) 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 tabulate==0.8.6 Downloading tabulate-0.8.6.tar.gz (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.5/45.5 KB 95.1 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting jupyter-client==6.1.7 Downloading jupyter_client-6.1.7-py3-none-any.whl (108 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.6/108.6 KB 120.1 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 114.8 MB/s eta 0:00:00 Collecting nbparameterise==0.5 Downloading nbparameterise-0.5-py3-none-any.whl (6.0 kB) 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 118.3 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 105.6 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 116.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 106.2 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 116.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 106.8 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 kafka-python==2.0.2 Downloading kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.5/246.5 KB 122.7 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 135.4 MB/s eta 0:00:00 Collecting pyyaml==5.3 Downloading PyYAML-5.3.tar.gz (268 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.2/268.2 KB 114.5 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting jupyter-console==6.1.0 Downloading jupyter_console-6.1.0-py2.py3-none-any.whl (21 kB) Collecting docutils==0.17.1 Downloading docutils-0.17.1-py2.py3-none-any.whl (575 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 575.5/575.5 KB 125.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 118.9 MB/s eta 0:00:00 Collecting karabo-data==0.7.0 Downloading karabo_data-0.7.0-py3-none-any.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 KB 125.6 MB/s eta 0:00:00 Collecting requests==2.22.0 Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.0/58.0 KB 92.5 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 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 118.4 MB/s eta 0:00:00 Collecting karabo-bridge>=0.6 Downloading karabo_bridge-0.6.1.tar.gz (17 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting xarray Downloading xarray-0.21.1-py3-none-any.whl (865 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 865.3/865.3 KB 96.7 MB/s eta 0:00:00 Collecting psutil 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 123.0 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 109.2 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 107.7 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 135.0 MB/s eta 0:00:00 Collecting decorator Downloading decorator-5.1.1-py3-none-any.whl (9.1 kB) 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 113.8 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 103.3 MB/s eta 0:00:00 Collecting backcall Downloading backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting jedi>=0.10 Downloading jedi-0.18.1-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 62.3 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 120.3 MB/s eta 0:00:00 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 111.9 MB/s eta 0:00:00 Collecting pickleshare Downloading pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Requirement already satisfied: MarkupSafe>=0.23 in /usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages (from Jinja2==2.11.2->European-XFEL-Offline-Calibration==1.0) (2.1.0) 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 135.1 MB/s eta 0:00:00 Collecting cycler>=0.10 Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 123.4 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 121.0 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 requests-oauthlib Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 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 oauthlib Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 KB 117.7 MB/s eta 0:00:00 Collecting oauth2-xfel-client>=6.0 Downloading oauth2_xfel_client-6.0.1-py3-none-any.whl (8.8 kB) 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 testpath Downloading testpath-0.5.0-py3-none-any.whl (84 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 84.9/84.9 KB 106.4 MB/s eta 0:00:00 Collecting bleach Downloading bleach-4.1.0-py2.py3-none-any.whl (157 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.9/157.9 KB 118.8 MB/s eta 0:00:00 Collecting defusedxml Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting pandocfilters>=1.4.1 Downloading pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB) Collecting entrypoints>=0.2.2 Downloading entrypoints-0.4-py3-none-any.whl (5.3 kB) Collecting jsonschema!=2.5.0,>=2.4 Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.7/72.7 KB 115.0 MB/s eta 0:00:00 Collecting Send2Trash Downloading Send2Trash-1.8.0-py3-none-any.whl (18 kB) Collecting terminado>=0.8.3 Downloading terminado-0.13.1-py3-none-any.whl (14 kB) Collecting prometheus-client Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.1/57.1 KB 101.1 MB/s eta 0:00:00 Collecting argon2-cffi Downloading argon2_cffi-21.3.0-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.3) 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) 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 130.8 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 121.6 MB/s eta 0:00:00 Collecting idna<2.9,>=2.5 Downloading idna-2.8-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 KB 107.2 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 140.7 MB/s eta 0:00:00 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: 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) 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: 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: 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) 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 112.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 124.8 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 121.5 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 122.2 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 138.5 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 107.0 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=47d859272d99fe82ccbee53e449b8b0adc1e336231f76cc461ece9721b1caec6 Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=0385b7d5dbf4bb4c9643b544e4e66e1daf7d40c6a91ab25c3ddf010bc7481920 Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=c9875e2ceb914e7574117a29e86aa91bf5418cdbc951ad46d9ce4eb55a54b416 Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=7156e1b05ba163a5d93a5d74c9f6fed5b45e15ed28a3ec721251d21c0b2f5ff3 Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=307ee631826631a1dc186f52c4e99bcfb29912c7bc5e59222744526fb265067a Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=7d0e6224b1dd0ebc68d74b4232828131f83161f447841b562037190b0b97be9f Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=945948 sha256=83cfb4f58f01ee4c3c298f964040eab95499da87acc9a8d728c13e1a0e9b1c81 Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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=a205edd1ef4422cc448a2363f685204ca5c45b5faf00158d067eb8e1e25ca11a Stored in directory: /tmp/pip-ephem-wheel-cache-wa8snyzr/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, lxml, kiwisolver, joblib, Jinja2, idna, entrypoints, docutils, dill, defusedxml, decorator, Cython, cycler, attrs, async-generator, astsearch, traitlets, terminado, sharedmem, scipy, requests, pypandoc, pasha, pandas, msgpack-numpy, matplotlib, 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.2 Uninstalling numpy-1.22.2: Successfully uninstalled numpy-1.22.2 Attempting uninstall: Jinja2 Found existing installation: Jinja2 3.0.3 Uninstalling Jinja2-3.0.3: Successfully uninstalled Jinja2-3.0.3 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: 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.4.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.3.2 lxml-4.5.0 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.1 testpath-0.5.0 tornado-6.1 traitlets-4.3.3 urllib3-1.25.11 wcwidth-0.2.5 webencodings-0.5.1 xarray-0.21.1 zipp-3.7.0 [rtd-command-info] start-time: 2022-02-22T12:28:04.259622Z, end-time: 2022-02-22T12:28:04.366728Z, 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. # 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('.')) # -- 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', ] import glob import os import sys from subprocess import Popen 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 = '' # 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]) import os from subprocess import check_output from textwrap import dedent, indent import nbformat from nbconvert import RSTExporter # generate the list of available notebooks from xfel_calibrate import notebooks 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()): 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") import shutil import textwrap from datetime import datetime from uuid import uuid4 import tabulate from dateutil.parser import parse from lxml import etree 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/run_rtd', 'display_github': False, 'bitbucket_user': 'None', 'bitbucket_repo': 'None', 'bitbucket_version': 'doc/run_rtd', 'display_bitbucket': False, 'gitlab_user': 'None', 'gitlab_repo': 'None', 'gitlab_version': 'doc/run_rtd', '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': '0c605497', } 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-02-22T12:28:04.515155Z, end-time: 2022-02-22T12:28:05.333759Z, duration: 0, exit-code: 1 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 Traceback (most recent call last): File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/bin/sphinx-build", line 5, in from sphinx.cmd.build import main File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/sphinx/cmd/build.py", line 25, in from sphinx.application import Sphinx File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/sphinx/application.py", line 48, in from sphinx.util.tags import Tags File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/sphinx/util/tags.py", line 11, in from jinja2 import nodes File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/jinja2/__init__.py", line 12, in from .environment import Environment File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/jinja2/environment.py", line 25, in from .defaults import BLOCK_END_STRING File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/jinja2/defaults.py", line 3, in from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/jinja2/filters.py", line 13, in from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/src/app/checkouts/readthedocs.org/user_builds/european-xfel-offline-calibration/envs/latest/lib/python3.8/site-packages/markupsafe/__init__.py)