-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Complete pip-tools setup #5486
Complete pip-tools setup #5486
Conversation
@webknjaz I've marked this PR with |
1b976e3
to
4ebd012
Compare
Codecov Report
@@ Coverage Diff @@
## master #5486 +/- ##
=======================================
Coverage 97.17% 97.17%
=======================================
Files 41 41
Lines 8857 8857
Branches 1424 1424
=======================================
Hits 8607 8607
Misses 133 133
Partials 117 117
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Looks like some tests are failing because of new warnings introduced in 77d0366. |
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 don't use pip-sync and it's a good idea to make sure that this all works with vanilla pip.
Also, for dependabot to work properly, we need to turn all the direct dependency files into .in
. The pip-tools setup is incomplete and it needs polishing first before we even consider integrating extra things.
Take a look at pypa/warehouse — they have a good example of the file pairs for dependabot.
4ebd012
to
38d0507
Compare
Summarizing the changes:
|
38d0507
to
f7e1bf1
Compare
f7e1bf1
to
7cbe6fd
Compare
Why is that? What exactly causes problems? |
We have a requirement Generally speaking any dependency with |
@greshilov sounds like |
Meanwhile, we'll have to use |
This PR is alright for now then? I also wanted to suggest adding hashes to lock files, like in |
Alright. Let's merge it then, but we still need to raise this issue in the pip-tools repo, I think.
That's a great idea! I do this in all of my projects by default. |
@@ -0,0 +1 @@ | |||
Complete pip-tools setup. |
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.
Urgh... This is not a bugfix but a misc change because it's not a user-facing fix but something that would only affect the core devs and contributors.
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.
Sorry, my bad!
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.
It's not a big deal, I guess this can be fixed by a follow-up PR with git mv
.
What do these changes do?
Solve problems with inconsistent approaches to installing dependencies in Makefile.
Are there changes in behavior for the user?
No.
Related issue number
Related PR: #5470.
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.