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

FIX encoding for new nbconvert version #252

Merged
merged 1 commit into from Oct 25, 2020

Conversation

albertcthomas
Copy link
Collaborator

Appveyor is red now that nbconvert is installed with a version higher than 6. It was green when using a version < 6.

Trying to fix it by forcing utf8 encoding when reading the notebook. Note that the notebook is written to a file with an utf8 encoding (https://github.com/paris-saclay-cds/ramp-workflow/blob/master/rampwf/utils/notebook.py#L59)

@codecov
Copy link

codecov bot commented Oct 23, 2020

Codecov Report

Merging #252 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   81.75%   81.75%           
=======================================
  Files         133      133           
  Lines        4921     4921           
=======================================
  Hits         4023     4023           
  Misses        898      898           
Impacted Files Coverage Δ
rampwf/utils/notebook.py 100.00% <100.00%> (ø)

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 f1c78ea...98d9ba8. Read the comment docs.

@albertcthomas albertcthomas changed the title Fix appveyor for new nbconvert version FIX encoding for new nbconvert version Oct 23, 2020
@agramfort agramfort merged commit f990277 into paris-saclay-cds:master Oct 25, 2020
@agramfort
Copy link
Contributor

thx @albertcthomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants