Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Conflicting exports between StochasticOptimization.Iteration and LearnBase #14

@rdeits

Description

@rdeits

The Iteration sub-module exports an ObsIterator type that clashes with LearnBase. This results in the unit tests currently failing with:

julia> Pkg.test("StochasticOptimization")
INFO: Computing test dependencies for StochasticOptimization...
INFO: Installing LearningStrategies v0.0.1
INFO: Installing UnicodePlots v0.2.3
INFO: Building Rmath
INFO: Testing StochasticOptimization
WARNING: both Iteration and LearnBase export "ObsIterator"; uses of it in module StochasticOptimization must be qualified
ERROR: LoadError: LoadError: UndefVarError: ObsIterator not defined
 in include_from_node1(::String) at ./loading.jl:488 (repeats 2 times)
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:242
 in _start() at ./client.jl:321
while loading /home/rdeits/.julia/v0.5/StochasticOptimization/src/gradients/gradients.jl, in expression starting on line 24
while loading /home/rdeits/.julia/v0.5/StochasticOptimization/src/StochasticOptimization.jl, in expression starting on line 66
ERROR: LoadError: Failed to precompile StochasticOptimization to /home/rdeits/.julia/lib/v0.5/StochasticOptimization.ji.
 in compilecache(::String) at ./loading.jl:593
 in require(::Symbol) at ./loading.jl:422
 in include_from_node1(::String) at ./loading.jl:488
 in process_options(::Base.JLOptions) at ./client.jl:265
 in _start() at ./client.jl:321
while loading /home/rdeits/.julia/v0.5/StochasticOptimization/test/runtests.jl, in expression starting on line 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions