Dne 15. 12. 23 v 16:34 Vít Ondruch napsal(a):
Dne 15. 12. 23 v 14:13 Vít Ondruch napsal(a):Dne 15. 12. 23 v 13:56 Mamoru TASAKA napsal(a):Vít Ondruch wrote on 2023/12/14 23:10:Dear Rubyists,As it turns out, yesterday version was not a big success, as we learned the hard way (thx Mamoru). So here I am back with updated version, this time rev e3631277c3. The changes are in my PR and the build is here:https://koji.fedoraproject.org/koji/taskinfo?taskID=110328934 As always, please give it a try and let me know. Cheers, VítLooks like this is again in good shape, thank you.Thx.Although, playing around with rubygem-railties, I am now facing these warnings:~~~ * Test file: test/application/bin_setup_test.rb/usr/share/gems/gems/mail-2.8.1/lib/mail.rb:9: warning: net/smtp was loaded from the standard library, but is not part of the default gems since Ruby 3.1.0. Add net-smtp to your Gemfile or gemspec. Also contact author of mail-2.8.1 to add net-smtp into its gemspec.Run options: --seed 43340 # Running: .F Failure:ApplicationTests::BinSetupTest#test_bin_setup_output [test/application/bin_setup_test.rb:51]:--- expected +++ actual @@ -2,10 +2,13 @@ The Gemfile's dependencies are satisfied == Preparing database ==+/usr/share/gems/gems/mail-2.8.1/lib/mail.rb:9: warning: net/smtp was loaded from the standard library, but is not part of the default gems since Ruby 3.1.0. Add net-smtp to your Gemfile or gemspec. Also contact author of mail-2.8.1 to add net-smtp into its gemspec.Created database 'app_development' Created database 'app_test' == Removing old logs and tempfiles ==+/usr/share/gems/gems/mail-2.8.1/lib/mail.rb:9: warning: net/smtp was loaded from the standard library, but is not part of the default gems since Ruby 3.1.0. Add net-smtp to your Gemfile or gemspec. Also contact author of mail-2.8.1 to add net-smtp into its gemspec.== Restarting application server ==+/usr/share/gems/gems/mail-2.8.1/lib/mail.rb:9: warning: net/smtp was loaded from the standard library, but is not part of the default gems since Ruby 3.1.0. Add net-smtp to your Gemfile or gemspec. Also contact author of mail-2.8.1 to add net-smtp into its gemspec." rails test test/application/bin_setup_test.rb:30 Finished in 6.203737s, 0.3224 runs/s, 1.1284 assertions/s. 2 runs, 7 assertions, 1 failures, 0 errors, 0 skips ~~~Specifically due to this, I have build the rubygem-mail-2.8.1 but the warnings are still fired. Trying to get more recent Ruby 🤷♂️Ok, so the "mail" warning is resolved. But there are others now: ~~~ * Test file: test/application/bin_setup_test.rb/usr/share/gems/gems/minitest-5.20.0/lib/minitest.rb:3: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of minitest-5.20.0 to add mutex_m into its gemspec. /usr/share/gems/gems/activesupport-7.0.8/lib/active_support/testing/parallelization.rb:3: warning: drb was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add drb to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add drb into its gemspec. /usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_encryptor.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 into its gemspec. /usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_encryptor.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 into its gemspec. /usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its gemspec.Run options: --seed 17375 # Running: F Failure:ApplicationTests::BinSetupTest#test_bin_setup_output [test/application/bin_setup_test.rb:51]:--- expected +++ actual @@ -2,10 +2,19 @@ The Gemfile's dependencies are satisfied == Preparing database ==+/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_verifier.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/notifications/fanout.rb:3: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add mutex_m into its gemspec.Created database 'app_development' Created database 'app_test' == Removing old logs and tempfiles ==+/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_verifier.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/notifications/fanout.rb:3: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add mutex_m into its gemspec.== Restarting application server ==+/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/message_verifier.rb:4: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add base64 into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/core_ext/object/json.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add bigdecimal into its gemspec. +/usr/share/gems/gems/activesupport-7.0.8/lib/active_support/notifications/fanout.rb:3: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of activesupport-7.0.8 to add mutex_m into its gemspec." rails test test/application/bin_setup_test.rb:30 . Finished in 8.081659s, 0.2475 runs/s, 0.8662 assertions/s. 2 runs, 7 assertions, 1 failures, 0 errors, 0 skips ~~~It seems that Rails 7.1 already fixes these issues. There is also 7.0 patch committed, but unreleased:https://github.com/rails/rails/commit/81699b52d2acff1840e3ace5e59412f4fa3934abI think I'm rather going to apply the patch, because:
Cannot apply the patch ATM, because Ruby 3.2 does not have the corresponding provides (but could have). The PR is waiting here:
https://src.fedoraproject.org/rpms/rubygem-activesupport/pull-request/4 Vít
1) We don't know when Rails 7.0 update is going to be released 2) Even if the release is done in time, we would need to do the update.And specifically the AS is widely used, so who knows what else it might break.Vít
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue