Skip to content

"ipdb" should be swapped with "pdbpp" (pdb++) in dependencies... which was quickly swapped again with "pdbp" (Pdb+) #1615

@mdmintz

Description

@mdmintz

"ipdb" should be swapped with "pdbpp" (pdb++) in dependencies

The ipdb dependency has too many sub dependencies:

pip install ipdb

Collecting ipdb
  Using cached ipdb-0.13.9-py3-none-any.whl
Requirement already satisfied: setuptools in /Users/michael/.virtualenvs/ipdb/lib/python3.11/site-packages (from ipdb) (65.5.0)
Collecting ipython>=7.17.0
  Using cached ipython-8.6.0-py3-none-any.whl (761 kB)
Collecting toml>=0.10.2
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting jedi>=0.16
  Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting matplotlib-inline
  Using cached matplotlib_inline-0.1.6-py3-none-any.whl (9.4 kB)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting prompt-toolkit<3.1.0,>3.0.1
  Using cached prompt_toolkit-3.0.33-py3-none-any.whl (383 kB)
Collecting pygments>=2.4.0
  Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting stack-data
  Using cached stack_data-0.6.1-py3-none-any.whl (24 kB)
Collecting traitlets>=5
  Using cached traitlets-5.5.0-py3-none-any.whl (107 kB)
Collecting pexpect>4.3
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting appnope
  Using cached appnope-0.1.3-py2.py3-none-any.whl (4.4 kB)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting ptyprocess>=0.5
  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting executing>=1.2.0
  Using cached executing-1.2.0-py2.py3-none-any.whl (24 kB)
Collecting asttokens>=2.1.0
  Using cached asttokens-2.1.0-py2.py3-none-any.whl (26 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)

Installing collected packages:
wcwidth,
pure-eval,
ptyprocess,
pickleshare,
executing,
backcall,
appnope,
traitlets,
toml,
six,
pygments,
prompt-toolkit,
pexpect,
parso,
decorator,
matplotlib-inline,
jedi,
asttokens,
stack-data,
ipython,
ipdb

Wow! That might be close to 40% of all SeleniumBase dependencies!

The good news is that there may be a much lighter alternative: pdbpp (pdb++)

pip install pdbpp

Collecting pdbpp
  Using cached pdbpp-0.10.3-py2.py3-none-any.whl (23 kB)
Collecting fancycompleter>=0.8
  Using cached fancycompleter-0.9.1-py3-none-any.whl (9.7 kB)
Collecting wmctrl
  Using cached wmctrl-0.4-py3-none-any.whl
Collecting pygments
  Using cached Pygments-2.13.0-py3-none-any.whl (1.1 MB)
Collecting pyrepl>=0.8.2
  Using cached pyrepl-0.9.0-py3-none-any.whl

Installing collected packages:
wmctrl,
pyrepl,
pygments,
fancycompleter,
pdbpp

Looks like pdbpp is a lot lighter than ipdb!

Maybe it's time to swap out ipdb (https://github.com/gotcha/ipdb) with pdbpp (https://github.com/pdbpp/pdbpp).

Metadata

Metadata

Assignees

Labels

SeleniumBase 4SeleniumBase 4dependenciesThis involves updating a dependency fileenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions