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

Fix tests on Julia 1.3 #404

Open
wants to merge 3 commits into
base: jq/testsfix
Choose a base branch
from

Conversation

mattwigway
Copy link

This branch fixes the tests on Julia 1.3, by replacing a sum of an empty list with a reduce that has an initial value. It also fixes one test error on Julia 1.7 (DataType.mutable has been replaced by ismutabletype()), but more remain. I likely won't have time to get to investigating them until next week. I also haven't investigated the Windows test failures yet.

Since test suite work is happening in #389, I based my branch off that one. Let me know if you'd like a different base.

Older Julia would error when approx_size called with empty columns, due to summing an empty vector. replace with a reduce() call that has an init value, like sum on newer Julia.
@mattwigway
Copy link
Author

In combination with JuliaParallel/Dagger.jl#296, JuliaParallel/Dagger.jl#297, and JuliaData/IndexedTables.jl#288, the test suite now passes on Julia 1.6.3 (macOS), Julia 1.7.0-rc1 (linux via docker), and Julia 1.3.1 (linux via docker). The Windows test that was failing before in #389 is passing for me, though I'm getting unrelated Windows test failures that I think are due to incorrectly-configured permissions on the VM I'm using.

@mattwigway mattwigway marked this pull request as ready for review October 21, 2021 20:57
@jpsamaroo
Copy link
Collaborator

Dagger 0.13.7 is available with your 2 bugfix PRs merged

Heptazhou pushed a commit to Heptazhou/JLdb.jl that referenced this pull request Apr 9, 2022
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