Skip to content

Revert ostruct tests/specs due to reverted gem#6835

Merged
headius merged 3 commits intojruby:masterfrom
headius:ostruct_mess
Sep 16, 2021
Merged

Revert ostruct tests/specs due to reverted gem#6835
headius merged 3 commits intojruby:masterfrom
headius:ostruct_mess

Conversation

@headius
Copy link
Member

@headius headius commented Sep 15, 2021

See ruby/ostruct#30 for the ostruct issue that caused us to revert to an earlier gem. This PR reverts the test and tags the specs that do not pass on the older version of ostruct.

See also #6831.

Because of ruby/ostruct#30 we were
forced to revert to an older ostruct gem (which matches Ruby
2.6.8) and these specs began to fail.

Tagging these failures for now in advance of a fix for the ostruct
issue or some workaround in JRuby.
@headius headius added this to the JRuby 9.3.0.0 milestone Sep 15, 2021
@headius
Copy link
Member Author

headius commented Sep 15, 2021

Ok, there's yet another out of sync gem here. The failing test is due to CRuby shipping a custom ostruct that does not match the 0.1.0 release they say it is.

ruby/ostruct#31

The released 0.1.0 gem, which is what 2.6.8 claims to ship, does
not have the changes in this test. This is due to CRuby having
made custom changes to their local copy of ostruct in the CRuby
repository, and not releasing that custom version.

See https://bugs.ruby-lang.org/issues/18169

We will exclude this test for now.
@headius headius merged commit e2b3533 into jruby:master Sep 16, 2021
@headius headius deleted the ostruct_mess branch September 16, 2021 04:03
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.

1 participant