@@ -3,6 +3,9 @@ python-blosc2 release procedure
33
44Preliminaries
55-------------
6+
7+ * Check that `VERSION ` file contains the correct number.
8+
69* Make sure that the c-blosc2 submodule is updated to the latest version (or a specific version that will be documented in the `RELEASE_NOTES.md `)::
710
811 cd blosc2/c-blosc2
@@ -14,11 +17,15 @@ Preliminaries
1417
1518* Make sure that the current master branch is passing the tests in continuous integration.
1619
20+ * Build the package and make sure that::
21+
22+ python -c "import blosc2; blosc2.print_versions()"
23+
24+ is printing the correct versions.
25+
1726* Make sure that `RELEASE_NOTES.md ` and `ANNOUNCE.rst ` are up to date with the latest news
1827 in the release.
1928
20- * Check that `VERSION ` file contains the correct number.
21-
2229* Check any copyright listings and update them if necessary. You can use ``grep
2330 -i copyright `` to figure out where they might be.
2431
@@ -47,25 +54,14 @@ After the tag would be up, update the release notes in: https://github.com/Blosc
4754Packaging
4855---------
4956
50- * Make sure that you are in a clean directory. The best way is to
51- re-clone and re-build::
52-
53- cd /tmp
54- git clone --recursive https://github.com/Blosc/python-blosc2.git
55- cd python-blosc2
56- python setup.py build_ext
57-
58- * Check that all Cython generated ``*.c `` files are present.
59-
60- * Make the tarball with the command::
61-
62- python setup.py sdist
63- pip install dist/blosc2-X.Y.Z.tar.gz
57+ * Check that the package (and wheels!) have been uploaded to PyPI:
58+ https://pypi.org/project/blosc2/
6459
65- Do a quick check that the tarball is sane.
60+ * Check that the packages and wheels are sane::
6661
67- * Check that the package has been uploaded in PyPI:
68- https://pypi.org/project/blosc2/
62+ python install blosc2 -U
63+ python -c"import blosc; blosc2.print_versions()"
64+ pytest
6965
7066* Do an actual release in github by visiting:
7167 https://github.com/Blosc/python-blosc2/releases/new
@@ -103,4 +99,4 @@ Post-release actions
10399 git push
104100
105101
106- That's all folks!
102+ That's all folks!
0 commit comments