rlwrap missing pexpect dependency

Description:

Some rlwrap filters (makefilter filter, in particular) require pexpect Python package, but it seems to be absent in rlwrap package.

Additional info:

  • package version(s): rlwrap 0.46.1
  • config and/or log files: none.
  • link to upstream bug report, if any: none, it's a packaging issue.

Steps to reproduce:

Here's the command reproducing the bug:

rlwrap -z "makefilter grep 'hello'" ed

resulting in

Traceback (most recent call last):
  File "/usr/share/rlwrap/filters/makefilter", line 9, in <module>
    import pexpect
ModuleNotFoundError: No module named 'pexpect'
rlwrap: error: error writing to filter: Broken pipe
rlwrap: warning: filter died
warnings can be silenced by the --no-warnings (-n) option