apache / datafusion-ballista

Apache DataFusion Ballista Distributed Query Engine
https://datafusion.apache.org/ballista
Apache License 2.0
1.39k stars 181 forks source link

Fresh install of Ballista 11 crate fails with dependency errors #933

Closed protometa closed 4 months ago

protometa commented 6 months ago

Describe the bug

Installing the crate gives dependency errors:

error: failed to select a version for `quote`.
    ... required by package `syn v2.0.0`
    ... which satisfies dependency `syn = "^2"` of package `zerocopy-derive v0.7.3`
    ... which satisfies dependency `zerocopy-derive = "=0.7.3"` of package `zerocopy v0.7.3`
    ... which satisfies dependency `zerocopy = "^0.7.0"` of package `ahash v0.8.4`
    ... which satisfies dependency `ahash = "^0.8"` of package `ballista-core v0.11.0`
    ... which satisfies dependency `ballista-core = "^0.11.0"` of package `ballista v0.11.0`
    ... which satisfies dependency `ballista = "^0.11.0"` of package `t v0.1.0 (/t)`
versions that meet the requirements `^1.0.25` are: 1.0.33, 1.0.32, 1.0.31, 1.0.30, 1.0.29, 1.0.28, 1.0.27, 1.0.26

all possible versions conflict with previously selected packages.

  previously selected package `quote v1.0.10`
    ... which satisfies dependency `quote = "^1.0.10"` of package `zerocopy-derive v0.7.3`
    ... which satisfies dependency `zerocopy-derive = "=0.7.3"` of package `zerocopy v0.7.3`
    ... which satisfies dependency `zerocopy = "^0.7.0"` of package `ahash v0.8.4`
    ... which satisfies dependency `ahash = "^0.8"` of package `ballista-core v0.11.0`
    ... which satisfies dependency `ballista-core = "^0.11.0"` of package `ballista v0.11.0`
    ... which satisfies dependency `ballista = "^0.11.0"` of package `t v0.1.0 (/t)`

failed to select a version for `quote` which could resolve this conflict

To Reproduce

docker run --rm rust bash -c "cargo new t && cd t && cargo add ballista"

andygrove commented 6 months ago

FWIW, we are going to be releasing version 0.12 shortly.

https://github.com/apache/arrow-ballista/issues/926

andygrove commented 4 months ago

I am closing this issue now that Ballista 0.12.0 has been released.