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

Julia 1.12.0-DEV: testing DataFrames throws a 'method dispatch ambiguities' error #3440

Closed
George9000 opened this issue May 6, 2024 · 2 comments
Labels

Comments

@George9000
Copy link

Context

Julia Version 1.12.0-DEV.464
Commit 9d8e0e7016 (2024-05-05 14:40 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin23.4.0)
  CPU: 16 × Apple M3 Max
  WORD_SIZE: 64
  LLVM: libLLVM-17.0.6 (ORCJIT, apple-m3)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)

Running test DataFrames in the REPL, Pkg prompt gave the following error

     Testing Running tests...
┌ Warning: Running tests with only one thread: correctness of parallel operations is not checked
└ @ Main ~/.julia/packages/DataFrames/58MUJ/test/runtests.jl:12
┌ Error: Method ambiguities:
└ @ Main ~/.julia/packages/DataFrames/58MUJ/test/runtests.jl:19
1-element Vector{Tuple{Method, Method}}:
 (allunique(df::AbstractDataFrame, cols) @ DataFrames ~/.julia/packages/DataFrames/58MUJ/src/abstractdataframe/unique.jl:203, allunique(f::F, t::Tuple) where F @ Base set.jl:598)
ERROR: LoadError: AssertionError: method dispatch ambiguities found
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/DataFrames/58MUJ/test/runtests.jl:21
 [2] include(fname::String)
   @ Main ./sysimg.jl:38
 [3] top-level scope
   @ none:6
 [4] eval
   @ ./boot.jl:432 [inlined]
 [5] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:291
 [6] _start()
   @ Base ./client.jl:533
in expression starting at /Users/foo/.julia/packages/DataFrames/58MUJ/test/runtests.jl:18
ERROR: Package DataFrames errored during testing

Running make testall on the Julia 1.12.0-DEV build itself did not throw any ambiguities errors.

@bkamins
Copy link
Member

bkamins commented May 6, 2024

This should have been resolved by #3434

@George9000
Copy link
Author

Indeed. Tests run on 1.12.0-DEV version/platform as above and using DataFrames#main have all succeeded. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants