CSV Parsers dependency problem

Anyone else experiencing this?

julia> using CSV
[ Info: Precompiling CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b]
┌ Warning: Package CSV does not have Parsers in its dependencies:
│ - If you have CSV checked out for development and have
│   added Parsers as a dependency but haven't updated your primary
│   environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with CSV
└ Loading Parsers into CSV from project dependency, future warnings for CSV are suppressed.
ERROR: LoadError: UndefVarError: intern not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] top-level scope at none:2
in expression starting at /home/yakir/.julia/packages/CSV/Jf3xI/src/CSV.jl:5
ERROR: Failed to precompile CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b] to /home/yakir/.julia/compiled/v1.1/CSV/HHBkp.ji.

Related issue reported here.

1 Like

I think the issue is that the previous CSV.jl release probably has a dependency version like “Parsers >= 0.2” or something, and then when Parsers.jl made a breaking release to 0.3.0, it breaks CSV.jl. I think if you do something like ] pin Parsers 0.2.22, it should fix it for now.

1 Like

Indeed, ] pin Parsers@0.2.22 worked for me (I also had to remove JSON2 which insisted on Parser@0.3 and then ] up)

You could also do ] pin JSON2@0.2.4 if you still need JSON2. Hopefully we can get all these dependency issues figured out soon to avoid these situations.

1 Like