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

Make spec compatible with concurrent-ruby v1.1.x #607

Closed

Conversation

dirk
Copy link
Contributor

@dirk dirk commented Nov 7, 2018

In v1.0.x requiring 'concurrent/future' would pull in all the bells and whistles necessary to execute futures. In newer versions of the gem requiring that gets you only the Future class.

Instead one either needs to set up the default executors ourselves, manually require and specify the executor we want, or just require concurrent to get everything all loaded and set up the way the gem authors intended. This commit takes the third option.

In v1.0.x requiring 'concurrent/future' would pull in all the bells
and whistles necessary to execute futures. In newer versions of the
gem requiring that gets you *only* the `Future` class.

Instead we either need to set up the default executors ourselves,
manually require and specify the executor we want, or just require
`concurrent` to get everything all loaded and set up the way the
gem authors intended. This commit takes the third option.
@dirk dirk mentioned this pull request Nov 7, 2018
@delner
Copy link
Contributor

delner commented Nov 7, 2018

Thanks for the quick investigation on this! I arrived at the same conclusion as well and reported it to the gem authors on this issue. Sounds like 1.1.3 is out which resolves this issue.

I think it'd be best to close this in favor of 1.1.3. We'd want to avoid loading all of concurrent-ruby anyways, and the new version seems to fix the build.

@delner delner closed this Nov 7, 2018
@delner delner added the community Was opened by a community member label Nov 7, 2018
@delner delner added this to Won't Merge in Active work Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Was opened by a community member
Projects
Active work
  
Won't Merge
Development

Successfully merging this pull request may close these issues.

None yet

2 participants