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

Add the notebook 6.4.x tests, docs and companion files (with git history) #94

Merged
merged 1,601 commits into from
Apr 28, 2022

Conversation

echarles
Copy link
Member

This is a follow-up of #93

This PR pulls the https://github.com/jupyter/notebook history of the 6.4.x branch for various folders and files (see details here after). After merging this PR, nbclassic will continue to work as before and manual PR will be needed to enrol the newly merge assets, tests... As soon as this gets merged, I will start working on the new PR.

# This is how the commits have been selected.
git clone https://github.com/jupyter/notebook.git --branch 6.4.x
cd notebook
# Use https://github.com/newren/git-filter-repo
git filter-repo \
  --path .github/workflows/docs.yml \
  --path .github/workflows/js.yml \
  --path .github/workflows/selenium.yml \
  --path docs \
  --path docs-translations \
  --path git-hooks \
  --path notebook/templates \
  --path notebook/tests/_testdata \
  --path notebook/tests/base \
  --path notebook/tests/mockextension \
  --path notebook/tests/notebook \
  --path notebook/tests/selenium \
  --path notebook/tests/services \
  --path notebook/tests/launchnotebook.py \
  --path notebook/tests/README.md \
  --path notebook/tests/util.js \
  --path notebook/tests/launchnotebook.py \
  --path notebook/jstest.py \
  --path tools \
  --path .babelrc \
  --path .bowerrc \
  --path .eslintignore \
  --path .eslintrc.json \
  --path bower.json \
  --path jupyter-notebook.desktop \
  --path jupyter.svg \
  --path readthedocs.yml \
  --path webpack.config.js

takluyver and others added 30 commits April 4, 2019 08:14
Use separately packaged sphinxcontrib_github_alt
Add explicit instruction for online documentation pages
Converted clipboard js to selenium and renamed undelete.py
Convert dualmode_cellmode to selenium
Previously know as validate_notebook_mode changed name to
validate_dualmode_mode to represent better the method.
Added a docstring.
Removed the handling of index being None.
…le_js_to_selenium

Migrate multiselect toggle test to selenium
Added more information about what the checks are
Removed parentheses
Changed '==' for 'is' on None
Changed asserts for returns
Changed how the function is called on edit mode check
Moved 'assert mode == keyboard_mode' ouside the branches.
This means that if a unknown mode comes its gonna get catched by the
assert and never gona get to the else statement.
For this, the else stament moved to before the assert, caching the mode
error before the assert.
Changed 'for mode in cells_mode' for 'for i, mode in
enumerate(cells_mode)'
Removed the manual 'i' increment and declaration.
Convert dualmode_execute, dualmode_clipboard & dualmode_markdown to selenium
fix duplicates in download as menu
Update Working With Markdown Cells.ipynb
Zsailer and others added 23 commits August 10, 2021 15:32
Pin nbsphinx to 0.8.6, clean up orphaned resources
Fully revert the pinning of nbsphinx to 0.8.6
This is a fix for jupyter/notebook#6164

`nest_asyncio` must be applied before any async tasks have been created
otherwise there could be tasks queued that are unpatched, and thus do
not respect nested loops. An example of an unpatched task can be seen in
the original issue:

```
<Task pending coro=<HTTP1ServerConnection._server_request_loop() running at /apps/python3/lib/python3.7/site-packages/tornado/http1connection.py:823>
```
which originates from Tornado.

A similar issue was reported in `nest-asyncio`: erdewit/nest_asyncio#22
where the solution is to call `apply` on import so that unpatched tasks
do not get created.
Co-authored-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: maliubiao <maliubiao@gmail.com>
Co-authored-by: Maxim Martynov <martinov_m_s_@mail.ru>
Co-authored-by: Niyas Sait <niyas.sait@linaro.org>
Co-authored-by: Jiaqi <jiaqi@creditninja.com>
Co-authored-by: Ben Greiner <code@bnavigator.de>
Co-authored-by: David Leen <dleen@netflix.com>
Co-authored-by: Kevin Bates <kbates4@gmail.com>
Co-authored-by: Steven Silvester <steven.silvester@gmail.com>
Update further to ipykernel comm refactoring
@echarles
Copy link
Member Author

@Zsailer While doing the next manual PR, it may be possible I realize that I have missed some files. In that case, I will create similar PR to pull the history.

@Zsailer Zsailer merged commit ca73fca into jupyter:main Apr 28, 2022
@echarles
Copy link
Member Author

Thx @Zsailer

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

Successfully merging this pull request may close these issues.