-
Notifications
You must be signed in to change notification settings - Fork 551
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
Upgrade nbconvert #1015
Merged
Merged
Upgrade nbconvert #1015
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
091dd3b
Added nbconvert fix for #958 and a small flake8 issue
robindebois 11205bd
Fix typos reported in #947
robindebois 5428e40
have dev requirements requires normal files
Carreau eaa612d
Merge remote-tracking branch 'origin/pull/959'
Carreau e0da640
requirements
Carreau e7cad49
in prorgess
Carreau aef3d9e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 14731bc
Upgrade nbconvert
martinRenou fc413a4
Re-generate requirements
martinRenou 9b2ebeb
restore missing index.html files
minrk b719c0a
add missing requirements.txt to Dockerfile
minrk 8de92ca
remove outdated slides_reveal template
minrk 76e227b
switch tests to pytest
minrk 5556d13
need libcurl-dev for pycurl
minrk 3a56973
requirements-dev shouldn't depend on pinned requirements.txt
minrk 78c0099
missing raw-string prefix on regex
minrk ecbf8cf
monor making it work
Carreau 9a49c77
test
Carreau a4ab0cc
Revert "test"
Carreau 92f0a80
Minimal style update to confirm with previous
Carreau 25d4dbe
bump minimal python version
Carreau 54a9091
bump some version
Carreau 987fb56
fix unbound
Carreau aa08341
Debug and typing
Carreau 142d690
more fixes
Carreau 23b023a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] df9154c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f3f82d5
debug
Carreau 9251d8a
debug
Carreau 345ec8c
remove assert
Carreau 5ed7c43
debug
Carreau b22880b
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1298325
debug log
Carreau 1052ba6
Merge remote-tracking branch 'martinRenou/upgrade-nbconvert' into upg…
Carreau 892cc8f
More cleanup, + mypy
Carreau f571358
cleanup
Carreau 4545153
reformat with black
Carreau 9fcd1ff
remove reveal block, it now comes from nbconvert directly
Carreau fc85656
track down test failure
Carreau f08008d
Autofix is annoying as you can't keep pushing
Carreau bedbc93
please linter
Carreau b46085a
Update nbviewer/providers/github/handlers.py
Carreau File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: test | ||
|
||
on: | ||
push: | ||
branches: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
python: | ||
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: install apt packages | ||
# pycurl build requirements | ||
run: | | ||
sudo apt-get update && sudo apt-get -y install \ | ||
libcurl4-gnutls-dev \ | ||
libgnutls28-dev | ||
|
||
- name: install | ||
run: | | ||
python3 -m pip install -r requirements.in -r requirements-dev.txt | ||
- name: install mypy | ||
run: | | ||
python3 -m pip install mypy types-pycurl types-requests types-Markdown | ||
- name: run mypy | ||
run: | | ||
mypy nbviewer | ||
|
||
- name: pip freeze | ||
run: | | ||
python3 -m pip freeze | ||
|
||
- name: run tests | ||
run: | | ||
pytest -v nbviewer/tests -s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think listening on 0.0.0.0 by default is a security problem. Well, here on macos, it present me from doing so without root access so It's ok-ish, but i'd like to fix it.