mdmintz / tabcompleter

A friendly fork of (unmaintained) fancycompleter, but works on Linux, macOS, and Windows.
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

The "pyrepl" dependency should be removed if not needed #2

Closed mdmintz closed 1 year ago

mdmintz commented 1 year ago

DEPRECATION: pyrepl is being installed using the legacy setup.py install method, because it does not have a pyproject.toml and the wheel package is not installed. pip 23.1 will enforce this behavior change. A possible replacement is to enable the --use-pep517 option. Discussion can be found at https://github.com/pypa/pip/issues/8559


DEPRECATION: pyrepl is being installed using the legacy setup.py install method, because it does not have a pyproject.toml and the wheel package is not installed. pip 23.1 will enforce this behavior change. A possible replacement is to enable the --use-pep517 option. Discussion can be found at https://github.com/pypa/pip/issues/8559

Running setup.py install for pyrepl: started Running setup.py install for pyrepl: finished with status 'error' error: subprocess-exited-with-error

× Running setup.py install for pyrepl did not run successfully. │ exit code: 1 ╰─> [14 lines of output] error: Multiple top-level packages discovered in a flat-layout: ['pyrepl', 'testing'].

  To avoid accidental inclusion of unwanted files or directories,
  setuptools will not proceed with this build.

  If you are trying to create a single distribution with multiple packages
  on purpose, you should not rely on automatic discovery.
  Instead, consider the following options:

  1. set up custom discovery (`find` directive with `include` or `exclude`)
  2. use a `src-layout`
  3. explicitly set `py_modules` or `packages` with a list of names

  To find more information, look for "package discovery" on setuptools docs.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pyrepl

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. Error: Process completed with exit code 1.

mdmintz commented 1 year ago

Released in 1.1.0 - https://github.com/mdmintz/tabcompleter/releases/tag/v1.1.0