Remove debugpy as dependency?

Open
#1,136 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

No files or tests are named. Start by locating the dependency declaration and the guarded debugpy import referenced in the issue, then inspect how debugger support is packaged and exercised. Done means debugpy is no longer a required dependency while debugger behavior and package installation remain correct.

Written by the indexing model from the issue text.

Description

debugpy is quite a heavy dependency, before it was a build dependency, but now it's standard:

It shows up as 28MB on disk

 28M    /Users/maartenbreddels/venvs/solara-size1/lib/python3.9/site-packages/debugpy

On pypi https://pypi.org/project/debugpy/#files it's ~5mb.

I'm not sure everyone needs a debugger, and in times of pyodide/pyscript, size matters :)

I think the code is already prepared for it (try block around the import).

Dominant language
Python
Stars
734
Forks
411
Avg merge
1d 2h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ipython/ipykernel

All issues in ipython/ipykernel

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.