Patchwork [website] downloads: reflect Python 2.6 deprecation

login
register
mail settings
Submitter Gregory Szorc
Date July 29, 2017, 5:29 a.m.
Message ID <837ea125440d123af5f1.1501306145@ubuntu-vm-main>
Download mbox | patch
Permalink /patch/22573/
State Accepted
Headers show

Comments

Gregory Szorc - July 29, 2017, 5:29 a.m.
# HG changeset patch
# User Gregory Szorc <gregory.szorc@gmail.com>
# Date 1501306104 25200
#      Fri Jul 28 22:28:24 2017 -0700
# Node ID 837ea125440d123af5f17d7103988b79ccb200fb
# Parent  0978d4880577bde9b551b999c33d237dd8603b85
downloads: reflect Python 2.6 deprecation

Mercurial 4.3 drops support for Python 2.6. Update the
downloads page to reflect that.
Sean Farley - July 30, 2017, 4:08 a.m.
Gregory Szorc <gregory.szorc@gmail.com> writes:

> # HG changeset patch
> # User Gregory Szorc <gregory.szorc@gmail.com>
> # Date 1501306104 25200
> #      Fri Jul 28 22:28:24 2017 -0700
> # Node ID 837ea125440d123af5f17d7103988b79ccb200fb
> # Parent  0978d4880577bde9b551b999c33d237dd8603b85
> downloads: reflect Python 2.6 deprecation
>
> Mercurial 4.3 drops support for Python 2.6. Update the
> downloads page to reflect that.

Much obliged! Queued

Patch

diff --git a/templates/downloads/index.html b/templates/downloads/index.html
--- a/templates/downloads/index.html
+++ b/templates/downloads/index.html
@@ -65,12 +65,11 @@ 
     <h5>Requirements</h5>
     <dl>
       <dt>Python</dt>
-      <dd>Mercurial uses <a href="http://www.python.org">Python</a>
-          (versions <em>2.6</em> through <em>2.7</em>).  Most
-          ready-to-run Mercurial distributions include Python or use
-          the Python that comes with your operating system.  When
-          building from source you should confirm that an appropriate
-          Python version is available.</dd>
+      <dd>Mercurial uses <a href="https://www.python.org">Python</a>
+          (version <em>2.7</em>). Most ready-to-run Mercurial
+          distributions include Python or use the Python that comes
+          with your operating system.
+      </dd>
     </dl>
 
     <h5>Older Releases</h5>
@@ -79,6 +78,11 @@ 
       <dd>For more information about version support, see
           <a href="https://www.mercurial-scm.org/wiki/SupportedPythonVersions">Supported
           Python Versions</a> on the wiki.</dd>
+      <dt>Python 2.6</dt>
+      <dd><a href="/release/mercurial-4.2.2.tar.gz">Mercurial 4.2.2</a>
+          is the last release to support Python 2.6. Use this if you need
+          to run Mercurial on old platforms and you cannot update your
+          Python installation.</dd>
       <dt>Python 2.5</dt>
       <dd><a href="/release/mercurial-3.4.2.tar.gz">Mercurial 3.4.2</a>
           is the last release to support Python 2.5.  Use this if you