Commit c898d02
authored
infra: add a twine check before uploading to pypi (datafusion-contrib#183)
`twine check --strict` would have caught the lack of README
Context:
datafusion-contrib#172 (comment)
Example,
PyO3/maturin-action#166 (comment)
### Testing
Github action run on my fork shows that `twine check` fails
https://github.com/kevinjqliu/tpchgen-rs/actions/runs/17332990961
Because datafusion-contrib#182 has not been applied yet
Tested locally, with and without fix from datafusion-contrib#182:
```
maturin sdist
twine check --strict <.tar.gz>
```
```
maturin build --release
twine check --strict <.wheel>
```1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
145 | 152 | | |
| 153 | + | |
146 | 154 | | |
147 | 155 | | |
148 | 156 | | |
| |||
0 commit comments