Docs: mkdocs-macro-plugin does not install correctly on our Docker anymore
Pip is now trying to install the version 0.5.5
, which apparently has installation problems on our Docker image. As a result, the docs-build
CI job does not run properly anymore.
CI log:
$ pip install mkdocs-macros-plugin
Collecting mkdocs-macros-plugin
Downloading mkdocs_macros_plugin-0.5.5-py3-none-any.whl (18 kB)
Requirement already satisfied: mkdocs>=0.17 in /usr/local/lib/python3.7/site-packages (from mkdocs-macros-plugin) (1.0.4)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.7/site-packages (from mkdocs-macros-plugin) (2.10.3)
Collecting python-dateutil
Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)
Collecting termcolor
Downloading termcolor-1.1.0.tar.gz (3.9 kB)
Collecting mkdocs-material>=6.2
Downloading mkdocs_material-7.0.4-py2.py3-none-any.whl (4.0 MB)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.7/site-packages (from mkdocs-macros-plugin) (5.1.2)
Requirement already satisfied: livereload>=2.5.1 in /usr/local/lib/python3.7/site-packages (from mkdocs>=0.17->mkdocs-macros-plugin) (2.6.1)
Requirement already satisfied: Markdown>=2.3.1 in /usr/local/lib/python3.7/site-packages (from mkdocs>=0.17->mkdocs-macros-plugin) (3.1.1)
Requirement already satisfied: tornado>=5.0 in /usr/local/lib/python3.7/site-packages (from mkdocs>=0.17->mkdocs-macros-plugin) (6.0.3)
Requirement already satisfied: click>=3.3 in /usr/local/lib/python3.7/site-packages (from mkdocs>=0.17->mkdocs-macros-plugin) (7.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.7/site-packages (from jinja2->mkdocs-macros-plugin) (1.1.1)
Requirement already satisfied: six in /usr/local/lib/python3.7/site-packages (from livereload>=2.5.1->mkdocs>=0.17->mkdocs-macros-plugin) (1.12.0)
Requirement already satisfied: setuptools>=36 in /usr/local/lib/python3.7/site-packages (from Markdown>=2.3.1->mkdocs>=0.17->mkdocs-macros-plugin) (41.4.0)
Collecting pymdown-extensions>=7.0
Downloading pymdown_extensions-8.1.1-py3-none-any.whl (206 kB)
Requirement already satisfied: Pygments>=2.4 in /usr/local/lib/python3.7/site-packages (from mkdocs-material>=6.2->mkdocs-macros-plugin) (2.4.2)
Collecting Markdown>=2.3.1
Downloading Markdown-3.3.4-py3-none-any.whl (97 kB)
Collecting mkdocs>=0.17
Downloading mkdocs-1.1.2-py3-none-any.whl (6.4 MB)
Collecting mkdocs-material-extensions>=1.0
Downloading mkdocs_material_extensions-1.0.1-py3-none-any.whl (8.0 kB)
Collecting importlib-metadata
Downloading importlib_metadata-3.7.0-py3-none-any.whl (11 kB)
Collecting lunr[languages]==0.5.8
Downloading lunr-0.5.8-py2.py3-none-any.whl (2.3 MB)
Collecting future>=0.16.0
Downloading future-0.18.2.tar.gz (829 kB)
Collecting nltk>=3.2.5
Downloading nltk-3.5.zip (1.4 MB)
Collecting joblib
Downloading joblib-1.0.1-py3-none-any.whl (303 kB)
Collecting regex
Downloading regex-2020.11.13.tar.gz (694 kB)
Collecting tqdm
Downloading tqdm-4.58.0-py2.py3-none-any.whl (73 kB)
Collecting typing-extensions>=3.6.4
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting zipp>=0.5
Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Building wheels for collected packages: future, nltk, regex, termcolor
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=491056 sha256=2c2a9bdbca8d8e345df44d8152875f15613c777993a0eda0b9498bbbdaa4dbff
Stored in directory: /root/.cache/pip/wheels/56/b0/fe/4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0
Building wheel for nltk (setup.py): started
Building wheel for nltk (setup.py): finished with status 'done'
Created wheel for nltk: filename=nltk-3.5-py3-none-any.whl size=1434676 sha256=8849be9d5ce6babaabdd32a6518fb7e5f7b0899b34a3a1fe1b62dee7351edd6b
Stored in directory: /root/.cache/pip/wheels/45/6c/46/a1865e7ba706b3817f5d1b2ff7ce8996aabdd0d03d47ba0266
Building wheel for regex (setup.py): started
Building wheel for regex (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-31ozapni
cwd: /tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/
Complete output (17 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/regex
copying regex_3/__init__.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/regex.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.7/regex
running build_ext
building 'regex._regex' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/regex_3
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.7m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.7/regex_3/_regex.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for regex
Running setup.py clean for regex
Building wheel for termcolor (setup.py): started
Building wheel for termcolor (setup.py): finished with status 'done'
Created wheel for termcolor: filename=termcolor-1.1.0-py3-none-any.whl size=4830 sha256=6eaa49ad085886b35bd71a6532a3133d305b7adf6b2a036c9bef9b9f27750f2c
Stored in directory: /root/.cache/pip/wheels/3f/e3/ec/8a8336ff196023622fbcb36de0c5a5c218cbb24111d1d4c7f2
Successfully built future nltk termcolor
Failed to build regex
Installing collected packages: zipp, typing-extensions, tqdm, regex, joblib, future, nltk, lunr, importlib-metadata, Markdown, pymdown-extensions, mkdocs-material-extensions, mkdocs, termcolor, python-dateutil, mkdocs-material, mkdocs-macros-plugin
Running setup.py install for regex: started
Running setup.py install for regex: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-rnerf11q/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/regex
cwd: /tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/regex
copying regex_3/__init__.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/regex.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/_regex_core.py -> build/lib.linux-x86_64-3.7/regex
copying regex_3/test_regex.py -> build/lib.linux-x86_64-3.7/regex
running build_ext
building 'regex._regex' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/regex_3
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.7m -c regex_3/_regex.c -o build/temp.linux-x86_64-3.7/regex_3/_regex.o
unable to execute 'gcc': No such file or directory
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-la2gf6yg/regex_51a99b34c6024ed5836692451a9eaac6/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-rnerf11q/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7m/regex Check the logs for full command output.