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

Incompatible with Rails 7.1.0 #64

Closed
TBenedyk opened this issue Oct 13, 2023 · 2 comments
Closed

Incompatible with Rails 7.1.0 #64

TBenedyk opened this issue Oct 13, 2023 · 2 comments

Comments

@TBenedyk
Copy link

I'm getting this error when trying to upgrade rails from 7.0.8 to 7.1.0.

➜  my_app git:(main) ✗ bundle update rails
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Could not find compatible versions

Because activejob-uniqueness >= 0.1.3, < 0.2.3 depends on activejob >= 4.2, < 7
  and activejob-uniqueness >= 0.2.3 depends on activejob >= 4.2, < 7.1,
  activejob-uniqueness >= 0.1.3 requires activejob >= 4.2, < 7.1.
Because rails >= 7.1.1 depends on activejob = 7.1.1
  and rails >= 7.1.0, < 7.1.1 depends on activejob = 7.1.0,
  rails >= 7.1.0 requires activejob = 7.1.0 OR = 7.1.1.
Thus, activejob-uniqueness >= 0.1.3 is incompatible with rails >= 7.1.0.
So, because Gemfile depends on rails ~> 7.1.0
  and Gemfile depends on activejob-uniqueness ~> 0.2,
  version solving has failed.
➜  shopify_app git:(main) ✗

It seems like this gem restricts itself to activejob versions < 7.1 here

spec.add_dependency 'activejob', '>= 4.2', '< 7.1'

Is there a reason for this or would a simple fix to remove this restriction be OK? I haven't ran the specs without it to be sure.

@laurafeier
Copy link
Contributor

I opened #66 #65 to get this moving.

@sharshenov
Copy link
Member

Resolved by #66

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

No branches or pull requests

3 participants