scalanlp / breeze

Breeze is a numerical processing library for Scala.
www.scalanlp.org
Apache License 2.0
3.44k stars 691 forks source link

breeze suitable only for non-commercial usage? #853

Open Syyllinen opened 9 months ago

Syyllinen commented 9 months ago

Breeze library depends on "net.sourceforge.f2j" % "arpack_combined_all" % "0.1", (see https://github.com/scalanlp/breeze/blob/master/math/build.sbt#L11)

When you download this artifact from Maven central https://repo1.maven.org/maven2/net/sourceforge/f2j/arpack_combined_all/0.1/ and extract it, you can find org/j_paine/formatter/CJFormat.class file and the assumed source code file of this Java class is https://github.com/barak/f2j/blob/master/jlapack-3.1.1/src/util/org/j_paine/formatter/CJFormat.java#L8

CJFormat.java file has following License:

  • Permission to use, copy, modify, and distribute this
  • software and its documentation for NON-COMMERCIAL purposes
  • and without fee is hereby granted provided that this
  • copyright notice appears in all copies.

So does this mean that also breeze is not suitable for any commercial use?

dlwh commented 9 months ago

try just deleting the dependency. should be fine

Syyllinen commented 9 months ago

I will try that

rforgione commented 1 week ago

Just wanted to add that I also am running into this for a work prototype. I am considering creating an internal build with this dependency removed. I wonder if there's an alternative for achieving the same functionality without the restrictive license? Very possible that there is not though -- just curious.

rforgione commented 1 week ago

@Syyllinen -- were you able to get things up and running with this dependency removed?