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

Fix ci #3064

Merged
merged 2 commits into from
Jan 25, 2024
Merged

Fix ci #3064

merged 2 commits into from
Jan 25, 2024

Conversation

Failure/Error: require 'drb/drb'

LoadError:
  cannot load such file -- drb/drb
# ./lib/rspec/core/drb.rb:1:in `require'
# ./lib/rspec/core/drb.rb:1:in `<top (required)>'
# ./spec/rspec/core/invocations_spec.rb:1:in `require'
# ./spec/rspec/core/invocations_spec.rb:1:in `<top (required)>'
@pirj pirj self-assigned this Jan 25, 2024
@pirj pirj marked this pull request as ready for review January 25, 2024 21:56
@pirj pirj merged commit 3bde989 into main Jan 25, 2024
29 of 30 checks passed
@pirj pirj deleted the fix-ci branch January 25, 2024 21:59
@@ -103,4 +103,6 @@ end

gem 'contracts', '< 0.16' if RUBY_VERSION < '1.9.0'

gem 'drb' if RUBY_VERSION >= '3.4'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is fixing [or attempting to] fix an extraction of drb on Ruby head it is not enough, we rely on drb and it will cause weird issues if its missing, so we need to actually detect the presence of drb [and test for it] issuing a warning etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. I’ll implement a warning separately.
We do rely on drb in bisect, don’t we? But we have a fallback?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the bisector but also there is a DRb mode that supported things like spork and other things, we will need to check for any usage and appropriately load it / issue a warning when it is not present

@@ -204,7 +204,7 @@ def foo
Failure/Error: __send__(method, file)
EOS

if RUBY_VERSION.to_f > 3.2
if RUBY_VERSION > '3.2.2'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix backported from 3.3 to 3.2.3? It was omitting that line on 3.2.2, but it’s there on 3.2.3

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the explanation

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

Successfully merging this pull request may close these issues.

None yet

2 participants