Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby 3.1 no longer includes matrix in the stdlib #70

Open
rdlugosz opened this issue Jan 17, 2022 · 1 comment
Open

Ruby 3.1 no longer includes matrix in the stdlib #70

rdlugosz opened this issue Jan 17, 2022 · 1 comment

Comments

@rdlugosz
Copy link

As of Ruby 3.1, the matrix gem is no longer distributed as a part of the standard library and must be bundled explicitly.

I believe the fix is straightforward: include matrix in the gemspec file. However, this should probably be tested on a couple of different Ruby versions in order to verify the change doesn't cause problems for older Rubies.

In the meantime, users of the statsample gem can add matrix to their Gemfile and you'll satisfy the missing dependency. For example:

# https://github.com/SciRuby/statsample
gem "distribution"
gem "prime" # No longer in stdlib as of Ruby 3.1

gem "statsample"
gem "matrix" # No longer in stdlib as of Ruby 3.1

Note: similar issue opened on the distribution gem

@kojix2
Copy link
Member

kojix2 commented Jan 18, 2022

I think SciRuby needs more people with commit rights.

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

No branches or pull requests

2 participants