Skip to content

Commit

Permalink
Documentation: Lock dependency to fix build
Browse files Browse the repository at this point in the history
A dependency for building docs imports the PyEnchant library.
Which by default pulls in the 'latest' version, this was updated from
2.0.0 to 3.0.1 on 2020/03/01.

Using PyEnchant 3.0.1 `make html` fails to build locally as well as in
the
[test-docs-please](https://jenkins.cilium.io/job/Cilium-PR-Doc-Tests/1921/console)
command/build.

This change locks PyEnchant at 2.0.0 for the time being until there's a
reason to figure out the dependency problems. The root cause isn't
obvious, PyEnchant claims `The 'enchant' C library was not found` but
it is being installed by `apk` in the container. Potentially file
locations have changed in a newer version of the C library and newer
PyEnchant expects new locations.

Related: #10391

Signed-off-by: Joshua Roppo <joshroppo@gmail.com>
  • Loading branch information
Ropes authored and aanm committed Mar 3, 2020
1 parent ce20798 commit d009884
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/requirements.txt
Expand Up @@ -8,6 +8,7 @@ imagesize==1.1.0
Jinja2==2.10.1
jsonschema==2.6.0
MarkupSafe==1.0
pyenchant==2.0.0
Pygments==2.4.2
pytz==2018.7
PyYAML==4.2b1
Expand Down

0 comments on commit d009884

Please sign in to comment.