Skip to content

Cannot publish to crates.io due to size #294

@andygrove

Description

@andygrove

Describe the bug
I would like to publish the crate to crates.io but it fails:

   Compiling datafusion-python v20.0.0 (/home/andy/Downloads/apache-arrow-datafusion-python-20.0.0/target/package/datafusion-python-20.0.0)
warning: unused import: `py_runtime_err`
  --> src/expr/literal.rs:18:21
   |
18 | use crate::errors::{py_runtime_err, DataFusionError};
   |                     ^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: `datafusion-python` (lib) generated 1 warning
    Finished dev [unoptimized + debuginfo] target(s) in 1m 18s
    Packaged 2833 files, 47.9MiB (16.8MiB compressed)
   Uploading datafusion-python v20.0.0 (/home/andy/Downloads/apache-arrow-datafusion-python-20.0.0)
error: failed to publish to registry at https://crates.io

Caused by:
  the remote server responded with an error: max upload size is: 10485760

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions