Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890965 - dev-ruby/rspec-core-3.11.0 fails tests (should test-depend on same version of rspec-expectations?)
Summary: dev-ruby/rspec-core-3.11.0 fails tests (should test-depend on same version of...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-01-15 18:25 UTC by Jonathan Lovelace
Modified: 2023-01-15 18:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ruby:rspec-core-3.11.0:20230115-175904.log (dev-ruby:rspec-core-3.11.0:20230115-175904.log,2.84 KB, text/x-log)
2023-01-15 18:25 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.57 KB, text/plain)
2023-01-15 18:25 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-01-15 18:25:04 UTC
Created attachment 848597 [details]
dev-ruby:rspec-core-3.11.0:20230115-175904.log

=dev-ruby/rspec-core-3.11.0 fails its test phase:

--------------------------------------------------------------------
An error occurred while loading spec_helper. - Did you mean?
                    rspec ./spec/spec_helper.rb

Failure/Error: require MODULES_TO_AUTOLOAD.fetch(name) { return super }

Gem::ConflictError:
  Unable to activate rspec-expectations-3.10.1, because rspec-support-3.11.1 conflicts with rspec-support (~> 3.10.0)
# ./spec/support/matchers.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:24:in `block in <top (required)>'
# ./spec/spec_helper.rb:17:in `map'
# ./spec/spec_helper.rb:17:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- rspec/expectations
#   ./spec/support/matchers.rb:1:in `<top (required)>'
No examples found.


Finished in 0.00005 seconds (files took 3.98 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
--------------------------------------------------------------------

Perhaps the rspec-expectations dep (and maybe others that it would have tried to load next) should be specified as >= ${SUBVERSION}, instead of 3.8.0?
Comment 1 Jonathan Lovelace 2023-01-15 18:25:39 UTC
Created attachment 848599 [details]
emerge-info.txt