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

Add local editable dependency, with remote backup? #8450

Open
Wyko opened this issue Sep 18, 2023 Discussed in #8366 · 3 comments
Open

Add local editable dependency, with remote backup? #8450

Wyko opened this issue Sep 18, 2023 Discussed in #8366 · 3 comments

Comments

@Wyko
Copy link

Wyko commented Sep 18, 2023

Discussed in https://github.com/orgs/python-poetry/discussions/8366

Originally posted by Wyko August 25, 2023
Hey all,

I'm working on two projects. Project B imports Project A as a dependency. On my local machine, I can specify the folder with Project A in it using poetry add -e. This lets me develop both projects concurrently.

How do I do that, while at the same time putting the correct repo path of Project A as well? That way anyone who does pip install on Project B gets Project A too.

@Wyko
Copy link
Author

Wyko commented Sep 18, 2023

It looked like no one had any input in discussions, so maybe this is something a little more involved.

@dimbleby
Copy link
Contributor

cf #8219, #8415

@AKuederle
Copy link
Contributor

This is also related and has been discussed a lot. #1168

However, all these approaches "break" how poetry works on a very fundamental level. I would like to see a option for this as well. At the moment mpy workaround is to manually pip install my local dependency on top during dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants