alamb opened a new issue #881:
URL: https://github.com/apache/arrow-rs/issues/881


   **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 than `arrow`
   
   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.
   ```
   
   **To Reproduce**
   ```
   ./dev/release/verify-release-candidate.sh 6.1.0 1
   ```
   
   **Expected behavior**
   Check should pass 
   
   **Additional context**
    #856 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to