Dne 15. 12. 23 v 17:03 Vít Ondruch napsal(a):

Dne 15. 12. 23 v 11:10 Vít Ondruch napsal(a):

Dne 26. 11. 23 v 15:13 Mamoru TASAKA napsal(a):

7. rubygem-railties
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6695576/
Testsuite is failing, but due to some different reason:

```
Failure:
FullStackConsoleTest#test_sandbox [test/application/console_test.rb:133]:
"> " expected, but got:

Loading development environment in sandbox (Rails 7.0.8)
Any modifications you make will be rolled back on exit
â–½.
Expected # encoding: ASCII-8BIT
#    valid: true
"Loading development environment in sandbox (Rails 7.0.8)\r\nAny modifications you make will be rolled back on exit\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ".

rails test test/application/console_test.rb:139

F

Failure:
FullStackConsoleTest#test_environment_option_and_irb_option [test/application/console_test.rb:133]:
"> " expected, but got:

Loading test environment (Rails 7.0.8)
Switch to inspect mode.
â–½.
Expected # encoding: ASCII-8BIT
#    valid: true
"Loading test environment (Rails 7.0.8)\r\nSwitch to inspect mode.\r\n\e[1G\xE2\x96\xBD\e[6n" to include "> ".
```



Isn't this related to the Aruba + Reline issue?

https://bugs.ruby-lang.org/issues/20052

https://github.com/ruby/reline/issues/616


Luckily, there seems to be fix:

https://github.com/rails/rails/pull/48369/commits/cf45394d104b00679c900e9d2dd09154cadcbe11

There is one remaining issue:


~~~

* Test file: test/version_test.rb
/usr/share/gems/gems/zeitwerk-2.6.6/lib/zeitwerk/kernel.rb:38: warning: drb/unix is found in drb, which 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 zeitwerk-2.6.6 to add drb into its gemspec.
Run options: --seed 46867

# Running:

..

Finished in 0.000818s, 2444.6226 runs/s, 3666.9340 assertions/s.
2 runs, 3 assertions, 0 failures, 0 errors, 0 skips

~~~


Yes, the warning. I am testing with modified rubygem-activesupport [1], which is adding the dependency :

~~~

$ rpm -qR rubygem-activesupport
(rubygem(concurrent-ruby) >= 1.0 with rubygem(concurrent-ruby) < 2 with rubygem(concurrent-ruby) >= 1.0.2)
(rubygem(i18n) >= 1.6 with rubygem(i18n) < 2)
(rubygem(tzinfo) >= 2.0 with rubygem(tzinfo) < 3)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
rpmlib(RichDependencies) <= 4.12.0-1
ruby(rubygems)
rubygem(base64)
rubygem(bigdecimal)
rubygem(bigdecimal)
rubygem(drb)
rubygem(json)
rubygem(minitest) >= 5.1
rubygem(mutex_m)
tzdata


$ cat /usr/share/gems/specifications/activesupport-7.0.8.gemspec | grep drb
  s.add_runtime_dependency(%q<drb>.freeze, [">= 0".freeze])

~~~


And that should be enough. But it is not. Strange ...


Vít



[1] https://src.fedoraproject.org/rpms/rubygem-activesupport/pull-request/4

Attachment: 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

Reply via email to