-
Notifications
You must be signed in to change notification settings - Fork 252
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
Fix PEP508 formatting for subdirectory parameter #300
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot 👍
Can you please add a test for it?
just chiming in to say that I'm encountering this issue, as well thanks for creating a fix for this! |
Kudos, SonarCloud Quality Gate passed! |
@marink @finswimmer is there anything I could do to help getting this merged? As @finswimmer mentioned, this is missing a test. @marink I think the right place to add one would be here: And if I understand the structure correctly, a valid test could look something like this:
|
I think this PR can be closed, since #288 has been merged, and I believe it already implements this fix? |
Actually no. #288 fixed parsing URLs that contain the sub-directory syntax. This PR fixes recreating the URL correctly so that other package managers can install a package that is managed by poetry and has a dependency with a sub-directory The issue fixed here is still in master:
|
Kudos, SonarCloud Quality Gate passed! |
@marink Could you have a look at the example test that I posated a couple of comments up? I think that would be a sufficient test. If you add this we could move this PR forward. |
Ah perfect! Thanks for handling that! |
Resolves: python-poetry#Fix for git subdirectories #288
There is a minor adjustment to fix #288. It was missing the '=' sign when specifying the Git subdirectory to load.