Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
update ipykernel and make debugpy optional
Browse files Browse the repository at this point in the history
 - update ipykernel to 6.6.0, for which debugpy is optional
 - patch out debugpy from pyproject.toml and setup.py
 - make debugpy optional for sagemath
  • Loading branch information
tornaria committed Dec 13, 2021
1 parent d6d0edc commit 15cf50e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/pkgs/debugpy/type
Original file line number Diff line number Diff line change
@@ -1 +1 @@
standard
optional
6 changes: 3 additions & 3 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=19b16c61057bb7f5ad97f7e91bb54cdfec260257
md5=329c172babb38dff1be130ddf3a609af
cksum=2936157099
sha1=5a5cf7f8c0c02d0c0cc5fe3e0fe7481a86de6552
md5=f940975eb00de793695c386ad3a8800c
cksum=597841676
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 @@
$(PYTHON) ipython_genutils importlib_metadata argcomplete debugpy matplotlib_inline ipython jupyter_client tornado appnope traitlets | $(PYTHON_TOOLCHAIN)
$(PYTHON) ipython_genutils importlib_metadata argcomplete matplotlib_inline ipython jupyter_client tornado appnope traitlets | $(PYTHON_TOOLCHAIN)

----------
All lines of this file are ignored except the first.
Expand Down
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.3.1
6.6.0
21 changes: 21 additions & 0 deletions build/pkgs/ipykernel/patches/debugpy-make-optional.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--- a/pyproject.toml 2021-12-01 10:23:30.000000000 -0300
+++ b/pyproject.toml 2021-12-13 18:01:36.239921204 -0300
@@ -3,7 +3,6 @@
requires=[
"setuptools",
"wheel",
- "debugpy",
"ipython>=5",
"jupyter_core>=4.2",
"jupyter_client",
diff -ruN a/setup.py b/setup.py
--- a/setup.py 2021-12-01 10:23:09.000000000 -0300
+++ b/setup.py 2021-12-13 18:01:40.112873823 -0300
@@ -63,7 +63,6 @@
install_requires=[
'importlib-metadata<5;python_version<"3.8.0"',
'argcomplete>=1.12.3;python_version<"3.8.0"',
- 'debugpy>=1.0.0,<2.0',
'ipython>=7.23.1',
'traitlets>=5.1.0,<6.0',
'jupyter_client<8.0',

0 comments on commit 15cf50e

Please sign in to comment.