Ruby 3 has removed sorted_set from the core and exposes it as an external gem. In puppet, we use it to store the versions of a package. This can be safely replaced by an Array.
https://github.com/puppetlabs/puppet/pull/8613
Merged to main in https://github.com/puppetlabs/puppet/commit/ddbe9172ed1ad2eb6614117faf2f2ac1e5295585
Passed CI in 1a13e0cf96