Skip to content

Release for katello 5.0#19

Merged
evgeni merged 3 commits into
theforeman:masterfrom
Odilhao:release-for-katello-5.0
May 26, 2026
Merged

Release for katello 5.0#19
evgeni merged 3 commits into
theforeman:masterfrom
Odilhao:release-for-katello-5.0

Conversation

@Odilhao
Copy link
Copy Markdown
Member

@Odilhao Odilhao commented May 25, 2026

No description provided.

@Odilhao Odilhao force-pushed the release-for-katello-5.0 branch from 69444f3 to 60d3af1 Compare May 25, 2026 17:55
Comment thread Gemfile Outdated
gem 'minitest', '5.18'
gem 'minitest-spec-context'
gem 'mocha'
gem 'mocha', '~> 2.1.0'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in the gemspec, mocha is already pinned to ~> 2.0, why is it required here again?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

probably not something we need to fix in this PR, but declaring things twice seems like a source of trouble

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

but we should pin to ~> 2.0 as I think ParameterMatchers::Base was only removed in 3.0, not 2.2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
gem 'mocha', '~> 2.1.0'
gem 'mocha', '~> 2.0'

let's see what CI thinks

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As expected, this passed with 2.8.2, what was Claude "thinking"?!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also unpinning it in hammer-cli-foreman: theforeman/hammer-cli-foreman#654

Odilhao and others added 2 commits May 26, 2026 12:27
Mocha 3.0+ removed ParameterMatchers::Base which is used by
hammer_cli_foreman, causing test failures across all Ruby versions.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Evgeni Golov <evgeni@golov.de>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@evgeni evgeni force-pushed the release-for-katello-5.0 branch from 87c9d9e to d4c4113 Compare May 26, 2026 10:28
@evgeni evgeni merged commit d7535a0 into theforeman:master May 26, 2026
11 checks passed
@Odilhao
Copy link
Copy Markdown
Member Author

Odilhao commented May 26, 2026

Thanks @evgeni

Do you have permission to cut the release?

@Odilhao
Copy link
Copy Markdown
Member Author

Odilhao commented May 26, 2026

NVM it's published

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