Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use aleph 0.5.0 with yada #328

Open
ieugen opened this issue Aug 23, 2022 · 6 comments
Open

Cannot use aleph 0.5.0 with yada #328

ieugen opened this issue Aug 23, 2022 · 6 comments

Comments

@ieugen
Copy link

ieugen commented Aug 23, 2022

The underlying issue is clj-commons/aleph#605 .

We tried to upgrade our project and it failed.

@ivarref
Copy link
Contributor

ivarref commented Aug 23, 2022

Did you solve this issue?

My deps.edn looks like this:

  yada/yada                         {:mvn/version "1.2.16" :exclusions [byte-streams/byte-streams aleph/aleph]}
  aleph/aleph                       {:mvn/version "0.5.0"}

Works here.

Edit: formatting.

@ivarref
Copy link
Contributor

ivarref commented Aug 24, 2022

Sorry, that did indeed not work. It worked with aleph 0.4.7 though.

@iku000888
Copy link

The underlying issue is in fact resolved so it would save hours of googling for future yada newbies trying to run yada on top of latest version of aleph!

@KingMob
Copy link

KingMob commented Jun 3, 2023

It also appears that placing Aleph/byte-streams higher in the dependency tree prevents issues, if you're trying to use newer Aleph versions.

@boxxxie
Copy link
Contributor

boxxxie commented Jul 11, 2023

@KingMob could you provide a code example so it's easy for others to quickly implement this workaround

@KingMob
Copy link

KingMob commented Jul 12, 2023

@boxxxie Sure, the key point is just to place byte-streams and/or aleph earlier in the dependencies than yada, so their versions supersede yada's older versions (yada hasn't been updated in 4 years).

It should be something like:

Lein:

:dependencies [[...
               [org.clj-commons/byte-streams "0.3.3"]
               [aleph "0.6.3"]
               [yada "1.2.15.1"]
               ...]

tools.deps:

{:deps {...
        org.clj-commons/byte-streams {:mvn/version "0.3.3"}
        aleph/aleph {:mvn/version "0.6.3"}
        yada/yada {:mvn/version "1.2.15.1"}
        ...}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants