Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-57603] Import Ruby 3.3.5 #3682

Merged
merged 87 commits into from
Nov 12, 2024
Merged

[GR-57603] Import Ruby 3.3.5 #3682

merged 87 commits into from
Nov 12, 2024

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    fd9cf78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fd8dc74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d6b1d27 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54f7bb8 View commit details
    Browse the repository at this point in the history
  5. Update json to 2.7.1

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    93cb7da View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3e6127a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cf9883d View commit details
    Browse the repository at this point in the history
  8. Update exe/ executables

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    0c973d0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    adaf231 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    764711c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    903832a View commit details
    Browse the repository at this point in the history
  12. Update versions.json

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    d8d6dc6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c0e477d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7aca869 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    71a98c8 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a286f8f View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    52589d5 View commit details
    Browse the repository at this point in the history
  18. Update tool/parse_mri_errors.rb script and raise more proper error me…

    …ssage when a line with Ruby version is missing
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7cda9fc View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    e78c2e9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ca98468 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    c17e87e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    cf9eaa0 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    121268a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6321e9d View commit details
    Browse the repository at this point in the history
  25. Regenerate core symbols

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9b00c5a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    540a083 View commit details
    Browse the repository at this point in the history
  27. Tag failing specs

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    9081ecb View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    08d65b4 View commit details
    Browse the repository at this point in the history
  29. Fix building native extensions and implement new errno-related functions

    The issue with `jt test cexts grpc`:
    ```
    dyld: lazy symbol binding failed: Symbol not found: _rb_errno_ptr
    ```
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    63dff60 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    b9da7f7 View commit details
    Browse the repository at this point in the history
  31. Tag slow specs

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    de77d57 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    dbbed46 View commit details
    Browse the repository at this point in the history
  33. Update spec/truffle/rubygems/default_gems_activation_spec.rb and remo…

    …ve testing readline-ext gem
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a242363 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    f67df84 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f4877b9 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    e67f50d View commit details
    Browse the repository at this point in the history
  37. Mark the racc C extension as built so the gem is properly activated

    * Actually we do not build the C extension because the pure-Ruby fallback is enough.
    eregon authored and andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    c76e115 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    86bffb2 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    11a69a3 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ed23d5f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    bc0c2bc View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    0ce85a6 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    2e8c617 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    f6d1c71 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    3eeae3d View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    e43c8aa View commit details
    Browse the repository at this point in the history
  47. Implement Process.warmup

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8f46185 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    ad3e69e View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    7d5107c View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    b2b3efa View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    5386348 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    bc71f4e View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    5638857 View commit details
    Browse the repository at this point in the history
  54. Fix jt.rb and retagging MRI test files with classes not directly inhe…

    …rited from TestCase class
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    745ea54 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    b759925 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    e91167c View commit details
    Browse the repository at this point in the history
  57. Fix tool/parse_mri_errors.rb to handle test cases method names with n…

    …on alphanumeric characters
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    3e74cad View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    386f803 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    29992d4 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    07c6494 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    ed3195e View commit details
    Browse the repository at this point in the history
  62. Remove generating platform-dependent 'if RUBY_PLATFORM.include?' guar…

    …d in exclude files
    
    We've encountered an issue with adding this guard when a test name contains platform (e.g. 'linux' or 'darwin'). If such a test fails then it's excluded on the detected platform but is still run on the other one. So may not be skipped/omitted explicitly and fail. Example of such test - TestThread#test_thread_native_thread_id_across_fork_on_linux.
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    739bbe0 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    cb69d3f View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    1f4d6cd View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    1b660dc View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    d84f8f4 View commit details
    Browse the repository at this point in the history
  67. Fix tool/parse_mri_errors.rb with error messages containing new lines

    Example of error message that leads to a Ruby exception:
    
    ```
      1) Failure:
    TestIRB::IrbIOConfigurationTest::AutoIndentationTest#test_oneliner_def_in_multiple_lines [/Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/irb/test_irb.rb:540]:
      Incorrect spaces calculation for line after the current line:
    
      ```
      def a()=[
    >
      ```
    
      All lines:
    
      ```
      def a()=[
      ```
    .
    <2> expected but was
    <4>.
    ```
    
    Leads to the following error:
    
    ```
    tool/parse_mri_errors.rb:446:in `block in process_test_failures!': no implicit conversion of nil into String (TypeError)
    
          error_display << ' ' << error_lines[index]
                                  ^^^^^^^^^^^^^^^^^^
    	from tool/parse_mri_errors.rb:392:in `scan'
    	from tool/parse_mri_errors.rb:392:in `process_test_failures!'
    	from tool/parse_mri_errors.rb:492:in `<main>'
    ```
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e61d358 View commit details
    Browse the repository at this point in the history
  68. Polish jt.rb a bit

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a448180 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    4e569f9 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    633b209 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    3ea6eaf View commit details
    Browse the repository at this point in the history
  72. Speedup jt retag by processing all test files together (opt-in)

    * jt retag rdoc:
      6514.80s user 248.44s system 465% cpu 24:12.06 total
    * jt retag --together rdoc:
       530.03s user   6.03s system 143% cpu  6:12.29 total
    * opt-in because in case of process crash, using --together means
      rerunning all tests from the beginning for each process crash.
    * Only show "Retaining:" if keeping any tag.
    eregon authored and andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    8388d31 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    2ef7f4b View commit details
    Browse the repository at this point in the history
  74. Fix some MRI tests

    Fix trivial issues in the following MRI tests:
    - TestGemSpecification#test_self_stubs_for_lazy_loading
    - TestIRB::CompletionTest::RequireComepletionTest#test_complete_require_relative
    - TestIRB::LocaleTestCase#test_find
    - TestMkmfInstall#test_install_dirs
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    7041167 View commit details
    Browse the repository at this point in the history
  75. Retag MRI tests

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    629d52a View commit details
    Browse the repository at this point in the history
  76. Increase timeouts for

    ruby-test-specs-darwin-amd64-latest and ruby-test-specs-darwin-amd64-stable CI jobs
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    96e6356 View commit details
    Browse the repository at this point in the history
  77. Tag failed specs

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e557dbd View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    f949966 View commit details
    Browse the repository at this point in the history
  79. Update CHANGELOG.md

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    202cd20 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    4c4fb81 View commit details
    Browse the repository at this point in the history
  81. Optimise performance of patched URI::Generic#check_host and use Regex…

    …p#match? instead of Regexp#match
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    b9bfdf7 View commit details
    Browse the repository at this point in the history
  82. Remove not needed patch in src/main/c/cext/st.c

    This is already skipped with #ifndef TRUFFLERUBY
    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    38db14c View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    a871479 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    f7f3f77 View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    5a3e4fe View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    3591ea1 View commit details
    Browse the repository at this point in the history
  87. Bump ABI check

    andrykonchin committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    4f0edf9 View commit details
    Browse the repository at this point in the history