-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add cross-support for Faraday 1.x.x and 2.x.x #1388
Comments
I'm not sure if this is related, but when I run this code
I get this warning
I'm aware of this Faraday Middleware Guide but I'm not sure how this relates to Is there a way of suppressing the warning with Octokit at the moment? |
@klueless-io It's what #1359 addresses. The fix is not published yet, but you could use the github version of the gem. gem 'octokit', github: 'octokit/octokit.rb', tag: '4-stable' Edit: I noticed a new version (4.22.0) was published today, so above not required now. |
Cross referencing other issues showing that such support would be widely appreciated: |
Octokit 4.22.0 not compatible with legacy faraday versions. see octokit/octokit.rb#1391 see octokit/octokit.rb#1392 see octokit/octokit.rb#1388 fix gatemedia/gmp-os#218
Thanks for doing this work. Note that for octokit to be installed with Faraday 2.x.x, we'll need to bump |
This is now supported from v4.23.0 and on. I'm closing this issue but if you feel that the latest releases have not solved this please feel free to repoen this and we'll have a look. |
Octokit 4.22.0 not compatible with legacy faraday versions. see octokit/octokit.rb#1391 see octokit/octokit.rb#1392 see octokit/octokit.rb#1388 fix gatemedia/gmp-os#218
With the merge of: #1359 to silenece deprecation warnings, and based on the comment here: #1359 (comment), we will need to modify the code to cross-support Faraday 1.x.x and 2.x.x when octokit pulls in the latest version of Faraday. Opening this issue now to track the work necessary when the times comes.
The text was updated successfully, but these errors were encountered: