Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 16 01:50

    dependabot[bot] on maven

    (compare)

  • Nov 16 01:50
    dependabot[bot] closed #312
  • Nov 16 01:50
    dependabot[bot] commented #312
  • Nov 16 01:50
    dependabot[bot] labeled #315
  • Nov 16 01:50
    dependabot[bot] opened #315
  • Nov 16 01:50

    dependabot[bot] on maven

    Bump jackson-databind from 2.11… (compare)

  • Nov 16 01:48

    dependabot[bot] on maven

    (compare)

  • Nov 16 01:48
    dependabot[bot] closed #313
  • Nov 16 01:48
    dependabot[bot] commented #313
  • Nov 16 01:48
    dependabot[bot] labeled #314
  • Nov 16 01:48
    dependabot[bot] labeled #314
  • Nov 16 01:48
    dependabot[bot] opened #314
  • Nov 16 01:48

    dependabot[bot] on maven

    Bump jackson-databind from 2.11… (compare)

  • Oct 18 23:58

    dependabot[bot] on maven

    (compare)

  • Oct 18 23:58
    dependabot[bot] closed #311
  • Oct 18 23:58

    dependabot[bot] on maven

    (compare)

  • Oct 18 23:58
    dependabot[bot] closed #310
  • Oct 18 23:58
    dependabot[bot] commented #311
  • Oct 18 23:58
    dependabot[bot] commented #310
  • Oct 18 23:58
    dependabot[bot] labeled #313
Mandar Chandorkar
@mandar2812
so generally sbt just evicts the spire of breeze
and uses the spire loaded by tensorflow
im wondering why that is not happening in your case
Israel Herraiz
@iht
let me try to exclude spire when importing breeze, and see what happens
Mandar Chandorkar
@mandar2812
yes that is a workaround
Israel Herraiz
@iht
Ah, another thing, i changed build.properties to use sbt 0.13.16
that’s why the plugin did not work
Mandar Chandorkar
@mandar2812
ahh
ill also try it then!
Israel Herraiz
@iht
spire is not evicted because it is using different org names
Mandar Chandorkar
@mandar2812
i made a change to Dependencies.scala
"org.scalanlp" % "breeze_2.11" % "0.13.1" % "compile" exclude("org.spire-math", "spire")
and now i am building to see if it works
Israel Herraiz
@iht
yes, i have tried that
it did not work in my case
breeze is also imported by spark
So I removed the import of breeze, and excluding org.spire-math in the spark dependencies
Mandar Chandorkar
@mandar2812
after excluding spire from breeze, the project compiles but running legacy code is having a runtime error
Mandar Chandorkar
@mandar2812
okay I realise that including tensorflow_scala is causing all sorts of problems with respect to spire dependency resolution
i am going to spend some time to find out how we can resolve them
Israel Herraiz
@iht
thank you for that :)
Mandar Chandorkar
@mandar2812
because tensorflow support is going to be an important feature in DynaML
so i dont want to sacrifice it!
:D
Israel Herraiz
@iht
the main problem is because tensorflow is redefining the organization of spire (and others)
and spire is imported without using the organization name
the package names in spire should include the organization
and tensorflow should not rename the organizations
that way, it would be easy to let sbt handle the conflicts
Mandar Chandorkar
@mandar2812
From what I know about the spire project i know there are two orgs which deliver it
and
typelevel
Israel Herraiz
@iht
yes
Mandar Chandorkar
@mandar2812
breeze imports spire from the first one
while TF imports from second
Israel Herraiz
@iht
and who is republishing spire? typelevel?
Mandar Chandorkar
@mandar2812
yes i think typelevel took over it
Israel Herraiz
@iht
maybe it is related to this project? -> https://github.com/typelevel/algebra
Mandar Chandorkar
@mandar2812
which is why the newest versions all come from the source 2
while spire older versions < 0.13
come from source 1
Israel Herraiz
@iht
ahm!
Mandar Chandorkar
@mandar2812
yes
Israel Herraiz
@iht
and breeze is still using the old versions
Mandar Chandorkar
@mandar2812
yes
i guess from a long term perspective I would prefer to use typelevel
but breeze is used heavily in legacy code of DynaML
Mandar Chandorkar
@mandar2812
Hi @iht I think I have a bunch of sbt exclusions which might solve this spire issue!