Skip to content

Commit

Permalink
Trac #26919: Upgrade Jupyter notebook to latest (6.1.1) and its depen…
Browse files Browse the repository at this point in the history
…dencies to latest

Upgrade:
 - https://pypi.org/project/notebook/ 6.1.1 (current as of 2020-08-07,
supports python >= 3.5)

New dependencies:
 - argon2-cffi (?)
 - pyrsistent, attrs, importlib_metadata, zipp

Upgrade of its dependencies:
 - https://pypi.org/project/nbformat/ 5.0.7 (released 2020-06-09,
current as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/nbconvert/ 5.6.1 (released 2019-10-24,
current as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/jupyter-client/ 6.1.6 (released 2020-07-13,
current as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/jupyter-core/ 4.6.3 (released 2020-02-18,
current as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/Jinja2/ 2.11.2 (released 2020-04-13, current
as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/tornado/ 6.0.4 (released 2020-03-03, current
as of 2020-08-07, supports python >= 3.5)
 - https://pypi.org/project/terminado/ 0.8.3 (released 2019-11-12,
current as of 2020-08-07, supports python >= 3.4)
 - https://pypi.org/project/prometheus-client/ 0.8.0 (released
2020-05-25, current as of 2020-08-07, supports python >= 3.4)
 - https://pypi.org/project/pyzmq/ 19.0.2 (released 2020-07-31, current
as of 2020-08-07, supports python >= 3.3)

Recursive dependencies:

 - https://pypi.org/project/jsonschema/ 3.2.0 (released 2019-11-18,
current as of 2020-08-07, supports python >= 2.7)
 - bleach 3.1.5
 - testpath 0.4.4

Upgrade of a reverse dependency:
 - https://pypi.org/project/widgetsnbextension/ 3.5.1 (released
2019-07-29, supports python >= 2.7)
 - ipywidgets 7.5.1

(tarball URLs: see `checksums.ini`; use `./configure --enable-download-
from-upstream-url` to enable automatic downloads of the new versions)

Previous upgrades:
 - notebook 5.7.6 in #27463
 - notebook 5.7.1, in #26709, merged in Sage 8.5.beta5.

See also:
 - #30124 System package information, spkg-configure for Jupyter
"notebook" package and dependencies
 - #30306 Meta-ticket: Use system Jupyter

URL: https://trac.sagemath.org/26919
Reported by: slelievre
Ticket author(s): Matthias Koeppe, Joshua Campbell
Reviewer(s): Joshua Campbell, Matthias Koeppe, Dima Pasechnik
  • Loading branch information
Release Manager committed Aug 14, 2020
2 parents 6647281 + 445c1d7 commit a928718
Show file tree
Hide file tree
Showing 58 changed files with 291 additions and 98 deletions.
25 changes: 25 additions & 0 deletions build/pkgs/attrs/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
attrs
=====

Description
-----------

attrs is the Python package that will bring back the joy of writing classes
by relieving you from the drudgery of implementing object protocols
(aka dunder methods).

License
-------

MIT License


Upstream Contact
----------------

Home page: https://www.attrs.org

Dependencies
------------

Python
5 changes: 5 additions & 0 deletions build/pkgs/attrs/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=attrs-VERSION.tar.gz
sha1=5cad208b39fe854745c35b75f667eaf6400e2720
md5=5b2db50fcc31be34d32798183c9bd062
cksum=2725988683
upstream_url=https://pypi.io/packages/source/a/attrs/attrs-VERSION.tar.gz
5 changes: 5 additions & 0 deletions build/pkgs/attrs/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) vcversioner | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
1 change: 1 addition & 0 deletions build/pkgs/attrs/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
19.3.0
14 changes: 14 additions & 0 deletions build/pkgs/attrs/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src

sdh_pip_install .

if [ $? -ne 0 ]; then
echo "Error installing attrs ... exiting"
exit 1
fi
1 change: 1 addition & 0 deletions build/pkgs/attrs/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
7 changes: 4 additions & 3 deletions build/pkgs/bleach/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=bleach-VERSION.tar.gz
sha1=b44b7705a1425338cf429d66f009aa15d09b768d
md5=fc8df989e0200a45f7a3a95ef9ee9854
cksum=2528269335
sha1=3034291f3ec699d76aafefa00282007064a90312
md5=63cae08551307156ec636465aff5183e
cksum=3471185424
upstream_url=https://pypi.io/packages/source/b/bleach/bleach-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/bleach/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.1.5
24 changes: 24 additions & 0 deletions build/pkgs/importlib_metadata/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
importlib_metadata
==================

Description
-----------

importlib_metadata is a library to access the metadata for a Python package.
It is intended to be ported to Python 3.8.

License
-------

Apache Software License


Upstream Contact
----------------

Home page: http://importlib-metadata.readthedocs.io/

Dependencies
------------

Python, Setuptools, zipp
5 changes: 5 additions & 0 deletions build/pkgs/importlib_metadata/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=importlib_metadata-VERSION.tar.gz
sha1=bdb2154fb65f956c30cc2766413215f04120929f
md5=4505ea85600cca1e693a4f8f5dd27ba8
cksum=608862478
upstream_url=https://pypi.io/packages/source/i/importlib_metadata/importlib_metadata-VERSION.tar.gz
5 changes: 5 additions & 0 deletions build/pkgs/importlib_metadata/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) vcversioner zipp | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
1 change: 1 addition & 0 deletions build/pkgs/importlib_metadata/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.7.0
14 changes: 14 additions & 0 deletions build/pkgs/importlib_metadata/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src

sdh_pip_install .

if [ $? -ne 0 ]; then
echo "Error installing importlib_metadata ... exiting"
exit 1
fi
1 change: 1 addition & 0 deletions build/pkgs/importlib_metadata/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
7 changes: 4 additions & 3 deletions build/pkgs/ipywidgets/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=ipywidgets-VERSION.tar.gz
sha1=ae46dd88a2eb22ad975c604f947a085b55b243a7
md5=e1ac2d4e3dc463f8c20e074d9414436e
cksum=3876771295
sha1=d46a0d2e16cb2a878043576f8b2afd732e8b5491
md5=090f5ad1294b084f075af8f684d8981f
cksum=3253769585
upstream_url=https://pypi.io/packages/source/i/ipywidgets/ipywidgets-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/ipywidgets/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.2
7.5.1
7 changes: 4 additions & 3 deletions build/pkgs/jinja2/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=jinja2-VERSION.tar.gz
sha1=34b69e5caab12ee37b9df69df9018776c008b7b8
md5=61ef1117f945486472850819b8d1eb3d
cksum=3666178370
sha1=1017138fd4cb627204d3109b75c107c3d6f3f7fb
md5=0362203b22547abca06ed1082bc1e7b4
cksum=1208782876
upstream_url=https://pypi.io/packages/source/J/Jinja2/Jinja2-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jinja2/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.10
2.11.2
6 changes: 5 additions & 1 deletion build/pkgs/jsonschema/SPKG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ Home page: http://github.com/Julian/jsonschema
Dependencies
------------

Python, Setuptools
- Python
- Setuptools
- attrs
- importlib_metadata
- pyrsistent
7 changes: 4 additions & 3 deletions build/pkgs/jsonschema/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=jsonschema-VERSION.tar.gz
sha1=97e49df4601f7066d9954c0ec4d8d697887b32f0
md5=50c6b69a373a8b55ff1e0ec6e78f13f4
cksum=2742363098
sha1=fbca135887b3c79e7f08fff6a34fef053746151b
md5=f1a0b5011f05a02a8dee1070cd10a26d
cksum=3852093817
upstream_url=https://pypi.io/packages/source/j/jsonschema/jsonschema-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jsonschema/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) vcversioner | $(PYTHON_TOOLCHAIN)
$(PYTHON) vcversioner attrs importlib_metadata pyrsistent | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
Expand Down
2 changes: 1 addition & 1 deletion build/pkgs/jsonschema/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.0
3.2.0
7 changes: 4 additions & 3 deletions build/pkgs/jupyter_client/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=jupyter_client-VERSION.tar.gz
sha1=bb042481944e84b3e6ce06c613c2ed469bfef642
md5=130d0171368a2bedd2c3903fddd410af
cksum=448365198
sha1=b0c6c7a75b895e09b88cb1fa6324449de5a2e07f
md5=ca545481d8a875b5eb66ff48625395ef
cksum=4026198822
upstream_url=https://pypi.io/packages/source/j/jupyter_client/jupyter_client-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_client/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.4
6.1.6
7 changes: 4 additions & 3 deletions build/pkgs/jupyter_core/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=jupyter_core-VERSION.tar.gz
sha1=24ac33f4a1b1ff8e946cb1d563eb5989fdf8c6ef
md5=7829fc07884ed98459e170f217e2a5ba
cksum=1982352070
sha1=9c49c8988531ab5cac4c3d37999f441c798824f5
md5=aaed36bf01888c9e810462e6226db70a
cksum=1630843009
upstream_url=https://pypi.io/packages/source/j/jupyter_core/jupyter_core-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_core/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.4.0
4.6.3
1 change: 1 addition & 0 deletions build/pkgs/mistune/checksums.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ tarball=mistune-VERSION.tar.gz
sha1=fd210c038fa7b0f2dffad6847b17dc139e7dd9fe
md5=fb6ab174ece938dea09f8b2adad771e4
cksum=4120783541
upstream_url=https://pypi.io/packages/source/m/mistune/mistune-VERSION.tar.gz
7 changes: 4 additions & 3 deletions build/pkgs/nbconvert/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=nbconvert-VERSION.tar.gz
sha1=5c78227dbf8f9851d6eccd6715d07cdf63f61f00
md5=6c3364edede7f46a2824c7f47a863359
cksum=730416769
sha1=60cfa578696b3723f6113c6767d50ff910eda7a3
md5=cc766e4f109f97651c005e7fee524c98
cksum=298467040
upstream_url=https://pypi.io/packages/source/n/nbconvert/nbconvert-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/nbconvert/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.4.0
5.6.1
7 changes: 4 additions & 3 deletions build/pkgs/nbformat/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=nbformat-VERSION.tar.gz
sha1=f3d7723747a1587d3e1ad8bd2836dbe192a843cb
md5=2d5f873138d9fbc2a3f9eaaebca3b8a1
cksum=914475619
sha1=b5e42dc52fbc68fd7becf505cee08d0f1dc9535a
md5=4d6db2d08f7ed073a2451893ad5acc14
cksum=648776451
upstream_url=https://pypi.io/packages/source/n/nbformat/nbformat-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/nbformat/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.4.0
5.0.7
7 changes: 4 additions & 3 deletions build/pkgs/notebook/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=notebook-VERSION.tar.gz
sha1=f6d31d620b2817ca99e9e0f6685543effdc4185f
md5=2fe24af4f90055e6156d15bcc9740d76
cksum=1913637575
sha1=632aa8b0fa94bd09239e5506b7674bb441a8973f
md5=9dd085cfabfd7323ffe71d49da6ae439
cksum=1594645961
upstream_url=https://pypi.io/packages/source/n/notebook/notebook-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/notebook/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.7.6.p0
6.1.1

This file was deleted.

7 changes: 4 additions & 3 deletions build/pkgs/prometheus_client/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=prometheus_client-VERSION.tar.gz
sha1=885ba6707492d8ff97e3f612ed266f0273ee8363
md5=22b08b93951e3c66a65e9b11b9215221
cksum=1404641856
sha1=5846c9dfad32c2bc335bbeac1011a900e686e974
md5=5d03eac084b3a0d73a98fcb409c7fb0b
cksum=3886389435
upstream_url=https://pypi.io/packages/source/p/prometheus-client/prometheus_client-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/prometheus_client/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.8.0
33 changes: 33 additions & 0 deletions build/pkgs/pyrsistent/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
pyrsistent
==========

Description
-----------

Pyrsistent is a number of persistent collections (by some referred to as
functional data structures). Persistent in the sense that they are immutable.

License
-------

MIT License


Upstream Contact
----------------

Home page: http://github.com/tobgu/pyrsistent/

Dependencies
------------

- Python
- Setuptools
- hypothesis
- memory-profiler
- psutil
- pyperform
- pytest
- Sphinx
- sphinx-rtd-theme
- tox
5 changes: 5 additions & 0 deletions build/pkgs/pyrsistent/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=pyrsistent-VERSION.tar.gz
sha1=48762e23b0c926b8bb5d5bf9c233b6beb2b76a41
md5=4ba30da6f0a63554e70ac6c4c1904929
cksum=651709947
upstream_url=https://pypi.io/packages/source/p/pyrsistent/pyrsistent-VERSION.tar.gz
5 changes: 5 additions & 0 deletions build/pkgs/pyrsistent/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$(PYTHON) vcversioner | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
It is copied by SAGE_ROOT/build/make/install into SAGE_ROOT/build/make/Makefile.
1 change: 1 addition & 0 deletions build/pkgs/pyrsistent/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.16.0
14 changes: 14 additions & 0 deletions build/pkgs/pyrsistent/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src

sdh_pip_install .

if [ $? -ne 0 ]; then
echo "Error installing pyrsistent ... exiting"
exit 1
fi
1 change: 1 addition & 0 deletions build/pkgs/pyrsistent/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
7 changes: 4 additions & 3 deletions build/pkgs/pyzmq/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=pyzmq-VERSION.tar.gz
sha1=b84077344ed67649f34d4af8f619d96acbd03e73
md5=4650e45ebcf8e08620211c0e720d6066
cksum=2135729608
sha1=1f65a40ff85536a6ebb6ddd7105075061d37d2e2
md5=200abc1a75bdcfff7adf61304f46f55e
cksum=788738364
upstream_url=https://pypi.io/packages/source/p/pyzmq/pyzmq-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/pyzmq/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.0.0
19.0.2
7 changes: 4 additions & 3 deletions build/pkgs/terminado/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=terminado-VERSION.tar.gz
sha1=b99efb25c9bc9c8ae4ccd9a9b7996e436bb742c8
md5=616515f562939e979b67c72b667afba9
cksum=3883972267
sha1=b00dfe43283a5fd74683227bf3b1cfef0573e9a4
md5=910a09be2a9d46ddbf33747d1b1dd3d8
cksum=1364683224
upstream_url=https://pypi.io/packages/source/t/terminado/terminado-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/terminado/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.1
0.8.3
7 changes: 4 additions & 3 deletions build/pkgs/testpath/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=testpath-VERSION.tar.gz
sha1=be61bdab22bda48fa1e289cdbe8b47edbab9a1c6
md5=562d0e1b02fc5cbcb8406955bcd7249f
cksum=1727601183
sha1=abd13bf0c2452e75c5eaf63da29d0dba9f9d136c
md5=297100d49a6f20859383434a182cf426
cksum=1906182275
upstream_url=https://pypi.io/packages/source/t/testpath/testpath-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/testpath/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.2
0.4.4
Loading

0 comments on commit a928718

Please sign in to comment.