Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk/python] Allow editable installs without build step #357

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

justinvp
Copy link
Member

@justinvp justinvp commented Jul 20, 2024

This change makes it possible to install the Python SDK with pip install -e sdk/python/lib without having to first build the project and then install from the build directory with pip install -e sdk/python/env/src.

This helps speed up local development, but also makes it possible to install in this way from tests that require the version of the package to be a simple version like 1.0.0 and not 1.12.0a1721429785 like with the built package.

Similar to pulumi/pulumi#10894

Needed to easily test #358

This change makes it possible to install the Python SDK with `pip install -e sdk/python/lib` without having to first build the project and then install from the build directory with `pip install -e sdk/python/env/src`.

This helps speed up local development, but also makes it possible to install in this way from tests that require the version of the package to be a simple version like `1.0.0` and not `1.12.0a1721429785` like with the built package.
@justinvp justinvp added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Jul 20, 2024
@justinvp justinvp requested a review from a team as a code owner July 20, 2024 00:27
@justinvp justinvp merged commit 31e46ca into main Jul 22, 2024
5 checks passed
@justinvp justinvp deleted the justin/localinstall branch July 22, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants