-
Notifications
You must be signed in to change notification settings - Fork 25
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
Return full pipfile_entry dict instead of cherry-picking values #257
Return full pipfile_entry dict instead of cherry-picking values #257
Conversation
I think this approach is fine. Could you please add some tests for it? You can at least transfer the bug report into a regression test so we'll have one more use case covered in tests. |
I plan to, I should do that this week.
|
Looks like some pip version related warning, I suppose pip 23 is new. |
Just change Line 51 in fe8c6fd
to |
/approve |
If there is an unknown key, we won't use it in the rest of the code. This way, we gain free support for dependencies using git file, etc.
9911a30
to
cf60063
Compare
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.
I like it and I've verified that the test failed with the previous version. Do you want to do a new release? You can just add a changelog, bump the version and push it to master with a corresponding tag.
I'll do that, at least I'll know how the release part works.
|
@frenzymadness can you put a /lgtm ? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: frenzymadness, VannTen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
I already approved it last week and I see no significant difference after the lgtm command. |
So, before the lgtm command was posted by me, I saw that I could merge this PR. Now, after the lgtm command, I cannot do that unless it passes all the checks or I use my admin privileges to bypass the rules for the protected branch. And the sesheta cheks will never finish I guess. I'm inclined to remove the bot again. |
looks like I don't have push right to master. |
Yes, but it requires a tag which is not possible to do via PR so you can open a PR with a new version, changelog etc. and I'll merge it, tag it and push it to master which should lead to a new release on PyPI. |
And I had a local and signed tag :/. Oh well.
|
So, do you want to be able to push directly to master? |
To do releases, yeah.
We could have some automation for releases and changelog, but I don't
have the time to invest in that right now, so for the time being let's
keep it manual.
|
Related Issues and Dependencies
fix #256
…
This introduces a breaking change
This Pull Request implements
If there is an unknown key, we won't use it in the rest of the code.
This way, we gain free support for dependencies using git file, etc.
Caveat
I'm not completely sure of the full impact of the fix. But I think we only use specific keys in the returned dictionnary. Hence we should not have any problem with unknown ones, because we just won't use them.
But that also means we might accept invalid Pifile.