[
https://issues.apache.org/jira/browse/BEAM-14172?focusedWorklogId=755066&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-755066
]
ASF GitHub Bot logged work on BEAM-14172:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Apr/22 00:52
Start Date: 11/Apr/22 00:52
Worklog Time Spent: 10m
Work Description: youngoli opened a new pull request, #17332:
URL: https://github.com/apache/beam/pull/17332
(cherry picked from commit 0c93be1098290fc79de832f1333dbe7bd56972a9)
Missed this cherry-pick earlier and I need it for RC creation, so I might
merge this in before it gets approved and hope for a retroactive approval, just
in order to unblock myself. It's a very small change anyway.
------------------------
Thank you for your contribution! Follow this checklist to help us
incorporate your contribution quickly and easily:
- [x] [**Choose
reviewer(s)**](https://beam.apache.org/contribute/#make-your-change) and
mention them in a comment (`R: @username`).
- [x] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] Update `CHANGES.md` with noteworthy changes.
- [x] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
See the [Contributor Guide](https://beam.apache.org/contribute) for more
tips on [how to make review process
smoother](https://beam.apache.org/contribute/#make-reviewers-job-easier).
To check the build health, please visit
[https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md](https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md)
GitHub Actions Tests Status (on master branch)
------------------------------------------------------------------------------------------------
[](https://github.com/apache/beam/actions?query=workflow%3A%22Build+python+source+distribution+and+wheels%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Python+Tests%22+branch%3Amaster+event%3Aschedule)
[](https://github.com/apache/beam/actions?query=workflow%3A%22Java+Tests%22+branch%3Amaster+event%3Aschedule)
See [CI.md](https://github.com/apache/beam/blob/master/CI.md) for more
information about GitHub Actions CI.
Issue Time Tracking
-------------------
Worklog Id: (was: 755066)
Time Spent: 1.5h (was: 1h 20m)
> beam_PreCommit_PythonDocs failing (jinja2)
> ------------------------------------------
>
> Key: BEAM-14172
> URL: https://issues.apache.org/jira/browse/BEAM-14172
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Kyle Weaver
> Assignee: Kerry Donny-Clark
> Priority: P2
> Labels: currently-failing
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> I'm guessing a new jinja2 release broke us
> (https://pypi.org/project/Jinja2/#history)
> 12:16:08 Traceback (most recent call last):
> 12:16:08 File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/bin/sphinx-apidoc",
> line 7, in <module>
> 12:16:08 from sphinx.ext.apidoc import main
> 12:16:08 File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/lib/python3.8/site-packages/sphinx/ext/apidoc.py",
> line 32, in <module>
> 12:16:08 from sphinx.cmd.quickstart import EXTENSIONS
> 12:16:08 File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/lib/python3.8/site-packages/sphinx/cmd/quickstart.py",
> line 49, in <module>
> 12:16:08 from sphinx.util.template import SphinxRenderer
> 12:16:08 File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/lib/python3.8/site-packages/sphinx/util/template.py",
> line 17, in <module>
> 12:16:08 from sphinx.jinja2glue import SphinxFileSystemLoader
> 12:16:08 File
> "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/lib/python3.8/site-packages/sphinx/jinja2glue.py",
> line 16, in <module>
> 12:16:08 from jinja2 import FileSystemLoader, BaseLoader,
> TemplateNotFound, \
> 12:16:08 ImportError: cannot import name 'contextfunction' from 'jinja2'
> (/home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonDocs_Commit/src/sdks/python/test-suites/tox/pycommon/build/srcs/sdks/python/target/.tox-py38-docs/py38-docs/lib/python3.8/site-packages/jinja2/__init__.py)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)