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

Documentation build drops a file in the working directory #8713

Closed
jakelishman opened this issue Sep 8, 2022 · 0 comments · Fixed by #8715
Closed

Documentation build drops a file in the working directory #8713

jakelishman opened this issue Sep 8, 2022 · 0 comments · Fixed by #8715
Labels
bug Something isn't working

Comments

@jakelishman
Copy link
Member

Environment

  • Qiskit Terra version: main @ 686ba34
  • Python version: any
  • Operating system: any

What is happening?

Running the documentation build (such as by tox -e docs) causes a file new_hist.png to be dropped in the working directory. This came from #8569, which added a jupyter-execute block to the qiskit.visualization documentation that leads a savefig command.

How can we reproduce the issue?

Run the documentation build.

What should happen?

No files outside the documentation build directory should be created.

Any suggestions?

The offending .. jupter-execute block can just be replaced by a .. code-block one, since it doesn't actually output anything visually, or execute code in the IPython kernel that needs persisting to later cells.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant