File tree 1 file changed +34
-0
lines changed 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ pytest release checklist
2
+ -------------------------
3
+
4
+ For doing a release of pytest (status March 2015) holger does:
5
+
6
+ - change version numbers in ``setup.py``, ``_pytest/__init__.py``
7
+
8
+ - finalize changelog (especially the header)
9
+
10
+ - ``devpi upload`` to an index, run ``devpi test`` from linux and
11
+ windows and make sure all relevant environments pass (some like py27-pexpect
12
+ on windows fail which is normal because pexpect does not work on windows
13
+ and tox can currently not have platform-conditional test envs)
14
+ If tests fail, fix and re-upload.
15
+
16
+ - change "version" and "release" in doc/en/conf.py
17
+
18
+ - regenerate doc examples with ``tox -e regen`` and check with ``hg diff``
19
+
20
+ - change SITETARGET in ``doc/en/makefile`` to "latest" &&
21
+ ``cd doc/en && make install && make install-pdf``
22
+ creating and installing the pdf requires various latex
23
+ packages to work.
24
+
25
+ - once everything seems fine, do a commit and ``hg tag`` the correct
26
+ version and issue ``devpi push pytest==VERSION pypi:pypi`` to push
27
+ the tested package to pypi (in my ``.pypirc`` pypi.python.org is aliased
28
+ as ``pypi``)
29
+
30
+ - **after the release** bump the version numbers in ``setup.py``,
31
+ ``_pytest/__init__.py``, ``doc/en/conf.py`` and set ``SITETARGET=dev``
32
+ in ``doc/en/makefile``. commit.
33
+
34
+ - congrats :)
You can’t perform that action at this time.
0 commit comments