(MODULES-11126) Replacing URI.escape with URI::DEFAULT_PARSER#1195
(MODULES-11126) Replacing URI.escape with URI::DEFAULT_PARSER#1195david22swan merged 1 commit intopuppetlabs:mainfrom
Conversation
uriescape is a functionBreaking changes to this file MAY impact these 4 modules (near match):This module is declared in 319 of 577 indexed public
|
|
There is also an open issue for this https://tickets.puppetlabs.com/browse/MODULES-11126, so can also link that. |
|
@valleedelisle thanks for the PR, are you able to look at the failing spec tests, thanks |
URI.escape was deprecated in ruby-2.7 and removed in ruby-3.x. This change is breaking stdlib. Replacing URI.escape with URI::DEFAULT_PARSER is working properly.
I believe I've fixed it based on my local test, I apologize for the lost cycles. |
|
To me, the CI failure we see in the check is not related to this patch: |
|
Any other feedback? Thanks, DVD |
|
@valleedelisle sorry been on vacation for the last three weeks, i agree i don't think this is related. i have kicked of the ci again hoping it was a transient issue will recheck this tomorrow |
|
@david22swan i think this is related to cento6 EOL i.e. unrelated to the PR. i can't override can you? or should we just drop cento6 and rebase |
uriescape is a functionthat may have no external impact to Forge modules. This module is declared in 318 of 578 indexed public
|
|
Hi @b4ldr @valleedelisle, closed and re-opened the PR to re-trigger the tests. The cla might need to be signed to be able to merge this, but overall it looks good. Thanks for the contribution. |
This reverts commit 799d608. While uriescape was deprecated for Puppet 8 in puppetlabs#1307 it was already fixed earlier for Puppet 8 and ruby 3 in puppetlabs#1195 It is unclear to me why this function was deprecated. * Fixes puppetlabs#1401
URI.escape was deprecated in ruby-2.7 and removed in ruby-3.x. This
change is breaking stdlib. This is described in detail here [1].
Replacing URI.escape with URI::DEFAULT_PARSER is working properly.
This is affecting openstack-tripleo [2]
[1] https://bugs.ruby-lang.org/issues/17309
[2] https://bugs.launchpad.net/tripleo/+bug/1937166