The pyrepl dependency should be removed if not needed because the package never shipped with a wheel file. It hasn't been updated in a very long time. Perhaps the code can be modified to avoid using it. Here's the deprecation notice:
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. pip23.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
This issue can also lead to errors in CI, as seen here:
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. pip23.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.
pyrepl
dependency should be removed if not needed because the package never shipped with a wheel file. It hasn't been updated in a very long time. Perhaps the code can be modified to avoid using it. Here's the deprecation notice:DEPRECATION:
pyrepl
is being installed using the legacysetup.py install
method, because it does not have apyproject.toml
and thewheel
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/8559DEPRECATION:
pyrepl
is being installed using the legacysetup.py install
method, because it does not have apyproject.toml
and thewheel
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/8559Running 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'].
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.