Skip to content

Commit

Permalink
Trac #33530: Upgrade ipython to 8.x
Browse files Browse the repository at this point in the history
https://ipython.readthedocs.io/en/stable/whatsnew/version8.html

... and a number of related package updates.

See also: #33772 - update ipykernel

URL: https://trac.sagemath.org/33530
Reported by: mkoeppe
Ticket author(s): Matthias Koeppe
Reviewer(s): François Bissey, John Palmieri
  • Loading branch information
Release Manager committed Jul 24, 2022
2 parents 067a66c + 1787e98 commit 8312ee1
Show file tree
Hide file tree
Showing 170 changed files with 448 additions and 228 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/appnope/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=appnope-VERSION.tar.gz
sha1=2613cb737d132ee929e09924b19eb6eb088592c4
md5=16198e5c4f2b049dc98aa444e96ca554
cksum=224603249
sha1=dd705054af5f6c80d0ce9e1b444428c7b1b07daa
md5=ca8ec0b1628061ce922dbf1ceee25bca
cksum=3863274580
upstream_url=https://pypi.io/packages/source/a/appnope/appnope-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/appnope/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
0.1.3
18 changes: 0 additions & 18 deletions build/pkgs/argcomplete/SPKG.rst

This file was deleted.

5 changes: 0 additions & 5 deletions build/pkgs/argcomplete/checksums.ini

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/argcomplete/distros/void.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/argcomplete/install-requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion build/pkgs/argcomplete/package-version.txt

This file was deleted.

18 changes: 18 additions & 0 deletions build/pkgs/asttokens/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
asttokens: Annotate AST trees with source code positions
========================================================

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

Annotate AST trees with source code positions

License
-------

Apache 2.0

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

https://pypi.org/project/asttokens/

5 changes: 5 additions & 0 deletions build/pkgs/asttokens/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=asttokens-VERSION.tar.gz
sha1=8a9c1fc8752fedb52189441f9f874f5e1afd5866
md5=0a2a057b9c9a220bffdb3e7512062f17
cksum=2612374104
upstream_url=https://pypi.io/packages/source/a/asttokens/asttokens-VERSION.tar.gz
File renamed without changes.
1 change: 1 addition & 0 deletions build/pkgs/asttokens/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asttokens
1 change: 1 addition & 0 deletions build/pkgs/asttokens/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.5
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions build/pkgs/attrs/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=attrs-VERSION.tar.gz
sha1=d0c0f0d92f4860821c5aaeb9e07646dc22bc31d3
md5=06af884070d9180694becdb106e5cd65
cksum=4087843587
sha1=693de5a8890c6f7bad4edd6ade6971ab3eaf416b
md5=5a9b5e9ceebc380a13fb93235b11bbda
cksum=2935089723
upstream_url=https://pypi.io/packages/source/a/attrs/attrs-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/attrs/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.2.0
21.4.0
18 changes: 18 additions & 0 deletions build/pkgs/backports_zoneinfo/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
backports_zoneinfo: Backport of the standard library zoneinfo module
====================================================================

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

Backport of the standard library zoneinfo module for Python 3.8

License
-------

Apache-2.0

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

https://pypi.org/project/backports.zoneinfo/

5 changes: 5 additions & 0 deletions build/pkgs/backports_zoneinfo/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=backports.zoneinfo-VERSION.tar.gz
sha1=8015a85e499ceda8b526f907a2a60083f7004aa4
md5=d51faaaed4a1d5158dcfcef90355e805
cksum=2001250429
upstream_url=https://pypi.io/packages/source/b/backports.zoneinfo/backports.zoneinfo-VERSION.tar.gz
File renamed without changes.
1 change: 1 addition & 0 deletions build/pkgs/backports_zoneinfo/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
backports.zoneinfo
1 change: 1 addition & 0 deletions build/pkgs/backports_zoneinfo/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.2.1
6 changes: 6 additions & 0 deletions build/pkgs/backports_zoneinfo/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cd src
if python3 -c 'import sys; sys.exit(0 if sys.hexversion < 0x03090000 else 1)'; then
sdh_pip_install .
else
echo >&2 "Skipping install, not needed for Python >= 3.9"
fi
File renamed without changes.
6 changes: 3 additions & 3 deletions build/pkgs/beautifulsoup4/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=beautifulsoup4-VERSION.tar.gz
sha1=4fcafb012dd6dfad556dc144cffa64ee72ebe316
md5=e754242642253dd31d249d00358d552e
cksum=679040307
sha1=fbb73ba4221122b56cd4eac2d9e5d3ad2e383ae0
md5=22f22f89cf9da41b22e1ece9639c66a3
cksum=2807377018
upstream_url=https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/beautifulsoup4/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.10.0
4.11.1
6 changes: 3 additions & 3 deletions build/pkgs/bleach/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=bleach-VERSION.tar.gz
sha1=6adfc1d0374305cce7c4dc92fdb9a241b81400f7
md5=41e70ac58aa7bc5ff96c8fef24b9d659
cksum=2710248571
sha1=8b4652eb5a4a1cd6dbf35905a25f389da512f940
md5=97322e672e4b285e6354c40d07166fc4
cksum=1632919602
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 @@
4.1.0
5.0.0
6 changes: 3 additions & 3 deletions build/pkgs/charset_normalizer/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=charset-normalizer-VERSION.tar.gz
sha1=8eec37b27487fa08532914f4c96ad3d7001d379e
md5=40ecb4aa5ac6f08f87513a2ca0b32238
cksum=1993471876
sha1=6824bfae6dec62d93887b53468ea36124db5ecc8
md5=f6664e0e90dbb3cc9cfc154a980f9864
cksum=2680691552
upstream_url=https://pypi.io/packages/source/c/charset_normalizer/charset-normalizer-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/charset_normalizer/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.4
2.0.12
6 changes: 3 additions & 3 deletions build/pkgs/debugpy/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=debugpy-VERSION.zip
sha1=169efd648ce0903c30cd300f8040136ec0ee16cc
md5=7c8ef4f136c9bcf501e80a12b8e21ac1
cksum=422456395
sha1=5a0066e4641659c63ecc8d6ce35e96a2fd89b195
md5=27a4789bfda161dc7de6a6860eeeff38
cksum=708733483
upstream_url=https://pypi.io/packages/source/d/debugpy/debugpy-VERSION.zip
2 changes: 1 addition & 1 deletion build/pkgs/debugpy/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1
1.6.0
6 changes: 3 additions & 3 deletions build/pkgs/decorator/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=decorator-VERSION.tar.gz
sha1=4035760ce781a93181eeb3f8a36435eb799ceb76
md5=a90526e45e7a30cf2710d6467f403e03
cksum=1796541525
sha1=929f42916ac8a4aa973599d558768b8f1728db46
md5=a6b34700dcac8a4bb04efd55e99626c1
cksum=4154678061
upstream_url=https://pypi.io/packages/source/d/decorator/decorator-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/decorator/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.9
5.1.1
7 changes: 4 additions & 3 deletions build/pkgs/entrypoints/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=entrypoints-VERSION.tar.gz
sha1=5e191cf9815cd66bace7f8bae9ee52c910923f4a
md5=c5c61ea2e46a0c50ea08f4af7955a0b1
cksum=230030795
sha1=ca5c5976781db7ec6e8faece06af31ff32960529
md5=3acd8b72119a8fb1eac7030c24ac6b49
cksum=3193499805
upstream_url=https://pypi.io/packages/source/e/entrypoints/entrypoints-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/entrypoints/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN)
$(PYTHON) | $(PYTHON_TOOLCHAIN) flit_core tomli

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/entrypoints/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3
0.4
5 changes: 0 additions & 5 deletions build/pkgs/entrypoints/spkg-install.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cd src

# Make sure that modern pip uses the generated setup.py
# that is distributed with the PyPI tarball,
# so we do not have to have flit. Trac #29803.
rm -f pyproject.toml

sdh_pip_install .
18 changes: 18 additions & 0 deletions build/pkgs/executing/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
executing: Get the currently executing AST node of a frame, and other information
=================================================================================

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

Get the currently executing AST node of a frame, and other information

License
-------

MIT

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

https://pypi.org/project/executing/

5 changes: 5 additions & 0 deletions build/pkgs/executing/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=executing-VERSION.tar.gz
sha1=9588832c2abca704a0a287d2c43690c046424697
md5=43da806fc75eaba315e4947b329d2a90
cksum=2140182428
upstream_url=https://pypi.io/packages/source/e/executing/executing-VERSION.tar.gz
4 changes: 4 additions & 0 deletions build/pkgs/executing/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/executing/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
executing
1 change: 1 addition & 0 deletions build/pkgs/executing/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.8.3
2 changes: 2 additions & 0 deletions build/pkgs/executing/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd src
sdh_pip_install .
1 change: 1 addition & 0 deletions build/pkgs/executing/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
18 changes: 18 additions & 0 deletions build/pkgs/fastjsonschema/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
fastjsonschema: Fastest Python implementation of JSON schema
============================================================

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

Fastest Python implementation of JSON schema

License
-------

BSD

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

https://pypi.org/project/fastjsonschema/

5 changes: 5 additions & 0 deletions build/pkgs/fastjsonschema/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=fastjsonschema-VERSION.tar.gz
sha1=3634374e5004103a3789753f0c145bb798f90874
md5=c371e5315f66bdd18b62e14c66f89543
cksum=2483060937
upstream_url=https://pypi.io/packages/source/f/fastjsonschema/fastjsonschema-VERSION.tar.gz
4 changes: 4 additions & 0 deletions build/pkgs/fastjsonschema/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/fastjsonschema/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fastjsonschema
1 change: 1 addition & 0 deletions build/pkgs/fastjsonschema/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.15.3
2 changes: 2 additions & 0 deletions build/pkgs/fastjsonschema/spkg-install.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd src
sdh_pip_install .
1 change: 1 addition & 0 deletions build/pkgs/fastjsonschema/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
6 changes: 3 additions & 3 deletions build/pkgs/idna/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=idna-VERSION.tar.gz
sha1=b1bb761203e1cc791318d80bdbd29f4f0a6893d3
md5=08ea8e2ce09e522424e872409c221138
cksum=752375109
sha1=08c0449533fc94462f78652dea209099754d9ee4
md5=5856306eac5f25db8249e37a4c6ee3e7
cksum=2700709091
upstream_url=https://pypi.io/packages/source/i/idna/idna-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/idna/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2
3.3
2 changes: 1 addition & 1 deletion build/pkgs/ipykernel/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) ipython_genutils importlib_metadata argcomplete matplotlib_inline ipython jupyter_client tornado appnope traitlets | $(PYTHON_TOOLCHAIN)
$(PYTHON) ipython_genutils importlib_metadata matplotlib_inline ipython jupyter_client tornado appnope traitlets | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/ipympl/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN) ipywidgets matplotlib ipykernel jupyter_packaging
$(PYTHON) ipywidgets matplotlib ipykernel | $(PYTHON_TOOLCHAIN) jupyter_packaging

----------
All lines of this file are ignored except the first.
Expand Down
6 changes: 3 additions & 3 deletions build/pkgs/ipython/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=ipython-VERSION.tar.gz
sha1=05165e7fdcebde908aa6b65892ef230795a01e6b
md5=159340b8ba158386f938a8b882749fed
cksum=1960065579
sha1=98270c68edcfbcd02b3d76d9c1ab6030bbb92171
md5=dc5d78f3d622b027a0f32f9a545b44ff
cksum=3907293880
upstream_url=https://pypi.io/packages/source/i/ipython/ipython-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/ipython/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) jinja2 tornado pyzmq pickleshare simplegeneric traitlets | $(PYTHON_TOOLCHAIN) wcwidth prompt_toolkit pygments pexpect appnope backcall jedi
$(PYTHON) jinja2 tornado pyzmq pickleshare simplegeneric traitlets decorator wcwidth prompt_toolkit pygments pexpect appnope backcall jedi stack_data | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/ipython/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.29.0
8.4.0
6 changes: 3 additions & 3 deletions build/pkgs/ipywidgets/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=ipywidgets-VERSION.tar.gz
sha1=ad63e99f44fd759c34ab70161e9ac8f4276294f8
md5=420aabfddee27fc215ad9a9c14c9c529
cksum=259379988
sha1=db842df5008a1786ab6434875c2d56b974c5109a
md5=61deb9024c3de1848812b97c2560d0cf
cksum=3129459111
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.6.5
7.7.0
6 changes: 3 additions & 3 deletions build/pkgs/jsonschema/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=jsonschema-VERSION.tar.gz
sha1=f804244e37c3f8f1c587ed6aee8f1f6a851f90f5
md5=87cf45f980c9b48e040c0c5897e574c4
cksum=1105743845
sha1=5f90a208235152dc4f0b8ae51ca2860c0771ff51
md5=c3f7a29c187bf1d038c66a5d5763eab1
cksum=2329724463
upstream_url=https://pypi.io/packages/source/j/jsonschema/jsonschema-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jsonschema/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.3.2
4.5.1
6 changes: 3 additions & 3 deletions build/pkgs/jupyter_client/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=jupyter_client-VERSION.tar.gz
sha1=aad5dd5337e20e53de66e094092333e04d9c4e1d
md5=33fb5eab82f3e89c68f2082b52a8e966
cksum=481041414
sha1=99e1ce34f9022acbd3cc301d501ff83099f559ff
md5=3863b317e78ba701f5b844c2221a101f
cksum=1126052456
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 @@
7.1.0
7.3.4
6 changes: 3 additions & 3 deletions build/pkgs/jupyter_core/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=jupyter_core-VERSION.tar.gz
sha1=afa48d85b3611beb42236be3c130767a6524ccfd
md5=77a1e7642abfb834a6046e14b94f5c88
cksum=1811078933
sha1=f5db3f86f2cf40c9371bfa16a783a79a3502cac4
md5=812d7410ffb4b671b23a68ef4bf40c12
cksum=2575874942
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.9.1
4.10.0
6 changes: 3 additions & 3 deletions build/pkgs/jupyter_jsmol/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=jupyter_jsmol-VERSION.tar.gz
sha1=5e21072395929a247a520b9e0b6d5fe56d70f5d5
md5=0549b54006cbf405b26a5fb71b2e6f40
cksum=285195380
sha1=6ba59de9d1df15b2a09a57f6bdf10f48f13af9ac
md5=90e9490414e7fbecc6013b4b051b06d7
cksum=917919116
upstream_url=https://pypi.io/packages/source/j/jupyter-jsmol/jupyter_jsmol-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_jsmol/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipywidgets $(PYTHON) | $(PYTHON_TOOLCHAIN)
ipywidgets jupyter_packaging $(PYTHON) | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_jsmol/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jupyter-jsmol
jupyter-jsmol >=2022.1.0
2 changes: 1 addition & 1 deletion build/pkgs/jupyter_jsmol/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
2022.1.0
Loading

0 comments on commit 8312ee1

Please sign in to comment.