For some reason, this is triggered by ruby-csv. On a pure trixie system
as of today, all tests pass. If I upgrade ruby-csv to the version in
unstable, then that one test fails:

----------------8<----------------8<----------------8<-----------------
$ rspec 
........................................................................................................................[DEPRECATION]
 `Cell.new` is deprecated.  Please use `Cell.create_cell` instead.
............................................................................................................................F

Failures:

  1) Roo::Helpers::WeakInstanceCache#inspect must not raise after GC
     Failure/Error: expect(subject.instance_variables).to_not 
include(:@memoized_data)
     
       expected [:@memoized_data] not to include :@memoized_data
       Diff:
         <The diff is empty, are your objects producing identical `#inspect` 
output?>
     # ./spec/lib/roo/weak_instance_cache_spec.rb:74:in `block (3 levels) in 
<top (required)>'

Finished in 2.98 seconds (files took 0.52211 seconds to load)
245 examples, 1 failure

Failed examples:

rspec ./spec/lib/roo/weak_instance_cache_spec.rb:71 # 
Roo::Helpers::WeakInstanceCache#inspect must not raise after GC

Coverage report generated for RSpec to /source/ruby-roo/coverage. 1446 / 1903 
LOC (75.99%) covered.
Stopped processing SimpleCov as a previous error not related to SimpleCov has 
been detected
----------------8<----------------8<----------------8<-----------------

However, if I run only that test, or only the file in which it is
contained, it doesn't fail:

----------------8<----------------8<----------------8<-----------------
$ rspec ./spec/lib/roo/weak_instance_cache_spec.rb:71
Run options: include 
{:locations=>{"./spec/lib/roo/weak_instance_cache_spec.rb"=>[71]}}
.

Finished in 0.1335 seconds (files took 0.46663 seconds to load)
1 example, 0 failures

Coverage report generated for RSpec to /source/ruby-roo/coverage. 597 / 1901 
LOC (31.4%) covered.
$ rspec ./spec/lib/roo/weak_instance_cache_spec.rb
.......

Finished in 0.52508 seconds (files took 0.45988 seconds to load)
7 examples, 0 failures

Coverage report generated for RSpec to /source/ruby-roo/coverage. 598 / 1901 
LOC (31.46%) covered.
----------------8<----------------8<----------------8<-----------------

Given this means the test is somehow broken, and this is blocking
ruby-csv and ruby3.3 from migrating, I think we could just make an
upload skipping the test for now.

Attachment: signature.asc
Description: PGP signature

Reply via email to