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

bindings/haskell: Package failed for opendal not released #3110

Closed
Xuanwo opened this issue Sep 18, 2023 · 4 comments · Fixed by #3115
Closed

bindings/haskell: Package failed for opendal not released #3110

Xuanwo opened this issue Sep 18, 2023 · 4 comments · Fixed by #3115

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Sep 18, 2023

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-08-24, rust version 1.72.0 (5680fa18f 2023-08-23)
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: downloading component 'rust-analyzer'
info: installing component 'rust-analyzer'
    Updating crates.io index
warning: manifest has no description.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
   Packaging opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell)
   Verifying opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell)
    Updating crates.io index
error: failed to verify package tarball

Caused by:
  failed to select a version for the requirement `opendal = "^0.40"`
  candidate versions found which didn't match: 0.39.0, 0.38.1, 0.38.0, ...
  location searched: crates.io index
  required by package `opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell/target/package/opendal-hs-0.40.0)`
  perhaps a crate was updated and forgotten to be re-vendored?

https://github.com/apache/incubator-opendal/actions/runs/6218969586/job/16876227246

Can we use local content?

@Xuanwo
Copy link
Member Author

Xuanwo commented Sep 18, 2023

Seems we need to release opendal first before package haskell binding.

@silver-ymz
Copy link
Member

We can use cargo package --no-verify to keep going forcely.

Seems we need to release opendal first before package haskell binding.

That's right. It seems that we can't verify automatically by cargo.

@Xuanwo
Copy link
Member Author

Xuanwo commented Sep 18, 2023

Let me find other solutions.

@Xuanwo
Copy link
Member Author

Xuanwo commented Sep 18, 2023

Oh, it appears that publishing to a private registry is also not possible.

Note: crates.io does not accept packages that depend on crates from other registries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants