Skip to content
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

A lot of spurious warnings after upgrading 1.7.0 -> 1.7.1 #4685

Closed
jorisvandenbossche opened this issue Feb 28, 2018 · 4 comments
Closed

A lot of spurious warnings after upgrading 1.7.0 -> 1.7.1 #4685

jorisvandenbossche opened this issue Feb 28, 2018 · 4 comments

Comments

@jorisvandenbossche
Copy link
Contributor

On the pandas doc build on travis, once it started using 1.7.1, there are a lot of warnings in the log output like (see eg https://travis-ci.org/pandas-dev/pandas/jobs/347059156, but there is a lot of other noise in the log output):

:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.

that were not there before (with 1.7.0).
It might be that those warnings are trying to warn for actual cases where there is a problem with this. But, the problem is they are not giving any context (in which file, which line is is raised?), so are somewhat useless.

@tk0miya
Copy link
Member

tk0miya commented Mar 1, 2018

Thank you for reporting. The warnings are emitted on creating autosummary tables. But it is not a problem of markups.
That's only bug of autosummary.

@jorisvandenbossche
Copy link
Contributor Author

And thanks for fixing!

@tk0miya
Copy link
Member

tk0miya commented Mar 2, 2018

Note: I made following Dockerfile to build docs of pandas module.

FROM tk0miya/sphinx-html

ENV DISPLAY :99
RUN apt update
RUN apt install -y python3-tk xvfb libsnappy-dev pandoc
RUN git clone https://github.com/pandas-dev/pandas
WORKDIR /docs/pandas
RUN pip3 install cython nbconvert nbsphinx ipython matplotlib xarray xlrd openpyxl jupyter_client tables statsmodels pyarrow sqlalchemy fastparquet python-snappy feather-format lxml
RUN pip3 install -e .
WORKDIR /docs/pandas/doc
RUN rm -f /tmp/.X99-lock && \
    /usr/bin/Xvfb :99 & \
    while [ ! -f /tmp/.X99-lock ]; do sleep 1; done && \
    python3 make.py

tk0miya added a commit that referenced this issue Mar 2, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix #4685: autosummary emits meaningless warnings
@tk0miya
Copy link
Member

tk0miya commented Mar 2, 2018

Fixed by #4696.
Thank you for reporting.

@tk0miya tk0miya closed this as completed Mar 2, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants