-
Notifications
You must be signed in to change notification settings - Fork 167
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
Update HTTP gem requirement to allow version 5 #571
Conversation
@cben Is there anything we can do to help get this merged? |
I'd also be interested to know if there's anything that can be done to get this one released. |
Oh sorry, i totally dropped the ball on this. I have family plans today but hope to get it by Sunday. |
Resolved trivial (change in adjacent line) merge conflict. Going over the breaking changes in http's changelog...
|
|
CompatibilityWell, there is one mild change, but it's to undocumented functionality ✔️ Kubeclient::Client instances have a But if a user does put some extra headers there (EDIT: this "functionality" only matters to non-RFC-compliant servers, probably irrelevant to k8s servers) => Since it's undocumented, I'm fine with this don't consider it a breaking change. [Users: Don't take this as justification to mutate undocumented .headers. If you need it, open an issue to publicly expose the functionality.] |
(Oh I forgot to mention long-term we want to get off http gem entirely #488, blocked on question about |
Hmm, the ruby 2.5 sporadic hanging in A recipe you can leave running until it hangs: while timeout --verbose 3m env TESTOPTS="--verbose" bundle exec rake test; do
ruby -e 'puts "-"*200'
done but that doesn't show traceback of where it was hanging. |
You're right => dropped 2.5 & 2.6 in #583. I also didn't notice that specific test is for It's just that my chronic deficit of time for kubeclient pushes me rely more on CI, and any silly thing like this is a distraction that ends up postponing progress :-( Over these days I also saw various failures of this test on newer rubies, including without this PR. Opened #584 for that. |
Thanks for following up on this. Much appreciated 🙏 |
@cben thank you for getting this merged in! 🎉 Do you plan to bump the version ? |
I wanted to use kubeclient in a project and noticed it required me to downgrade the version of the http gem to version 4. Version 5.0.0 of the http gem was released more than a year ago. Their changelog notes some breaking changes, but none of them seem to impact the usage in kubeclient.
This pull request also updates the rake development dependency to version 13. It looks like version 13 was released almost three years ago. Updating it was the easiest way to use version 5 of the http gem in kubeclient since it is dependent on the llhttp-ffi gem, which apparently is dependent on rake 13. I very much doubt that llhttp-ffi actually needs rake at runtime, but it is what it is. And actually updating rake here does make sense after three years.