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

Jupyter polish #221

Merged
merged 10 commits into from
Jul 23, 2019
Merged

Jupyter polish #221

merged 10 commits into from
Jul 23, 2019

Conversation

pkgw
Copy link
Contributor

@pkgw pkgw commented Jul 16, 2019

A bunch of polish of the Jupyter packaging based on my adventures with a fresh Miniconda install. Note that JupyterLab 1.0 just came out a couple of weeks ago.

pkgw added 4 commits July 15, 2019 20:50
Relative to the pywwt module, these files live in `nbextension/static`, not
just `static`. Jupyter seems not to notice!
I hope. These are what have gotten things working for me with a fresh
environment I was just setting up.
This limits the files included in the NPM package to just our JavaScript
files. To the best of my understanding, these are the only ones we want. This
reduces the size of the resulting tarball from 14M to 6k.
I believe that we need to do this to be compatible with the JupyterLab 1.0.x
series. I don't fully understand what's going on, but changing this fixed a
failure to load for me, with an error along the lines of "No provider for
jupyterWidgetRegistry".
@codecov
Copy link

codecov bot commented Jul 16, 2019

Codecov Report

Merging #221 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   61.29%   61.29%           
=======================================
  Files          24       24           
  Lines        1912     1912           
=======================================
  Hits         1172     1172           
  Misses        740      740
Impacted Files Coverage Δ
pywwt/__init__.py 75% <ø> (ø) ⬆️

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 fa54ee6...50de098. Read the comment docs.

@pkgw pkgw force-pushed the jupyter-polish branch from 8fdc83c to c5344c0 Compare July 17, 2019 16:59
@pkgw
Copy link
Contributor Author

pkgw commented Jul 17, 2019

Windows worked! There's one Travis failure with a weird transient-looking issue with the link-checking.

pkgw added 6 commits July 23, 2019 08:58
Our `docs` directory doesn't use a `source/` subdirectory, so take that out of
the Webpack config. Add the generated files to .gitignore. Seeing as this file
wasn't landing in the right place and I don't see it referenced anywhere else
in the repo, I suspect that it's not actually doing anything.
npm complains about security problems and, well, we just don't use these. We
can add things back later, at more recent versions, if we need to.
Pytest 5.0, recently released, includes pytest-faulthandler built in, and
trying to include it as an explicit dependency now results in a CI failure.
conda-forge hasn't been building packages for Python 3.5 for a while, so that
installing the CI dependencies for that version has stopped working.
@pkgw pkgw force-pushed the jupyter-polish branch from e702b00 to 50de098 Compare July 23, 2019 12:58
@pkgw pkgw merged commit 97518a5 into WorldWideTelescope:master Jul 23, 2019
@pkgw pkgw deleted the jupyter-polish branch July 23, 2019 15:43
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.

1 participant