@@ -3,6 +3,9 @@ python-blosc2 release procedure
3
3
4
4
Preliminaries
5
5
-------------
6
+
7
+ * Check that `VERSION ` file contains the correct number.
8
+
6
9
* 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 `)::
7
10
8
11
cd blosc2/c-blosc2
@@ -14,11 +17,15 @@ Preliminaries
14
17
15
18
* Make sure that the current master branch is passing the tests in continuous integration.
16
19
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
+
17
26
* Make sure that `RELEASE_NOTES.md ` and `ANNOUNCE.rst ` are up to date with the latest news
18
27
in the release.
19
28
20
- * Check that `VERSION ` file contains the correct number.
21
-
22
29
* Check any copyright listings and update them if necessary. You can use ``grep
23
30
-i copyright `` to figure out where they might be.
24
31
@@ -47,25 +54,14 @@ After the tag would be up, update the release notes in: https://github.com/Blosc
47
54
Packaging
48
55
---------
49
56
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/
64
59
65
- Do a quick check that the tarball is sane.
60
+ * Check that the packages and wheels are sane::
66
61
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
69
65
70
66
* Do an actual release in github by visiting:
71
67
https://github.com/Blosc/python-blosc2/releases/new
@@ -103,4 +99,4 @@ Post-release actions
103
99
git push
104
100
105
101
106
- That's all folks!
102
+ That's all folks!
0 commit comments