Skip to content

Commit

Permalink
sagemathgh-36129: Notebook 7, ipykernel 6.27, ipython 8.17
Browse files Browse the repository at this point in the history
    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->

This is now based on JupyterLab. There are many changes in dependencies.

We are trying to use platform-independent wheels when available, to
avoid any Node.JS activity during our build.
Hence we remove our `nodeenv`, `nodejs`, `jupyter_packaging`,
`hatch_nodejs_version` packages.

There is trouble on the horizon regarding our model of building
everything from source: The latest versions of `jsonschema` have
switched from `pyrsistent` to a Rust-based package.
We use the newest versions that don't pull in the build dependency on
the Rust compiler.

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
- Resolves sagemath#24904
- Resolves sagemath#30399
- Resolves sagemath#33772

<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->
- Depends on sagemath#35251 (merged here)

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36129
Reported by: Matthias Köppe
Reviewer(s): Eric Gourgoulhon, Kwankyu Lee, Matthias Köppe, Michael Orlitzky
  • Loading branch information
Release Manager committed Dec 4, 2023
2 parents c31f22e + 744e4b7 commit f336f6a
Show file tree
Hide file tree
Showing 319 changed files with 1,125 additions and 485 deletions.
18 changes: 18 additions & 0 deletions build/pkgs/anyio/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
anyio: High level compatibility layer for multiple asynchronous event loop implementations
==========================================================================================

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

High level compatibility layer for multiple asynchronous event loop implementations

License
-------

MIT

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

https://pypi.org/project/anyio/

5 changes: 5 additions & 0 deletions build/pkgs/anyio/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=anyio-VERSION-py3-none-any.whl
sha1=bb08368bb19e1aff2f4190e39300e43fee52103e
md5=420d85e19168705cdf0223621b18831a
cksum=627181302
upstream_url=https://pypi.io/packages/py3/a/anyio/anyio-VERSION-py3-none-any.whl
4 changes: 4 additions & 0 deletions build/pkgs/anyio/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
idna sniffio | $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/anyio/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
anyio
1 change: 1 addition & 0 deletions build/pkgs/anyio/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.0.0
File renamed without changes.
18 changes: 18 additions & 0 deletions build/pkgs/arrow/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
arrow: Better dates & times for Python
======================================

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

Better dates & times for Python

License
-------

Apache 2.0

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

https://pypi.org/project/arrow/

5 changes: 5 additions & 0 deletions build/pkgs/arrow/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=arrow-VERSION-py3-none-any.whl
sha1=fd9376ef4788dc2b1c981e6b5beb9048e046c556
md5=71d18bb3d882ae242b5b1a397313bb12
cksum=244356435
upstream_url=https://pypi.io/packages/py3/a/arrow/arrow-VERSION-py3-none-any.whl
4 changes: 4 additions & 0 deletions build/pkgs/arrow/dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dateutil types_python_dateutil | $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/arrow/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
arrow
1 change: 1 addition & 0 deletions build/pkgs/arrow/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.3.0
File renamed without changes.
6 changes: 3 additions & 3 deletions build/pkgs/asttokens/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=asttokens-VERSION.tar.gz
sha1=cca6058c6c23195148be93bfa32c0a0ca9b2f873
md5=67b269e359fcb404cd8626985f3676ae
cksum=3749309047
sha1=d522a139240293953c99d32ca62c41542babb963
md5=c353679585a40f43c24ca60fca33bbf6
cksum=1117135252
upstream_url=https://pypi.io/packages/source/a/asttokens/asttokens-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/asttokens/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.4.1
18 changes: 18 additions & 0 deletions build/pkgs/async_lru/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
async_lru: Simple LRU cache for asyncio
=======================================

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

Simple LRU cache for asyncio

License
-------

MIT License

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

https://pypi.org/project/async-lru/

5 changes: 5 additions & 0 deletions build/pkgs/async_lru/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=async_lru-VERSION-py3-none-any.whl
sha1=99b2ea5d551cbad28e08e45f0d0b00827f9ff73d
md5=de1e9e7559810690de8b7084b372d9a2
cksum=3326301475
upstream_url=https://pypi.io/packages/py3/a/async_lru/async_lru-VERSION-py3-none-any.whl
File renamed without changes.
1 change: 1 addition & 0 deletions build/pkgs/async_lru/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
async-lru
1 change: 1 addition & 0 deletions build/pkgs/async_lru/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.4
1 change: 1 addition & 0 deletions build/pkgs/async_lru/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
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=fbb73ba4221122b56cd4eac2d9e5d3ad2e383ae0
md5=22f22f89cf9da41b22e1ece9639c66a3
cksum=2807377018
sha1=d9cd72f81e7710692b8ff0a42e69bf93375b5fd3
md5=b49a6696a762e946c2be97c36a5adaa8
cksum=839566236
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.11.1
4.12.2
10 changes: 5 additions & 5 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=73c6b8fad993b318859ca65c365ac2191edd35fc
md5=03b5faa43c0d771a86a2c4cb2575d070
cksum=4204308806
upstream_url=https://pypi.io/packages/source/b/bleach/bleach-VERSION.tar.gz
tarball=bleach-VERSION-py3-none-any.whl
sha1=7ba81a446171fb840d3083afadd0c87f0b599305
md5=ec9e860103ffbc3e6e9963485464bfbc
cksum=1174632300
upstream_url=https://pypi.io/packages/py3/b/bleach/bleach-VERSION-py3-none-any.whl
2 changes: 1 addition & 1 deletion build/pkgs/bleach/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packaging six webencodings | $(PYTHON_TOOLCHAIN) $(PYTHON)
six webencodings | $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/bleach/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bleach >=3.1.5
bleach >= 5
2 changes: 1 addition & 1 deletion build/pkgs/bleach/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.1
6.1.0
1 change: 0 additions & 1 deletion build/pkgs/bleach/spkg-install.in

This file was deleted.

2 changes: 1 addition & 1 deletion build/pkgs/calver/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$(PYTHON) | $(PYTHON_TOOLCHAIN)
| $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
18 changes: 18 additions & 0 deletions build/pkgs/comm/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
comm: Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc.
==================================================================================

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

Jupyter Python Comm implementation, for usage in ipykernel, xeus-python etc.

License
-------

BSD 3-Clause License

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

https://pypi.org/project/comm/

5 changes: 5 additions & 0 deletions build/pkgs/comm/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=comm-VERSION-py3-none-any.whl
sha1=e7e20f9c1524a9fe059c0b6df90a68e1cd2115a9
md5=165e29c257c70498b61c7a31916727f2
cksum=2011044045
upstream_url=https://pypi.io/packages/py3/c/comm/comm-VERSION-py3-none-any.whl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
hatchling | $(PYTHON_TOOLCHAIN) $(PYTHON)
traitlets | $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/comm/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comm
1 change: 1 addition & 0 deletions build/pkgs/comm/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.4
1 change: 1 addition & 0 deletions build/pkgs/comm/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
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=44ae7bfe2d355990604f83ee4c24eb81631b4433
md5=a999f81d29db030bfacab544d5fb0976
cksum=3944616380
sha1=af611dc5c401424196c27363379fc483814efe26
md5=b4a6173035b58a0ad61561a4c5017885
cksum=57995549
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.6.3
1.8.0
2 changes: 1 addition & 1 deletion build/pkgs/debugpy/type
Original file line number Diff line number Diff line change
@@ -1 +1 @@
optional
standard
16 changes: 16 additions & 0 deletions build/pkgs/exceptiongroup/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
exceptiongroup: Backport of PEP 654 (exception groups)
======================================================

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

Backport of PEP 654 (exception groups)

License
-------

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

https://pypi.org/project/exceptiongroup/

5 changes: 5 additions & 0 deletions build/pkgs/exceptiongroup/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=exceptiongroup-VERSION-py3-none-any.whl
sha1=e69c438e6d15111c4f7cc18224b31a42a58663da
md5=d252c64173c449dc34654e7be8211744
cksum=527795480
upstream_url=https://pypi.io/packages/py3/e/exceptiongroup/exceptiongroup-VERSION-py3-none-any.whl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodeenv
| $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/exceptiongroup/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exceptiongroup
1 change: 1 addition & 0 deletions build/pkgs/exceptiongroup/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.2.0
1 change: 1 addition & 0 deletions build/pkgs/exceptiongroup/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
18 changes: 18 additions & 0 deletions build/pkgs/fqdn/SPKG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
fqdn: Validates fully-qualified domain names against RFC 1123, so that they are acceptable to modern bowsers
============================================================================================================

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

Validates fully-qualified domain names against RFC 1123, so that they are acceptable to modern bowsers

License
-------

MPL 2.0

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

https://pypi.org/project/fqdn/

5 changes: 5 additions & 0 deletions build/pkgs/fqdn/checksums.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
tarball=fqdn-VERSION-py3-none-any.whl
sha1=85a7ac7d7f45d2e0b64c4b7653ab277ceec91ecf
md5=376c19af0cd5029cd8b36d1042a1490e
cksum=4276482151
upstream_url=https://pypi.io/packages/py3/f/fqdn/fqdn-VERSION-py3-none-any.whl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
| $(PYTHON_TOOLCHAIN) certifi $(PYTHON)
| $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
1 change: 1 addition & 0 deletions build/pkgs/fqdn/install-requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fqdn
1 change: 1 addition & 0 deletions build/pkgs/fqdn/package-version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.5.1
1 change: 1 addition & 0 deletions build/pkgs/fqdn/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
standard
18 changes: 0 additions & 18 deletions build/pkgs/hatch_nodejs_version/SPKG.rst

This file was deleted.

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

This file was deleted.

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

This file was deleted.

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

This file was deleted.

10 changes: 5 additions & 5 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=c01a061b5ace87f662049d205d5d15e7f8a3a533
md5=13ea24e076212b6baae1135a116d1e0e
cksum=1497605198
upstream_url=https://pypi.io/packages/source/i/idna/idna-VERSION.tar.gz
tarball=idna-VERSION-py3-none-any.whl
sha1=4460f34853efc88e4b14ea5e0e3fa7959b3f0c29
md5=7ab9782a3a1180cfa1fef20a1c9c166c
cksum=3196216420
upstream_url=https://pypi.io/packages/py3/i/idna/idna-VERSION-py3-none-any.whl
6 changes: 3 additions & 3 deletions build/pkgs/importlib_resources/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=importlib_resources-VERSION.tar.gz
sha1=dc5322c0a6414fa823f54ef7fe938210abecd6a8
md5=ebb549867902e44c9314ac3998e0d31f
cksum=3214105952
sha1=4af82ed75a1672a45157bfa7d09c4dfd0605802a
md5=525d238db212bdec2df06c0d4b479e73
cksum=1494471486
upstream_url=https://pypi.io/packages/source/i/importlib_resources/importlib_resources-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/importlib_resources/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.1
6.1.0
8 changes: 4 additions & 4 deletions build/pkgs/ipykernel/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
tarball=ipykernel-VERSION.tar.gz
sha1=5a5cf7f8c0c02d0c0cc5fe3e0fe7481a86de6552
md5=f940975eb00de793695c386ad3a8800c
cksum=597841676
upstream_url=https://files.pythonhosted.org/packages/60/30/cf3867ce0dee0a7230ec5eb85232136c3875688816ad355a7b65f4f4e8ef/ipykernel-6.6.0.tar.gz
sha1=88c5159bb5caba780383f00fceebb4cce80f96b5
md5=9a5a3ded6795afecfe55c74f9f77307d
cksum=3205929883
upstream_url=https://pypi.io/packages/source/i/ipykernel/ipykernel-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/ipykernel/dependencies
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ipython_genutils importlib_metadata matplotlib_inline ipython jupyter_client tornado appnope traitlets executing | $(PYTHON_TOOLCHAIN) $(PYTHON)
debugpy ipython comm traitlets jupyter_client jupyter_core nest_asyncio tornado matplotlib_inline appnope pyzmq psutil packaging | $(PYTHON_TOOLCHAIN) hatchling $(PYTHON)

----------
All lines of this file are ignored except the first.
2 changes: 1 addition & 1 deletion build/pkgs/ipykernel/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.6.0
6.27.0
21 changes: 0 additions & 21 deletions build/pkgs/ipykernel/patches/debugpy-make-optional.patch

This file was deleted.

2 changes: 1 addition & 1 deletion build/pkgs/ipympl/type
Original file line number Diff line number Diff line change
@@ -1 +1 @@
optional
standard
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=e0dd247f29befed1159d9bdca987d90c2ee0d34a
md5=8c98f6def0622ea32975cb779247c3d7
cksum=2860792697
sha1=62afbe2e62e713ee89bfe5303809bdcd2affb2a3
md5=ac2ff5bad97aa09befdf7f0f27323699
cksum=413345511
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 @@
tornado pyzmq pickleshare traitlets decorator wcwidth prompt_toolkit pygments pexpect appnope backcall jedi stack_data | $(PYTHON_TOOLCHAIN) $(PYTHON)
tornado pyzmq pickleshare traitlets decorator wcwidth prompt_toolkit pygments pexpect appnope backcall jedi stack_data exceptiongroup | $(PYTHON_TOOLCHAIN) $(PYTHON)

----------
All lines of this file are ignored except the first.
3 changes: 1 addition & 2 deletions build/pkgs/ipython/install-requires.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ipython >=7.13.0, <8.9.0
# ipython >= 8.9.0 requires prompt_toolkit too new for Sage
ipython >=7.13.0
2 changes: 1 addition & 1 deletion build/pkgs/ipython/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.6.0
8.17.2
Loading

0 comments on commit f336f6a

Please sign in to comment.