Same dependency but Dev is Local/Editable and Main is Git #10474
Unanswered
timthedevguy
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I have a module I wrote, and in local dev I'd like it to be installed from path and editable...so poetry add -D ../path/to/module, and that works great
But in prod I need to install it from GIT, seems easy....poetry add git+https:///lblllklkj...but I then get warning that there are duplicates
Seems like this should be possible and I can't possibly be the only one that has needed this. What am I doing wrong? Google hasn't helped, lots of conflicting it works, it used to work, dev group changes broke it all. etc etc.
Anyone gotten this to work?
I did do a test and installed Dev using command line, then added the dependency manually to main, changed my Dockerfile to --without dev and it all installed fine but one the app starts the module isn't there.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions