Edgewall Software

Version 22 (modified by Christian Boos, 14 years ago) ( diff )

Python 2.3 can't be used for bdist_wininst anymore

Checklist of things to do before a release

A simple reminder list:

Check the t.e.o wiki

Check the source

(replace trunk below with the corresponding branches/0.1X-stable when preparing a minor releases)

Wiki related files

Other repository files

Create dist packages

  • Check out trunk (or the release branch) to a clean sandbox
  • Build source tarballs:
    • On Unix:
      python setup.py sdist
      
      in order to get the files in a .tar.gz, with the proper LF line endings.
    • On Windows:
      python setup.py egg_info sdist
      
      in order to get the files in a .zip, with the proper CRLF line endings. Verify with zipinfo that the content is OK as once the templates were missing…
      Note: egg_info before sdist, as otherwise data files will be missing; whether this is needed or not depends on the version of Python. With 2.4.4 it's not needed, with 2.5.4 sdist won't work even with this step (!), with 2.6.1 it is needed.
  • Build Windows installer
    • .exe win32 installer
      python.exe setup.py compile_catalog
      python23.exe setup.py bdist_wininst
      
      Note: It is important to use Python 2.3 to build the installer, in order to avoid dependency on MSVCR71.dll, not always available. As Babel won't work with Python 2.3, you can't rely on bdist_wininst to trigger the compile_catalog command, so you need to do that beforehand manually, using a different version of Python (≥ 2.4). Actually, it's now worse than this: as we made setup.py depend on some trac.util code, using Python 2.3 doesn't even work anymore at all . So we have to use 2.4 for bdist_wininst. I suppose the dependency on MSVCR71.dll is not too much to ask for, nowadays… And now that I come to think about it, it must be there for Python 2.4 anyway. Bottom-line: always use the minimum required version for the releases (i.e. 2.3 for 0.11.x, 2.4 for 0.12.x, etc.)
  • Test installation on all target platforms.
    Install on a clean system. Remove any old Trac installation before testing.
  • Smoke test:
    • create an environment with trac-admin, test it with tracd
    • upgrade an environment created with the previous release' trac-admin, test it with tracd

Finalize the release


See also: TracDev

Note: See TracWiki for help on using the wiki.