Skip to content

Circular dependency between datafusion and datafusion-sqllogictest crates prevents 0.29.0 from being published to crates.io #7281

@andygrove

Description

@andygrove

Describe the bug

I was attempting to publish DataFusion 29, and I could not publish the core datafusion crate because it has a dev-dependency on datafusion-sqllogictest, which is not yet published.

   Packaging datafusion v29.0.0 (/home/andy/git/apache/arrow-datafusion/datafusion/core)
    Updating crates.io index
error: failed to prepare local package for uploading

Caused by:
  no matching package named `datafusion-sqllogictest` found
  location searched: registry `crates-io`
  required by package `datafusion v29.0.0 (/home/andy/git/apache/arrow-datafusion/datafusion/core)`

I cannot publish datafusion-sqllogictest either, because it depends on datafusion.

   Packaging datafusion-sqllogictest v29.0.0 (/home/andy/git/apache/arrow-datafusion/datafusion/sqllogictest)
   Verifying datafusion-sqllogictest v29.0.0 (/home/andy/git/apache/arrow-datafusion/datafusion/sqllogictest)
    Updating crates.io index
error: failed to verify package tarball

Caused by:
  failed to select a version for the requirement `datafusion = "^29.0.0"`
  candidate versions found which didn't match: 28.0.0, 27.0.0, 26.0.0, ...
  location searched: crates.io index
  required by package `datafusion-sqllogictest v29.0.0 (/home/andy/git/apache/arrow-datafusion/target/package/datafusion-sqllogictest-29.0.0)`

To Reproduce

Try publishing datafusion crates from source release.

Expected behavior

No response

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