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

Checks on availability of 'sphinx_exercise_registry' attribute #44

Closed
AakashGfude opened this issue Dec 7, 2021 · 1 comment · Fixed by #47
Closed

Checks on availability of 'sphinx_exercise_registry' attribute #44

AakashGfude opened this issue Dec 7, 2021 · 1 comment · Fixed by #47
Labels
bug Something isn't working

Comments

@AakashGfude
Copy link
Member

Describe the problem

In some places in the code, it is assumed that sphinx_exercise_registry will always be present like in
https://github.com/executablebooks/sphinx-exercise/blob/master/sphinx_exercise/post_transforms.py#L213
, which leads to errors like
Screen Shot 2021-12-07 at 3 36 47 pm

found in lecture-datascience.myst build: https://github.com/QuantEcon/lecture-datascience.myst/runs/4439388922?check_suite_focus=true

Link to your repository or website

No response

Steps to reproduce

  1. Clone https://github.com/QuantEcon/lecture-datascience.myst locally
  2. run 'jb build lectures --builder==pdflatex' with sphinx-exercise==0.3.0

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

sphinx-exercise: 0.3.0

Additional context

No response

@AakashGfude AakashGfude added the bug Something isn't working label Dec 7, 2021
@welcome
Copy link

welcome bot commented Dec 7, 2021

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

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
1 participant