-
Notifications
You must be signed in to change notification settings - Fork 27
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
toil(pkg managers:pip): refactor and unify sdist & wheel handling #467
toil(pkg managers:pip): refactor and unify sdist & wheel handling #467
Conversation
Note that tests haven't been touched yet (also the reason for the mypy fail). IDK what CodeQL's issue is... |
Fixed |
a09b015
to
4f92edb
Compare
4f92edb
to
6e9f74e
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.
@ben-alkov allegedly, I'm missing some deeper understanding of pip deps handling , but overall this looks good, some polishing is required. That said I do like the end result which significantly increased readability of _download_dependencies
.
9a8ba2d
to
2de55b9
Compare
9107e64
to
82cc94c
Compare
I've got that locally, but then my comment in Slack becomes the problem:
|
68d9cd0
to
65fef7e
Compare
Uhm, what's wrong with that bit of code CodeQL complains about it? I don't see a problem, it's proper instantiation, can we dismiss the error as false positive? |
65fef7e
to
17b15df
Compare
e9994d2
to
7438b23
Compare
b7db0f5
to
99b3f2e
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.
If there's anything else besides the last details related to bisect I don't see it so this is ready to be merged once you address those bits :).
02d6c71
to
df11af3
Compare
e1f9558
to
b9b5b91
Compare
...based on the conversation from the original pip wheels PR containerbuildsystem#255 Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
- docstrings: add "allow_binary" - fix dodgy return type from `from_line()` - don't shadow existing `parsed` in `from_line()` (we end up making it change types otherwise) - other minor typing fixes - add missing docstring for `_process_package_distributions()` - wrap some long lines in solution strings - fix a docstring Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
… of the module Prevents type reference issues due to the existing symbol definition order Proposed by: Erik Skultety <eskultet@redhat.com> Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
- `_download_dependencies()` - `_process_package_distributions()` - `DistributionPackageInfo` Also adjust unit tests Signed-off-by: Ben Alkov <ben.alkov@redhat.com>
b9b5b91
to
882c9f2
Compare
be86e44
Refactor and unify pip sdist & wheel handling (STONEBLD-1705), to wit:
Eliminate the differences as much as possible
Maintainers will complete the following section
Note: if the contribution is external (not from an organization member), the CI
pipeline will not run automatically. After verifying that the CI is safe to run:
/ok-to-test
(as is the standard for Pipelines as Code)