Shopify / shopify-api-ruby

ShopifyAPI is a lightweight gem for accessing the Shopify admin REST and GraphQL web services.
MIT License
1.05k stars 468 forks source link

V14 conflict with shopify_app gem #1284

Closed Alagaesia93 closed 6 months ago

Alagaesia93 commented 6 months ago

Issue summary

gem "shopify_api", "~> 14.0"
gem "shopify_app", "~> 21.6"

bundle install

Could not find compatible versions

Because shopify_app >= 21.6.0, < 21.7.0 depends on shopify_api ~> 13.1
  and shopify_app >= 21.7.0, < 21.8.0 depends on shopify_api ~> 13.2,
  shopify_app >= 21.6.0, < 21.8.0 requires shopify_api >= 13.1, < 14.A.
And because shopify_app >= 21.8.0, < 21.9.0 depends on shopify_api ~> 13.3
  and shopify_app >= 21.9.0 depends on shopify_api ~> 13.4,
  shopify_app >= 21.6.0 requires shopify_api >= 13.1, < 14.A.
So, because Gemfile depends on shopify_api ~> 14.0
  and Gemfile depends on shopify_app ~> 21.6,
  version solving has failed.

Expected behavior

bundle install to work

Actual behavior

bundle install fails

Steps to reproduce the problem

Install shopify app and shopify api gems in a Rails proj and bundle install

paulomarg commented 6 months ago

The issue was fixed by https://github.com/Shopify/shopify_app/pull/1801, thanks for reporting it!