-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
CI: remove pin on Jinja2 #15895
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
CI: remove pin on Jinja2 #15895
Conversation
[skip actions] [skip circle]
@rossbar seems like the issue is still there with the new version of numpydoc (1.2): Traceback (most recent call last):
File "/home/vsts/work/1/s/tools/refguide_check.py", line 46, in <module>
from numpydoc.docscrape_sphinx import get_doc_object
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/numpydoc/docscrape_sphinx.py", line 11, in <module>
from sphinx.jinja2glue import BuiltinTemplateLoader
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/sphinx/jinja2glue.py", line 15, in <module>
from jinja2 import FileSystemLoader, BaseLoader, TemplateNotFound, contextfunction
ImportError: cannot import name 'contextfunction' from 'jinja2' (/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/jinja2/__init__.py) |
Okay the root issue is reported here: sphinx-doc/sphinx#10291. Jinja 3.1.X (released ~5 days ago) is incompatible with sphinx 2.X and 3.X and the failing CI jobs look like they install sphinx 2.1.
|
Nice and looks like you already have a release, let's try! |
[skip actions] [skip circle]
Now working fine ( |
* master: (632 commits) Update _dual_annealing.py (scipy#15939) TST: stats: make `check_sample_var` two-sided (scipy#15723) DOC: sparse.linalg: add citations for COLAMD DOC: fix missing comma in conf ENH/MAINT: Version switcher from the sphinx theme (scipy#15380) MAINT: stats: remove support for `_rvs` without `size` parameter (scipy#15917) BUG: Handle base case for scipy.integrate.simpson when span along the axis is 0 (scipy#15824) MAINT: stats: adjust tolerance for failing test only MAINT: stats: adjust tolerance of failing TestTruncnorm MAINT: special: Clean up C style in ndtr.c CI: remove pin on Jinja2 (scipy#15895) STY: Remove white spaces MAINT: stats: exempt gilbrat from refguide_check MAINT: stats: rename continuous_gilbrat->continuous_gibrat MAINT: stats: correct name Gilbrat -> Gibrat [ENH] circvar calculated simply as 1-R (scipy#5747) DEP: deal with deprecation of ndim >1 in bspline MAINT: stats: more specific error type from `rv_continuous.fit` (scipy#15778) DOC: fix import in example in _morestats (scipy#15900) [BUG] make p-values consistent with the literature (scipy#15894) ...
Pin was added in #15868 and since #15443 it can be removed.