install-deps: remove the legacy resolver flags #52544
Conversation
|
@nizamial09 I'm guessing this draft is to test the recent make check failure? I raised a tracker for it here: https://tracker.ceph.com/issues/62082 Are you testing a fix here? If so, feel free to add it to the tracker. |
thanks @ljflores will update the tracker. |
|
I don't know if this is helpful or not but it seems like the failures are in the |
|
thanks @phlogistonjohn and yes please any kind of help is appreciated. I am kind of stuck with this now and not able to test it. I tested this partly in a ubuntu container where i didn't find this issue but I am trying to check this in jenkins env. TBH, not an expert in this area! |
do you think the dependency is on the ceph or something changed from pip? |
da91685 to
fa3a953
Compare
|
Assuming I'm right about |
fa3a953 to
6b937a9
Compare
6b937a9 to
d83183e
Compare
|
I ended up studying how the dependencies are installed on the make-checks. Basically the So I removed this flags which resolves this issue. Not sure if its the best/right approach to the problem. This run was successful with the |
I found the same issue with /wheelhouse, and I was able to fix it by removing a line in install-deps.sh that updates pip. (See PR #52558). A new version of pip was released a few days ago, which is I think what caused the change. Up to you which method you want to use, but it looks like both fix the issue. |
I added my thought there! I am a bit uncertain which will work the best. I'll let others take a look at these. |
@nizamial09 It would be very nice to add that to the commit message. We are removing a workaround that was in place for almost two years, having an explanation for why it's no longer needed with a link is miles better than "Not sure if this is still valid." |
@idryomov I couldn't find the url. But there is this documentation that explains why we should be using the new dependency resolver rather than using the legacy resolver. And moreover, I'll update the commit with these links. |
This was a workaround that was introduced long time ago. This will be something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be downloaded or stored into the wheelhouse. Deps like jsonschema, parse, mypy, cryptography etc. [1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline Fixes: https://tracker.ceph.com/issues/62082 Signed-off-by: Nizamudeen A <nia@redhat.com>
d83183e to
d179b95
Compare
|
@nizamial09 want to merge this? |
@ljflores I think we can. Please do the honors. I am connected through phone now. |
|
@nizamial09 should be backported to Reef too. |
alright! |
Noting that |
I forgot about this, but thanks for confirming. |
|
Possibly related: pypa/pip#12156 |
ah good! atleast its being tracked in the community. thanks for pointing it out. @phlogistonjohn |
This was a workaround that was introduced long time ago. This will be
something that could be deprectaed at some point [1]. And its preventing some of the dependencies to be
downloaded or stored into the wheelhouse. Deps like jsonschema, parse,
mypy, cryptography etc.
[1] https://pip.pypa.io/en/latest/user_guide/#deprecation-timeline
Fixes: https://tracker.ceph.com/issues/62082
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows