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

Handle attachments in notebook cells #36

Merged
merged 3 commits into from
Jul 6, 2021

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Jul 5, 2021

Fixes #35

Manually create the IPythonRenderer and MarkdownWithMath objects to be able to pass the cell attachments.

@jtpio jtpio added the bug label Jul 6, 2021
@jtpio
Copy link
Member Author

jtpio commented Jul 6, 2021

CI failure looks unrelated, also failing locally on master.

image

https://github.com/jupyterlab/pytest-check-links/pull/36/checks?check_run_id=2993914735

@jtpio
Copy link
Member Author

jtpio commented Jul 6, 2021

Looks like we need to pin on requests-cache~=0.5.2 for now.

@jtpio
Copy link
Member Author

jtpio commented Jul 6, 2021

Looks like the other test is failing because newer versions of nbconvert now show a warning:

image

@codecov
Copy link

codecov bot commented Jul 6, 2021

Codecov Report

Merging #36 (ccfc9a8) into master (af5db12) will increase coverage by 0.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
+ Coverage   89.89%   89.96%   +0.07%     
==========================================
  Files           3        3              
  Lines         277      279       +2     
==========================================
+ Hits          249      251       +2     
  Misses         28       28              
Impacted Files Coverage Δ
pytest_check_links/plugin.py 92.11% <100.00%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af5db12...ccfc9a8. Read the comment docs.

@jtpio
Copy link
Member Author

jtpio commented Jul 6, 2021

CI now green.

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@blink1073 blink1073 merged commit 717c99e into jupyterlab:master Jul 6, 2021
@jtpio jtpio deleted the attachments branch July 6, 2021 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AssertionError: missing attachment in notebook
2 participants