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

Can not publish datafusion-cli package to crates.io: expected at most 5 keywords per crate at line 1 column 3441 #1332

Closed
alamb opened this issue Nov 18, 2021 · 3 comments · Fixed by #1349
Labels
bug Something isn't working

Comments

@alamb
Copy link
Contributor

alamb commented Nov 18, 2021

Describe the bug
While trying to publish the datafusion-cli package to crates.io I got the following error:

(arrow_dev) alamb@MacBook-Pro:~/Downloads/apache-arrow-datafusion-6.0.0$ (cd datafusion-cli && cargo publish)
....
    Finished dev [unoptimized + debuginfo] target(s) in 1m 20s
   Uploading datafusion-cli v5.1.0-SNAPSHOT (/Users/alamb/Downloads/apache-arrow-datafusion-6.0.0/datafusion-cli)
error: failed to publish to registry at https://crates.io

Caused by:
  the remote server responded with an error: invalid upload request: invalid length 7, expected at most 5 keywords per crate at line 1 column 3441

To Reproduce

 (cd datafusion-cli && cargo publish)

Expected behavior
Upload should work

@alamb alamb added the bug Something isn't working label Nov 18, 2021
@houqp
Copy link
Member

houqp commented Nov 22, 2021

bad news is if we need to release a new version of datafusion cli, we will need to bump datafusion to 7.x because we have breaking change already merged since 6.0.0 :( @alamb @andygrove @jimexist @Dandandan what do you think about moving cli also out of the core repo so it can be released at a higher frequency?

Alternatively, we could vote for a datafusion 6.1.0 release, but not actually publishing the core to crates.io to avoid releasing breaking change.

@alamb
Copy link
Contributor Author

alamb commented Nov 22, 2021

bad news is if we need to release a new version of datafusion cli, we will need to bump datafusion to 7.x because we have breaking change already merged since 6.0.0 :( @alamb @andygrove @jimexist @Dandandan what do you think about moving cli also out of the core repo so it can be released at a higher frequency?

I think we could make a special datafusion-cli release branch (and branch from the 6.0.0 tag) and apply whatever changes were needed rather than having to release whatever is on master .

I find datafusion-cli very useful so I would like to keep it in the arrow-datafusion repo.

However, we could potentially just release it under a different versioning scheme, which might make sense too
https://crates.io/search?q=datafusion-cli

@houqp
Copy link
Member

houqp commented Nov 22, 2021

good idea, a special release branch also works 👍 datafusion-cli is already on its own versioning scheme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants