Closed bassco closed 2 years ago
@emmaindal - this should be a temporary fix for someone building on local and not using the docker hub image. https://github.com/mkdocs/mkdocs/pull/2800 once that gets merged and a release is made, this change can be rolled back
@bassco I think we might want to have control over the dependencies anyways. What issues do you see with keeping it long term and just instead lock to 3.1.0 once it's compatible?
@emmaindal - agree, having control of pinned versions is preferable.
Hi, I'm trying to build techdocs with --no-docker
option, then I found this issue and err:
(airsflow-IrFbFKZq-py3.9) ➜ airsflow2 git:(feat/techdocs) ✗ poetry add mkdocs-techdocs-core
Using version ^1.1.4 for mkdocs-techdocs-core
Updating dependencies
Resolving dependencies... (1.6s)
SolverProblemError
Because mkdocs-techdocs-core (1.1.4) depends on Jinja2 (3.0.3)
and no versions of mkdocs-techdocs-core match >1.1.4,<2.0.0, mkdocs-techdocs-core (>=1.1.4,<2.0.0) requires Jinja2 (3.0.3).
So, because airsflow depends on both jinja2 (3.1.2) and mkdocs-techdocs-core (^1.1.4), version solving failed.
Looks like https://github.com/mkdocs/mkdocs/pull/2800 has been released https://github.com/mkdocs/mkdocs/releases/tag/1.2.4
Does this pin still need?
Jinja 3.1.0 has a breaking change when building a techdocs-cli image.
https://github.com/mkdocs/mkdocs/pull/2795/files has an unmerged fix.