You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During development, Meltano plugin's pip_url lets users pass arguments for an editable installation (-e path/to/package). This is useful for iterating on the tap/target while testing with Meltano.
At the moment, plugins built with the SDK have to [hack their way around to accomplish the same thing](https://gitlab.com/meltano/sdk/-/blob/main/cookiecutter/tap-template/'Reference to deleted milestone 7'B%7Bcookiecutter.tap_id%7D%7D/'Reference to deleted milestone 7'B%7Bcookiecutter.tap_id%7D%7D.sh) because pip was not able to install packages that use pyproject.toml instead of setup.py.
However, recently released pip 21.3 has support for PEP 660. The only blocker is that the PEP 517 build backend needs to implement the build_editable hook.
The poetry-core build backend is PEP 517 compliant and has recently pushed the hook to master (see PR: python-poetry/poetry-core#182). Once this feature is released and indirectly included in the main poetry package, we'll be able to guide users into upgrading their pip and poetry version so they can install their SDK-based plugins in editable mode without hacks.
Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/238
Originally created by @edgarrmondragon on 2021-10-14 16:43:36
During development, Meltano plugin's
pip_url
lets users pass arguments for an editable installation (-e path/to/package
). This is useful for iterating on the tap/target while testing with Meltano.At the moment, plugins built with the SDK have to [hack their way around to accomplish the same thing](https://gitlab.com/meltano/sdk/-/blob/main/cookiecutter/tap-template/'Reference to deleted milestone 7'B%7Bcookiecutter.tap_id%7D%7D/'Reference to deleted milestone 7'B%7Bcookiecutter.tap_id%7D%7D.sh) because pip was not able to install packages that use
pyproject.toml
instead ofsetup.py
.However, recently released
pip
21.3 has support for PEP 660. The only blocker is that the PEP 517 build backend needs to implement thebuild_editable
hook.The
poetry-core
build backend is PEP 517 compliant and has recently pushed the hook tomaster
(see PR: python-poetry/poetry-core#182). Once this feature is released and indirectly included in the mainpoetry
package, we'll be able to guide users into upgrading theirpip
andpoetry
version so they can install their SDK-based plugins in editable mode without hacks.cc @aaronsteers
The text was updated successfully, but these errors were encountered: