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

Fixes #35463 - Allow newer rdoc on Ruby 3.1 #10140

Merged
merged 1 commit into from
May 2, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Apr 25, 2024

Ruby 3.1 ships rdoc 6.1 by default.

Ruby 3.1 ships rdoc 6.1 by default.
@ekohl ekohl requested a review from a team as a code owner April 25, 2024 10:16
@ekohl ekohl mentioned this pull request Apr 25, 2024
@ekohl
Copy link
Member Author

ekohl commented Apr 26, 2024

Why did Katello run for almost 6 hours?

@evgeni should we add a stricter time limit?

@evgeni
Copy link
Member

evgeni commented Apr 26, 2024

That's probably a good idea. No test should run more than an hour?

@@ -14,7 +14,7 @@ gem 'apipie-rails', '>= 0.8.0', '< 2'
gem 'apipie-dsl', '>= 2.6.2'
# Pin rdoc to prevent updating bundled psych (https://github.com/ruby/rdoc/commit/ebe185c8775b2afe844eb3da6fa78adaa79e29a4)
# Rails 6.0 is incompatible with Psych 4, Rails 6.1 should work
gem 'rdoc', '< 6.4'
gem 'rdoc', RUBY_VERSION < '3.1' ? '< 6.4' : nil
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the comment above, shouldn't we just drop that rdoc pin?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, nvm, we need rdoc in the Gemfile, just with no pins.

@ekohl ekohl merged commit fe77720 into theforeman:develop May 2, 2024
53 checks passed
@ekohl ekohl deleted the 35463-allow-newer-rdoc-on-ruby-31 branch May 2, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants