Giter Club home page Giter Club logo

Comments (3)

rtyley avatar rtyley commented on June 25, 2024

The CI build is running again, though it's currently failing due to a Monix/Cats conflict causing a NoClassDefFoundError error when running catsEffect/test :

 org.scanamo.ScanamoCatsSpec *** ABORTED ***
[info]   java.lang.NoClassDefFoundError: cats/effect/Sync
[info]   at org.scanamo.ScanamoCatsSpec.$anonfun$new$122(ScanamoCatsSpec.scala:209)

The Cats incompatibility would normally be shown by sbt v1.5 like this (but with the current version on the main branch, no warning is given, apparently because the dependencies are marked as Provided - see 98fb89e):

sbt:root> catsEffect/test
[error] stack trace is suppressed; run last catsEffect / update for the full output
[error] (catsEffect / update) found version conflict(s) in library dependencies; some are suspected to be binary incompatible:
[error] 
[error] 	* org.typelevel:cats-effect_2.12:3.1.1 (early-semver) is selected over {2.5.1, 2.5.1}
[error] 	    +- org.scanamo:scanamo-cats-effect_2.12:1.0.0-M15+109-98fb89e2-SNAPSHOT (depends on 3.1.1)
[error] 	    +- io.monix:monix-catnap_2.12:3.4.0                   (depends on 2.5.1)
[error] 	    +- co.fs2:fs2-core_2.12:2.5.6                         (depends on 2.5.1)

I was the one responsible for the Cats Effect v3.1.1 upgrade from v2.5.1 in PR #1166, but missed the Monix/CatsEffect conflict issue :(

Currently, although an updated version of fs2-core exists that supports Cats Effect v3.1.1, there has not yet been an updated version of Monix released that supports anything above v2.5.1. I think this leaves two options for fixing the issue:

  • Downgrade everything to what Monix supports (ie cats-effect v2.5.1, which still uses cats v2.6.1, stick with fs2-core v2.5.6)
  • Drop Monix support for the time being, which essentially means dropping the ToIterant method. I couldn't find any open-source uses of this method, though obviously private ones could exist. Personally, I like reducing the size of codebases so I'd personally be fine with losing it, but understand if others consider it important!

from scanamo.

regiskuckaertz avatar regiskuckaertz commented on June 25, 2024

Monix is not being updated nearly often enough anymore so I don't think it will remain relevant for long unless a new maintainer brings it back to life.

from scanamo.

rtyley avatar rtyley commented on June 25, 2024

With PR #1187 merged, the Travis-CI build is now passing again!

I'm not sure if this is directly related, but a nice effect of this is that the microsite job for https://www.scanamo.org/ has run, and I think this might be the reason the content on the site is been updated (eg the new Scaladex 'versions' badge is showing)?

image

from scanamo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.