Edgewall Software

Changes between Version 220 and Version 221 of TracDownload


Ignore:
Timestamp:
Sep 23, 2023, 10:36:52 PM (8 months ago)
Author:
Ryan J Ollos
Comment:

Release Trac 1.6. Refs #13333.

Legend:

Unmodified
Added
Removed
Modified
  • TracDownload

    v220 v221  
    1010The latest releases are also available on [pypi:Trac PyPI].
    1111
    12 == Latest Stable Release for the 1.4.x line #Trac14StableRelease
     12== Latest Stable Release for the 1.6.x line #Trac16StableRelease
    1313
    1414Here's the latest and greatest version of Trac.
    1515
    16 See the [[TracDev/ReleaseNotes/1.4#MaintenanceReleases|release notes]] for details.
     16See the [[TracDev/ReleaseNotes/1.6#MaintenanceReleases|release notes]] for details.
    1717
    18 [[TracDownloads(Trac-latest)]]
     18[[TracDownloads(Trac-latest-1.6)]]
    1919
    2020Again, be sure to read TracInstall and TracUpgrade before installing or upgrading, then proceed by reading the rest of the TracGuide. If you have any trouble, check the TracSupport page which explains how to get help.
    2121
    2222{{{#!div style="border: 1px dotted #aaa; background: #ffe; width: 26em; margin: auto; padding: 0 2em; font-size: 90%"
     23
     24=== About the prerequisites for Trac 1.6.x
     25 - Python 3.5+ (+[pypi:setuptools])
     26 - Jinja2: [pypi:jinja2 >= 2.9.3]
     27 - Babel (optional): [pypi:Babel >= 2.2 and < 2.10] Note that it needs to be installed **before** Trac when installing Trac from source (.gz).
     28}}}
     29
     30== Older Stable Releases #OlderReleases
     31
     32== Latest Stable Release for the 1.4.x line #Trac14StableRelease
     33
     34Here's the latest version of the 1.4.x release line. See the [[TracDev/ReleaseNotes/1.4#MaintenanceReleases|release notes]] for details.
     35
     36[[TracDownloads(Trac-latest-1.4)]]
     37
     38Again, be sure to read TracInstall and TracUpgrade before installing or upgrading, then proceed by reading the rest of the TracGuide. If you have any trouble, check the TracSupport page which explains how to get help.
     39
     40{{{#!div style="border: 1px dotted #aaa; background: #f6f6f6; width: 26em; margin: auto; padding: 0 2em; font-size: 90%"
    2341
    2442=== About the prerequisites for Trac 1.4.x
     
    3149For Windows x64, there are no installers for Genshi and Babel so install them [TracInstall#Usingpip using pip].
    3250}}}
    33 
    34 == Older Stable Releases #OlderReleases
    3551
    3652=== Latest Stable Release for the 1.2.x line #Trac12StableRelease
     
    6581
    6682
     83{{{#!comment
    6784== Latest Development Releases for the 1.5.x  line (unstable) #LatestDevRelease
    6885
     
    124141}}}
    125142
    126 === Trac ''1.4-stable'' #Tracstable
    127 The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/branches/1.4-stable#egg=Trac-1.4-dev next maintenance release] of Trac ([milestone:next-stable-1.4.x]) can be checked out with the following command:
     143}}}
     144
     145=== Trac ''1.6-stable'' #Tracstable
     146The latest revision for the upcoming [https://svn.edgewall.org/repos/trac/branches/1.6-stable#egg=Trac-1.6-dev next maintenance release] of Trac ([milestone:next-stable-1.6.x]) can be checked out with the following command:
    128147{{{#!sh
    129 svn co https://svn.edgewall.org/repos/trac/branches/1.4-stable trac
     148svn co https://svn.edgewall.org/repos/trac/branches/1.6-stable trac
    130149}}}
    131150
    132151Installation can be performed as usual, using for example the following command:
    133152{{{#!sh
    134 cd 1.4-stable
     153cd 1.6-stable
    135154python setup.py install
    136155}}}
     
    138157Alternatively, you can directly "pip install" the latest stable version from the repository:
    139158{{{#!sh
    140 pip install svn+https://svn.edgewall.org/repos/trac/branches/1.4-stable
     159pip install svn+https://svn.edgewall.org/repos/trac/branches/1.6-stable
    141160}}}
    142161
     
    152171We recommend that you choose some well visible place (e.g. `/opt/trac-1.4dev`), and override the PYTHONPATH environment variable (or !PythonPath path directive for `mod_python`) by ''prepending'' the `/opt/trac-1.4dev/lib/python2.7/site-packages` path (replace 2.7 by the Python version that you actually use). That way, you minimize the risk of interfering with the packaged Trac version you probably already have.
    153172{{{#!sh
    154 $ cd 1.4-stable
    155 $ python setup.py install --prefix=/opt/trac-1.4dev
     173$ cd 1.6-stable
     174$ python setup.py install --prefix=/opt/trac-1.6dev
    156175}}}
    157176then:
    158177{{{#!sh
    159 $ export PYTHONPATH=/opt/trac-1.4dev/lib/python2.7/site-packages:$PYTHONPATH
     178$ export PYTHONPATH=/opt/trac-1.6dev/lib/python2.7/site-packages:$PYTHONPATH
    160179}}}
    161180or, in your httpd.conf:
     
    163182<Location /projects/myproject>
    164183  ...
    165   PythonPath "['/opt/trac-1.4dev/lib/python2.7/site-packages'] + sys.path"
     184  PythonPath "['/opt/trac-1.46ev/lib/python2.7/site-packages'] + sys.path"
    166185  ...
    167186</Location>