foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Fixes #35431 - Update spring to 4.x

Open ekohl opened this issue 3 years ago • 3 comments

Currently version 2 is used, but version 3 brings Ruby 3 support. Version 4 is the latest. The only backwards incompatible changes they mention are requiring Ruby >= 2.7 and Rails >= 6.0, which is not a problem for Foreman.

Version 3 enforces that cache_classes is turned off, in particular for test environments.

ekohl avatar Aug 25 '22 10:08 ekohl

Issues: #35431

theforeman-bot avatar Aug 25 '22 10:08 theforeman-bot

I think this relies on fixing these:

[2022-08-25T10:39:01.172Z] ActiveSupport::DeprecationException: DEPRECATION WARNING: Initialization autoloaded the constants Net::Validations, SettingRegistry, HiddenValue, SettingPresenter, Foreman::Deprecation, SettingSelectCollection, MediumProviders, MediumProviders::Provider, MediumProviders::Default, and Foreman::TelemetryHelper.

That is also needed for Zeitwerk, but marking as draft for now.

ekohl avatar Aug 25 '22 11:08 ekohl

I at least opened https://github.com/theforeman/foreman/pull/9418 to see if version 3 works.

ekohl avatar Sep 09 '22 10:09 ekohl