Skip to content

[bug] 241.9 error: failed to select a version for the requirement parquet = "^22.0.0" when building version 12.0.0 via Dockerfile #7762

@YuriyGavrilov

Description

@YuriyGavrilov

Describe the bug

`=> ERROR [builder 6/6] RUN cargo build --release 242.0s

[builder 6/6] RUN cargo build --release:
0.592 Updating crates.io index
241.9 error: failed to select a version for the requirement parquet = "^22.0.0"
241.9 candidate versions found which didn't match: 15.0.0, 14.0.0, 13.0.0, ...
241.9 location searched: crates.io index
241.9 required by package datafusion v12.0.0 (/usr/src/datafusion/core)
241.9 ... which satisfies path dependency datafusion of package datafusion-cli v12.0.0 (/usr/src/datafusion-cli)


Dockerfile:28

26 | RUN rustup component add rustfmt
27 |
28 | >>> RUN cargo build --release
29 |
30 | FROM debian:bullseye-slim

ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101`

To Reproduce

git clone https://github.com/apache/arrow-datafusion
cd arrow-datafusion
git checkout 12.0.0
docker build -f datafusion-cli/Dockerfile . --tag datafusion-cli

Expected behavior

build successfully

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions