Comments (3)
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 usescats
v2.6.1, stick withfs2-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.
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.
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)?
from scanamo.
Related Issues (20)
- Extend transactPutAll, transactUpdateAll and transactDeleteAll with optional ConditionExpression argument HOT 2
- Extend scan operation with Segments
- Adopt `sbt-dynamodb` into the Scanamo organisation? HOT 3
- Not able to use >= on string sort key
- Publish latest?
- Question: Should I be instantiating a different client per service?
- migrate to github action HOT 6
- Conditionally apply a filter
- [error] clienterror: an error occurred (validationexception) when calling the putitem operation: one or more parameter values were invalid: contains duplicates. HOT 1
- PutReturn.NewValue is not supported by AWS DynamoDB
- Scala 3 HOT 3
- Scanamo query timeouts...
- Null Pointer Exception when trying to call any methods accessing DynamoDb
- Where is the API documentation? HOT 1
- Pagination against GSIs is cumbersome with the current API.
- Add support for BigInt
- Pekko integration HOT 1
- ZIO 2 support
- Let's release v1.0.0 and drop milestone releases! HOT 3
- Error when case class has more than 36 properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scanamo.