[DRE-maint] Bug#1095883: ruby-has-scope: autopkgtest failure with rails 7: NoMethodError: undefined method `silence' for class ActiveSupport::Deprecation
Antonio Terceiro
terceiro at debian.org
Thu Feb 13 10:17:54 GMT 2025
Source: ruby-has-scope
Version: 0.8.0-1
Severity: serious
Justification: autopkgtest failure
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: rails7
Hi,
We are about to upload rails 7 to unstable, as we are targetting to have rails
7 being released with Trixie.
After the last upload of rails 7 to experimental, we noticed that ruby-has-scope
fails its autopkgtests when run against that version of rails.
To reproduce this failure locally, you can run autopkgtest with the following
options:
--add-apt-release=experimental --pin-packages=experimental=src:rails
(or wait until rails 7 is uploaded to unstable)
Relevant part (hopefully):
> HasScopeTest#test_scope_is_skipped_when_unless_option_is_true = 0.00 s = E
> HasScopeTest#test_overwritten_scope = 0.00 s = .
> HasScopeTest#test_scope_of_type_array = 0.00 s = E
> HasScopeTest#test_scope_is_skipped_when_if_option_is_false = 0.00 s = E
> HasScopeTest#test_boolean_scope_with_allow_blank_is_called_when_boolean_param_is_true = 0.00 s = E
> HasScopeTest#test_nested_blank_array_param_is_ignored = 0.01 s = E
> HasScopeTest#test_scope_is_called_only_on_index = 0.01 s = E
> HasScopeTest#test_boolean_scope_with_allow_blank_is_called_when_boolean_param_is_false = 0.00 s = E
> HasScopeTest#test_hash_with_blank_values_is_ignored = 0.00 s = E
> HasScopeTest#test_nested_hash_with_blank_values_is_ignored = 0.00 s = E
> HasScopeTest#test_scope_is_called_except_on_index = 0.00 s = E
> HasScopeTest#test_boolean_scope_is_not_called_when_boolean_param_is_false = 0.00 s = E
> HasScopeTest#test_boolean_scope_is_called_when_boolean_param_is_true = 0.00 s = E
> HasScopeTest#test_default_scope_value_can_be_overwritten = 0.00 s = E
> HasScopeTest#test_scope_with_proc_if_and_unless_options = 0.00 s = E
> HasScopeTest#test_scope_of_type_hash_with_using = 0.00 s = E
> HasScopeTest#test_scope_of_type_hash = 0.00 s = E
> HasScopeTest#test_multiple_scopes_are_called = 0.00 s = E
> HasScopeTest#test_hash_with_blank_values_and_allow_blank_is_called = 0.00 s = E
> HasScopeTest#test_scope_with_default_value_as_a_proc_without_argument = 0.00 s = E
> HasScopeTest#test_array_of_blank_values_is_ignored = 0.00 s = E
> HasScopeTest#test_scope_is_called_when_blank_if_allow_blank_is_given = 0.00 s = E
> HasScopeTest#test_scope_with_boolean_block = 0.00 s = E
> HasScopeTest#test_scope_of_invalid_type_silently_fails = 0.00 s = E
> HasScopeTest#test_scope_is_not_called_if_blank = 0.00 s = E
>
> Finished in 0.206774s, 174.1032 runs/s, 14.5086 assertions/s.
>
> 1) Error:
> HasScopeTest#test_scope_with_different_key:
> NoMethodError: undefined method `silence' for class ActiveSupport::Deprecation
> test/has_scope_test.rb:60:in `apply_scopes'
> test/has_scope_test.rb:48:in `show'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/abstract_controller/base.rb:226:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/rendering.rb:193:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/abstract_controller/callbacks.rb:261:in `block in process_action'
> /usr/share/rubygems-integration/all/gems/activesupport-7.2.2.1/lib/active_support/callbacks.rb:101:in `run_callbacks'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/abstract_controller/callbacks.rb:260:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/rescue.rb:27:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/instrumentation.rb:77:in `block in process_action'
> /usr/share/rubygems-integration/all/gems/activesupport-7.2.2.1/lib/active_support/notifications.rb:212:in `instrument'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/instrumentation.rb:76:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/abstract_controller/base.rb:163:in `process'
> /usr/share/rubygems-integration/all/gems/actionview-7.2.2.1/lib/action_view/rendering.rb:40:in `process'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal.rb:252:in `dispatch'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/test_case.rb:629:in `block in process_controller_response'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/test_case.rb:621:in `wrap_execution'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/test_case.rb:629:in `process_controller_response'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/test_case.rb:539:in `process'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/test_case.rb:430:in `get'
> test/has_scope_test.rb:407:in `test_scope_with_different_key'
>
> 2) Error:
> HasScopeTest#test_scope_with_default_value_as_proc_with_argument:
> NoMethodError: undefined method `silence' for class ActiveSupport::Deprecation
> test/has_scope_test.rb:60:in `apply_scopes'
> test/has_scope_test.rb:44:in `new'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
> /usr/share/rubygems-integration/all/gems/actionpack-7.2.2.1/lib/abstract_controller/base.rb:226:in `process_action'
The full autopkgtest logs are available and linked from
https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
and after rails 7 gets into unstable, at
https://qa.debian.org/excuses.php?package=rails
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250213/47f84ba8/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list