-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Master is failing after the last dependency update #105
Comments
mhausenblas/mkdocs-deploy-gh-pages needs a requirements file, else it tries to install the repo-level requirements, which typically are not needed for the docs site, see: mhausenblas/mkdocs-deploy-gh-pages#53 introduce requirements file specific to the docs site, fixing an issue with trying to install the dev-requirements.txt the underlying issue was with trying to install black into the Docker image used by this GitHub Action (squidfunk/mkdocs-material:7.1.8), see: https://github.com/mhausenblas/mkdocs-deploy-gh-pages/blob/master/Dockerfile recent versions of black depend on regex, which has a history of trouble with Linux wheel availability and support * psf/black#1207 * https://bitbucket.org/mrabarnett/mrab-regex/issues/343/wheel-for-linux * https://bitbucket.org/mrabarnett/mrab-regex/issues/349/no-module-named-regex_regex-regex-is-not-a the Docker image does not have gcc available; rather than installing a build chain to build regex to enable the install of black, which isn't even used by the docs site, the simpler fix was to create a docs/requirements.txt and point the GitHub Action at it instead similar report on the Action repo: mhausenblas/mkdocs-deploy-gh-pages#105
I came across this issue while working on a mkdocs deployment - it goes deep 😉 More details of my case are in cal-itp/transitstacks#4. My guess is the same thing is happening for you @verdan: you have a requirements.txt that this GitHub action is installing (see #53). That requirements file has a direct or indirect dependency on Collecting regex
Downloading regex-2021.4.4.tar.gz (693 kB)
...
Building wheel for regex (setup.py): started
Building wheel for regex (setup.py): finished with status 'error' My workaround (in the linked PR) was to create a new requirements.txt specifically for the mkdocs deployment, and point this action at it instead. |
thank you for your answer @thekaveman . |
The text was updated successfully, but these errors were encountered: