alamb opened a new pull request, #3196:
URL: https://github.com/apache/arrow-rs/pull/3196

   # Which issue does this PR close?
   
   re #3118 
   
   # Rationale for this change
    
   When I published version 27, I got
   
   ```
   error: failed to verify package tarball
   
   Caused by:
     failed to parse manifest at 
`/Users/alamb/Downloads/apache-arrow-rs-27.0.0/arrow/target/package/arrow-27.0.0/Cargo.toml`
   
   Caused by:
   can't find `ipc` test at `tests/ipc.rs` or `tests/ipc/main.rs`. Please 
specify test.path if you want to use a non-default path.
   
   
   
   error: failed to verify package tarball
   
   Caused by:
     failed to parse manifest at 
`/Users/alamb/Downloads/apache-arrow-rs-27.0.0/arrow/target/package/arrow-27.0.0/Cargo.toml`
   
   Caused by:
   can't find `csv` test at `tests/csv.rs` or `tests/csv/main.rs`. Please 
specify test.path if you want to use a non-default path.
   ```
   
   I had to delete some entries in the Cargo.toml fil. 
   
   # What changes are included in this PR?
   
   Include tests directory in the list of files to publish as suggested by 
@tustvold at 
https://github.com/apache/arrow-rs/pull/3112#issuecomment-1314608674
   
   # Testing
   
   You can see the failure by  checking out `27.0.0` and running `cargo publish 
--dry-run`:
   
   ```shell
   (arrow_dev) alamb@MacBook-Pro-8:~/Software/arrow-rs/arrow$ cargo publish 
--dry-run
       Updating crates.io index
      Packaging arrow v27.0.0 (/Users/alamb/Software/arrow-rs/arrow)
      Verifying arrow v27.0.0 (/Users/alamb/Software/arrow-rs/arrow)
   error: failed to verify package tarball
   
   Caused by:
     failed to parse manifest at 
`/Users/alamb/Software/arrow-rs/target/package/arrow-27.0.0/Cargo.toml`
   
   Caused by:
     can't find `ipc` test at `tests/ipc.rs` or `tests/ipc/main.rs`. Please 
specify test.path if you want to use a non-default path.
   ```
   
   With this patch:
   
   ```
   
   
   # Are there any user-facing changes?
   No
   
   


-- 
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