blob: 6317c4af4ab8a884fc2187fb142dd1086fcf6f1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
-----------------------
netaddr release process
-----------------------
Here is how to go about releasing a new version of `netaddr`.
* Pull down the latest set of changes for the current branch (at present this is '0.7.x').
* Run the tests under Python 2.7.x and Python 3.4.x at a minimum, like so
`python netaddr/tests/__init__.py`
* Update the CHANGELOG with details of all changes since the last release.
Ensure that all references to various tickets and merge requests are included.
* Update the version numbers throughout the source code. At present they are in
the following locations.
- CHANGELOG
- netaddr/__init__.py
- docs/source/changes.rst
- docs/source/conf.py
- docs/source/index.rst
* Commit all changes.
* Build the packages and documentation.
`make dist`
* Tag the release.
* Upload all built packages to PyPI (currently, only drkjam can do this).
- `dist/*.whl`
- `dist/*.zip`
- `dist/*.gz`
- `dist/*.egg`
* Update documentation on PyPI (readthedocs will update itself).
- `docs/build/netaddr.zip`
|