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

Gem limit for v1 dependencies causes aws-sdk to fail to install #2765

Closed
neilsimon opened this issue Aug 23, 2021 · 3 comments
Closed

Gem limit for v1 dependencies causes aws-sdk to fail to install #2765

neilsimon opened this issue Aug 23, 2021 · 3 comments
Labels

Comments

@neilsimon
Copy link
Contributor

Installing the aws-sdk via gem install fails after receiving a 422 Unprocessable Entity response from rubygems.org

Steps to Reproduce

See aws/aws-sdk-ruby#2574

  1. # gem install -V aws-sdk --source=https://www.rubygems.org

Expected Behavior

Installation of the appropriate gem

Current Behavior

Takes an extremely long time and does not seem to complete.

Possible Solution

See:
#2470
Increase the limit again to address the fact that aws-sdk-resources added new dependencies.

Environment

Ubuntu 18.04
ruby 2.5.1p57

@neilsimon neilsimon added the bug label Aug 23, 2021
@simi
Copy link
Member

simi commented Aug 23, 2021

https://rubygems.org/gems/aws-sdk-resources -> 277 deps. Is it anyhow useful to use this gem directly instead of picking only needed deps?

Anyway I think we can again increase limit similar to ab83ba9 to 300 now.

@neilsimon
Copy link
Contributor Author

Thanks, that increase should help for now.

The Chef aws cookbook (https://supermarket.chef.io/cookbooks/aws/versions/8.4.0) is dependent on the aws-sdk gem. The ideal solution would be for the cookbook to follow the approach you describe, only loading the gems it needs, as needed. I have entered an issue for the cookbook (sous-chefs/aws#441), but such is a significant change, and in the interim it is impossible to use this cookbook.

neilsimon added a commit to neilsimon/rubygems.org that referenced this issue Aug 24, 2021
sonalkr132 added a commit that referenced this issue Aug 24, 2021
Increase request limit in line with #2765
@sonalkr132
Copy link
Member

#2767 was deployed. Let us know if the issue still exists. Thank you for reporting this and the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants