Skip to content

Commit e28256c

Browse files
authored
suggestions (#1183)
1 parent 5892585 commit e28256c

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

dev/release/README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ git push apache 0.8.0-rc1
101101
./dev/release/create-tarball.sh 0.8.0 1
102102
```
103103

104-
This will also create the email template to send to the mailing list.
104+
This will also create the email template to send to the mailing list.
105105

106106
Create a draft email using this content, but do not send until after completing the next step.
107107

@@ -157,7 +157,14 @@ Send the email to start the vote.
157157

158158
## Verifying a Release
159159

160-
Running the unit tests against a testpypi release candidate:
160+
Releases may be verified using `verify-release-candidate.sh`:
161+
162+
```bash
163+
git clone https://github.com/apache/datafusion-python.git
164+
dev/release/verify-release-candidate.sh 48.0.0 1
165+
```
166+
167+
Alternatively, one can run unit tests against a testpypi release candidate:
161168

162169
```bash
163170
# clone a fresh repo
@@ -176,11 +183,11 @@ source .venv/bin/activate
176183
# install release candidate
177184
pip install --extra-index-url https://test.pypi.org/simple/ datafusion==40.0.0
178185

179-
# only dep needed to run tests is pytest
180-
pip install pytest
186+
# install test dependencies
187+
pip install pytest numpy pytest-asyncio
181188

182189
# run the tests
183-
pytest --import-mode=importlib python/tests
190+
pytest --import-mode=importlib python/tests -vv
184191
```
185192

186193
Try running one of the examples from the top-level README, or write some custom Python code to query some available
@@ -233,7 +240,7 @@ git push apache 0.8.0
233240
Add the release to https://reporter.apache.org/addrelease.html?datafusion with a version name prefixed with `DATAFUSION-PYTHON`,
234241
for example `DATAFUSION-PYTHON-31.0.0`.
235242

236-
The release information is used to generate a template for a board report (see example from Apache Arrow
243+
The release information is used to generate a template for a board report (see example from Apache Arrow
237244
[here](https://github.com/apache/arrow/pull/14357)).
238245

239246
### Delete old RCs and Releases

0 commit comments

Comments
 (0)