Skip to content
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

Upgrade Faraday #19760

Closed
20 of 21 tasks
d-m-u opened this issue Jan 24, 2020 · 10 comments
Closed
20 of 21 tasks

Upgrade Faraday #19760

d-m-u opened this issue Jan 24, 2020 · 10 comments
Assignees
Milestone

Comments

@d-m-u
Copy link
Contributor

d-m-u commented Jan 24, 2020

From #19678, this is a list of gems that we need to deal with in order to upgrade the faraday gem:

not relevant for ManageIQ

done

done and cut:

update, March 5th:

  • ms_rest_azure (https://rubygems.org/gems/ms_rest_azure)
  • ms_rest yayaya
    so also done now:
  • azure_mgmt_compute
  • azure_mgmt_network (has ms_rest_azure dependency)
  • azure_mgmt_monitor (has ms_rest_azure dependency)
  • azure_mgmt_resources (has ms_rest_azure dependency)

update, March 6th:

@jrafanie

@jrafanie
Copy link
Member

For future reference, this was opened because Drew found that #19678 had many ruby 2.7 deprecation warnings for faraday. We should probably coordinate with @agrare and @kbrock as many of the dependencies of faraday are providers and we might want to do this upgrade along with rails 5.2/6.0.

@jrafanie jrafanie self-assigned this Jan 27, 2020
@agrare
Copy link
Member

agrare commented Jan 27, 2020

So some of these are going to be a problem because we don't own them the provider vendors do (okay so some of them turned into most of them):

  • azure_mgmt_compute
  • ms_rest_azure
  • google-api-client
  • ms_rest
  • xclarity_client
  • azure_mgmt_network
  • azure_mgmt_monitor
  • prometheus-alert-buffer-client
  • googleauth
  • azure_mgmt_resources
  • prometheus-api-client

We can certainly see if some of these gems have newer versions that have a newer faraday but if not we'll have to try to get a PR merged upstream for each of these

@d-m-u
Copy link
Contributor Author

d-m-u commented Feb 5, 2020

The only one I'm concerned about at this point is vcr, because of vcr/vcr#788. Since the same as with Rack, the order of middleware on a Faraday stack matters, I dunno exactly what to do about the changes to the order in 1.0.0. Their build's failing cause of this issue currently.
just kidding, LJ fixed it

@d-m-u
Copy link
Contributor Author

d-m-u commented Mar 14, 2020

So I'm pretty sure we can't do this upgrade now at all because of the vcr license change (in v5.1.0). We probably need to lock vcr to 5.0.0 and keep faraday on 0.11.0, unless someone thinks it's a good idea for us to maintain our own version of vcr. I need someone in a higher pay grade to make that kind of call, as in, possibly the person who's assigned to this issue. fine, i lied 😆

@kbrock
Copy link
Member

kbrock commented Mar 19, 2020

I plead Switzerland. LGTM

@d-m-u
Copy link
Contributor Author

d-m-u commented May 14, 2020

still waiting on vcr and lenovo/xclarity_client#154

@d-m-u
Copy link
Contributor Author

d-m-u commented Jul 18, 2020

Still waiting on xclarity.

@agrare
Copy link
Member

agrare commented Jul 20, 2020

@d-m-u all you had to do was ask 😆 https://rubygems.org/gems/xclarity_client/versions/0.6.8

@d-m-u
Copy link
Contributor Author

d-m-u commented Jul 20, 2020

thanks @agrare

@Fryguy
Copy link
Member

Fryguy commented Oct 22, 2020

I'm marking this one done, since the bot is technically unrelated to the core code base. Great work @d-m-u !

@Fryguy Fryguy closed this as completed Oct 22, 2020
@Fryguy Fryguy added this to the Kasparov milestone Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants