summaryrefslogtreecommitdiff
path: root/RELEASING.txt
diff options
context:
space:
mode:
Diffstat (limited to 'RELEASING.txt')
-rw-r--r--RELEASING.txt54
1 files changed, 35 insertions, 19 deletions
diff --git a/RELEASING.txt b/RELEASING.txt
index 553d2dcf2..75a4fcea2 100644
--- a/RELEASING.txt
+++ b/RELEASING.txt
@@ -11,27 +11,33 @@ Releasing Pyramid
$ tox -r
- Make sure statement coverage is at 100%::
+ Make sure statement coverage is at 100% (the test run will fail if not).
-- Run Windows tests for Python 2.6, 2.7, 3.2, and 3.3 if feasible.
+- Run tests on Windows if feasible.
-- Make sure all scaffold tests pass (Py 2.6, 2.7, 3.2, 3.3 and pypy on UNIX;
- this doesn't work on Windows):
+- Make sure all scaffold tests pass (Py 2.6, 2.7, 3.2, 3.3, 3.4, 3.5, pypy, and
+ pypy3 on UNIX; this doesn't work on Windows):
- $ python pyramid/scaffolds/tests.py
+ $ ./scaffoldtests.sh
- Ensure all features of the release are documented (audit CHANGES.txt or
communicate with contributors).
- Copy relevant changes (delta bug fixes) from CHANGES.txt to
- docs/whatsnew-X.X (if it's a major release).
+ docs/whatsnew-X.X (if it's a major release). Minor releases should
+ include a link under "Bug Fix Releases" to the minor feature
+ changes in CHANGES.txt .
-- Make sure docs render OK::
+- Update README.rst to use correct versions of badges and URLs according to
+ each branch and context, i.e., RTD "latest" == GitHub/Travis "1.x-branch".
- $ cd docs
- $ make clean html
+- Update whatsnew-X.X.rst in docs to point at change log entries for individual
+ releases if applicable.
- There should be no meaningful errors or warnings.
+- For major version releases, in docs/conf.py, update values under
+ html_theme_options for in_progress and outdated across master, releasing
+ branch, and previously released branch. Also in the previously released
+ branch only, uncomment the sections to enable pylons_sphinx_latesturl.
- Change setup.py version to the new version number.
@@ -44,10 +50,20 @@ Releasing Pyramid
- Create a release tag.
-- Make sure your system Python has ``setuptools-git`` installed and release to
- PyPI::
+- Make sure your Python has ``setuptools-git``, ``twine`` and ``wheel``
+ installed and release to PyPI::
- $ python setup.py sdist register upload
+ $ python setup.py sdist bdist_wheel
+ $ twine upload dist/pyramid-X.X-*
+
+- Edit Pylons/pylonshq/templates/home/home.mako.
+
+- Edit Pylons/pylonshq/templates/home/inside.rst for major releases only.
+
+- Edit Pylons/trypyramid.com/src/templates/resources.html for major releases
+ only.
+
+- Edit Pylons/pylonsrtd/pylonsrtd/docs/pyramid.rst for major releases only.
- Edit `http://wiki.python.org/moin/WebFrameworks
<http://wiki.python.org/moin/WebFrameworks>`_.
@@ -61,22 +77,22 @@ Releasing Pyramid
Announcement template
----------------------
-Pyramid 1.1.X has been released.
+Pyramid 1.X.X has been released.
Here are the changes:
<<changes>>
-A "What's New In Pyramid 1.1" document exists at
-http://docs.pylonsproject.org/projects/pyramid/1.1/whatsnew-1.1.html .
+A "What's New In Pyramid 1.X" document exists at
+http://docs.pylonsproject.org/projects/pyramid/1.X/whatsnew-1.X.html .
-You will be able to see the 1.1 release documentation (across all
+You will be able to see the 1.X release documentation (across all
alphas and betas, as well as when it eventually gets to final release)
-at http://docs.pylonsproject.org/projects/pyramid/1.1/ .
+at http://docs.pylonsproject.org/projects/pyramid/1.X/ .
You can install it via PyPI:
- easy_install Pyramid==1.1a4
+ easy_install Pyramid==1.X
Enjoy, and please report any issues you find to the issue tracker at
https://github.com/Pylons/pyramid/issues