Skip to content

Conversation

@eregon
Copy link
Contributor

@eregon eregon commented Dec 3, 2025

See individual commits for details.

FYI there is also postmodern/ruby-versions@e80b1c1

@eregon eregon force-pushed the update-truffleruby-urls-and-dependencies branch 2 times, most recently from 38a98a6 to 7b002c3 Compare December 3, 2025 10:35
Copy link
Owner

@postmodern postmodern left a comment

Choose a reason for hiding this comment

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

Looks good, but we should add additional tests to test/truffleruby-tests/dependencies_tests.sh for when the truffleruby version is 33.x or greater in order to test when the openssl and libyaml dependencies are omitted. We could do that in this PR or in a separate PR/commit. Depends on how fast you want this merged.

@eregon
Copy link
Contributor Author

eregon commented Dec 4, 2025

Thanks for the review. It's not urgent, I'll add them in this PR.

@eregon
Copy link
Contributor Author

eregon commented Dec 10, 2025

I noticed not all tests are run in CI:
https://github.com/postmodern/ruby-install/actions/runs/19890819627/job/57008938647?pr=517
doesn't run any dependencies_tests.sh for example.
The issue seems this glob:

for test in ${0%/*}/{,*-tests/}*_test.sh; do

* FWIW `echo {,**/}*_test{,s}.sh` does not work in Bash
  because it yields `*_tests.sh` which of course does not exist.
* `echo **/*_test{,s}.sh` is fine in ZSH but does not list all files in Bash.
@eregon eregon force-pushed the update-truffleruby-urls-and-dependencies branch from a34e1d4 to a7c4011 Compare December 10, 2025 11:11
@eregon eregon force-pushed the update-truffleruby-urls-and-dependencies branch from a7c4011 to 1d0ac4b Compare December 10, 2025 11:21
@eregon
Copy link
Contributor Author

eregon commented Dec 10, 2025

All good and passing now.
It was quite a bit of work to update all those tests, not sure I'm convinced of their value vs cost to maintain ratio, but anyway it's done.

Comment on lines +3 to +4
# Same as truffleruby dependencies
source "${BASH_SOURCE[0]%/*}/../truffleruby/dependencies.sh"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could also be a symlink, not sure what you prefer.

@eregon
Copy link
Contributor Author

eregon commented Dec 10, 2025

The ArchLinux and OpenSUSE failures are unrelated to this PR and preexisting.

The same tests also fail on FreeBSD and additonally there truffleruby tests fail since BSD is not a supported platform for TruffleRuby.
So I guess we should skip the truffleruby tests on BSD.

Could you take care of those by pushing extra commits to this PR?

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