Skip to content

Conversation

Ropes
Copy link
Contributor

@Ropes Ropes commented Mar 3, 2020

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 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.

PR inspiring this fix

Related: #10391

Signed-off-by: Joshua Roppo joshroppo@gmail.com


This change is Reviewable

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: cilium#10391

Signed-off-by: Joshua Roppo <joshroppo@gmail.com>
@Ropes Ropes requested a review from a team as a code owner March 3, 2020 06:56
@maintainer-s-little-helper
Copy link

Release note label not set, please set the appropriate release note.

@pchaigno
Copy link
Member

pchaigno commented Mar 3, 2020

test-docs-please

@pchaigno pchaigno added the release-note/misc This PR makes changes that have no direct user impact. label Mar 3, 2020
@pchaigno pchaigno added area/CI Continuous Integration testing issue or flake area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. labels Mar 3, 2020
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.007%) to 45.683% when pulling e1f17ea on Ropes:pr/ropes/fix-docs-build-dependency into 19c3f5a on cilium:master.

@aanm aanm merged commit d009884 into cilium:master Mar 3, 2020
@Ropes Ropes deleted the pr/ropes/fix-docs-build-dependency branch March 3, 2020 17:00
This was referenced Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants