Giter VIP home page Giter VIP logo

Comments (7)

milessabin avatar milessabin commented on May 12, 2024

Unfortunately we have to aim at 2.10.2 and above ... we depend on fixes to implicit macros which only arrived in 2.10.2. I'm open to suggestions, but I think the status quo is the best we can do.

from shapeless.

jedws avatar jedws commented on May 12, 2024

The qualifier in the artefact is not really a means of specifying some minimum supported version though. It is there to specify that the artefact was compiled against that series of Scala – and in 2.10 they warrant some kind of backwards binary compatibility between the whole series. Having it as a bespoke and de-facto dependency management scheme unfortunately complicates and breaks other things.

In our particular case, specs2 2.3.3 brings in shapeless_2.10.2 2.0 but we have a project level dependency on shapeless_2.10 1.2.4 which leads to the above error.

from shapeless.

milessabin avatar milessabin commented on May 12, 2024

I understand the problem, but I don't know how to solve it. Do you have a suggestion?

from shapeless.

jedws avatar jedws commented on May 12, 2024

I'd just make it 2.10, you can't always enforce all the things. I'd say
that 2.10.1 users will find out pretty quickly that it doesn't work, and
I'd wager there won't be that many anyway. Upgrading to latest scala
version is pretty painless and usually worthwhile.

On 14 November 2013 09:04, Miles Sabin [email protected] wrote:

I understand the problem, but I don't know how to solve it. Do you have a
suggestion?


Reply to this email directly or view it on GitHubhttps://github.com//issues/63#issuecomment-28438606
.

from shapeless.

milessabin avatar milessabin commented on May 12, 2024

Doing the wrong thing without warning at compile or runtime is a pretty serious thing not to enforce IMO. I've just published a build explicitly for 2.10.3 ... does that and the changes that @retronym has just made to the Specs 2 build (retronym/specs2@ec0ef3b#diff-798d1bfac5c6765ba2f0c34e37c073edR122) go some way towards mitigating this for you?

from shapeless.

Blaisorblade avatar Blaisorblade commented on May 12, 2024

In our particular case, specs2 2.3.3 brings in shapeless_2.10.2 2.0 but we have a project level dependency on shapeless_2.10 1.2.4 which leads to the above error.

How is that (two different versions of shapeless together) going to work?

from shapeless.

milessabin avatar milessabin commented on May 12, 2024

Closing this now. Nobody managed to persuade me that I wasn't doing the right thing here, and it's becoming increasingly irrelevant as people move to Scala 2.11.x.

from shapeless.

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.