-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore: bump requests-toolbelt to 1.0.0 fixes #10470 #10762
base: master
Are you sure you want to change the base?
chore: bump requests-toolbelt to 1.0.0 fixes #10470 #10762
Conversation
Hi @SimonDR-Boltzmann. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
f3fbb17
to
da1cf2f
Compare
/ok-to-test |
@SimonDR-Boltzmann I believe this is not the only place to upgrade That being said, ensure that all occurrences of that package are upgraded to 1.1.0 version. |
@rimolive You're right, I should have checked. It also seems the 1.1.0 is not on pypi yet, so I've bumped to 1.0.0 instead |
/test kubeflow-pipeline-e2e-test |
@rimolive I could use your help debugging these failed tests, I'm not sure what the CancelledErrors mean, and I get a 403 when I click on the experiment/run details links. |
@SimonDR-Boltzmann Just rebase and I believe the new Github Action tests will run. |
0514d22
to
3d7827e
Compare
@SimonDR-Boltzmann: The following tests failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@rimolive It seems the tests still fail, but I still can't seem to access the relevant logs to see what's going on. |
@SimonDR-Boltzmann you can ignore those tests. They are all optional. |
@SimonDR-Boltzmann please rebase this PR. We've done some test fixes, and maybe everything will just pass now. |
@SimonDR-Boltzmann May I ask to rebase again? We migrated most of these tests to GitHub actions, now we can run propoer tests in your PR |
3d7827e
to
cd00325
Compare
/rerun-all |
cd00325
to
82aca79
Compare
/rerun-all |
/lgtm |
I don't have experience updating python dependencies yet, but this looks solid to me, and the tests pass. thanks! /lgtm |
@chensun @zijianjoy could you please review this? thank you in advance |
82aca79
to
0ae6df4
Compare
New changes are detected. LGTM label has been removed. |
/rerun-all |
@SimonDR-Boltzmann There are some failling tests. Can you take a look? |
@rimolive Apart from the
I can't really tell what's the cause of the errors. I'm having some trouble testing locally, could you point me in the right direction? |
I tried to run the tests locally as well (to see if I could help you out) and building images fails for me:
I might be doing something wrong. It's my first time trying to do this. Anyone know if we have documentation somewhere for running these e2e kind tests locally? |
/hold |
@@ -85,7 +85,7 @@ requests==2.32.3 | |||
# requests-toolbelt | |||
requests-oauthlib==2.0.0 | |||
# via kubernetes | |||
requests-toolbelt==0.10.1 | |||
requests-toolbelt==1.0.0 |
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.
Did you execute the command pip-compile --no-emit-index-url requirements.in
to update the requirements.txt?
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 should have read the readme better, I updated with pip-compile now.
@@ -85,7 +85,7 @@ requests==2.32.2 | |||
# requests-toolbelt | |||
requests-oauthlib==2.0.0 | |||
# via kubernetes | |||
requests-toolbelt==0.10.1 | |||
requests-toolbelt==1.0.0 |
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.
Did you execute pip-compile requirements.in
to genereta the requirements.txt?
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 tried, but now the requests-toolbelt version is back to 0.10.1 here
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.
Double-check the dependency tree and see what library is requesting requests-toolbelt
be with 0.10.1
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 kfp(==2.9.0), but I'm not sure how to fix that without releasing and versioning the other change.
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.
cc @chensun what we should do in this case?
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.
Try the following from project root folder:
pip install sdk/python/
The cd test/kfp-functional-test
and execute
pip-compile requirements.in
In this case, we won't need to have a version before your change.
Please let me know if this will work.
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 doesn't work, I'm afraid, pip-compile
still looks to PyPI it seems. If in requirements.in I replace kfp
by ../../sdk/python
it does work, but I'm guessing that's not a good solution.
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.
@chensun any idea?
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.
@chensun could you take a look?
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.
@diegolovison @SimonDR-Boltzmann I believe this is because it's installing kfp from pypi repo, which still uses the old library version. What you could try is temporarily test adding the git+ssh
entry in requirements.in
pointing to your branch and see if pip-compile requirements.in
upgrades to 1.0.
cc @gregsheremeta for awareness.
0ae6df4
to
0232834
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/rerun-all |
Hello! Can this be merged? |
No. We need to fix #10762 (comment) |
Signed-off-by: Simon De Ridder <simon.deridder+gitlab@silverfin.com>
0232834
to
371901f
Compare
Signed-off-by: Simon De Ridder <simon.deridder+gitlab@silverfin.com>
371901f
to
41d9344
Compare
/rerun-all |
Description of your changes:
Bumps requests-toolbelt from 0.9.1 to 1.0.0 (see #10470)
Checklist: