You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that cargo publish ignores the 'path' annotations in Cargo.toml
Basically the issue is that they can't find the correct version of arrow for some reason
Here is an example failure:
/var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT/apache-arrow-rs-6.1.0 /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT
+ pushd arrow-flight
/var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT/apache-arrow-rs-6.1.0/arrow-flight /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT/apache-arrow-rs-6.1.0 /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT
+ cargo publish --dry-run
Updating crates.io index
Packaging arrow-flight v6.1.0 (/private/var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT/apache-arrow-rs-6.1.0/arrow-flight)
error: failed to prepare local package for uploading
Caused by:
failed to select a version for the requirement `arrow = "^6.1.0"`
candidate versions found which didn't match: 6.0.0, 5.5.0, 5.4.0, ...
location searched: crates.io index
required by package `arrow-flight v6.1.0 (/private/var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT/apache-arrow-rs-6.1.0/arrow-flight)`
+ cleanup
+ '[' no = yes ']'
+ echo 'Failed to verify release candidate. See /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT for details.'
Failed to verify release candidate. See /var/folders/s3/h5hgj43j0bv83shtmz_t_w400000gn/T/arrow-6.1.0.XXXXX.1Si6YRcT for details.
Note: crates.io does not allow packages to be published with path dependencies (path dev-dependencies are ignored). See the Multiple locations section for a fallback alternative.
Describe the bug
The newly added
cargo publish
checks I added in #856 (see https://github.com/apache/arrow-rs/pull/856/files#diff-82f32771b6ac9daaadbfb77bd77062d63e131ad18ecd9014ff90eff17865964fR137-R152) do not actually work for any crate other thanarrow
The issue is that
cargo publish
ignores the 'path' annotations in Cargo.tomlBasically the issue is that they can't find the correct version of arrow for some reason
Here is an example failure:
To Reproduce
Expected behavior
Check should pass
Additional context
#856
The text was updated successfully, but these errors were encountered: