Parcourir la source

Python 2.3 is no longer supported

Mike Naberezny il y a 13 ans
Parent
commit
fa3796ae12
4 fichiers modifiés avec 20 ajouts et 21 suppressions
  1. 3 0
      CHANGES.txt
  2. 2 3
      README.rst
  3. 13 16
      docs/introduction.rst
  4. 2 2
      setup.py

+ 3 - 0
CHANGES.txt

@@ -1,6 +1,9 @@
 Next release
 ------------
 
+- Python 2.3 is no longer supported.  The last version that supported Python
+  2.3 is Supervisor 3.0a12.
+
 - Removed the unused "supervisor_rpc" entry point from setup.py.
 
 3.0a12 (2011-06-06)

+ 2 - 3
README.rst

@@ -13,9 +13,8 @@ likely work fine on most UNIX systems.
 
 Supervisor will not run at all under any version of Windows.
 
-Supervisor is known to work with Python 2.3.3 or better, and it may work with
-Python 2.3.0, Python 2.3.1 and Python 2.3.2 (although these have not been
-tested).  It will not work under Python versions 2.2 or before.
+Supervisor is known to work with Python 2.4 or later but will not work
+under any version of Python 3.
 
 Documentation
 -------------

+ 13 - 16
docs/introduction.rst

@@ -54,7 +54,7 @@ Distributed Control
   and automatically controlling processes on groups of machines.
 
 Process Groups
-      
+
   Processes often need to be started and stopped in groups, sometimes
   even in a "priority order".  It's often difficult to explain to
   people how to do this.  Supervisor allows you to assign priorities
@@ -128,7 +128,7 @@ Supervisor Components
   unencrypted usernames and passwords.
 
 :program:`supervisorctl`
-      
+
   The command-line client piece of the supervisor is named
   :program:`supervisorctl`.  It provides a shell-like interface to the
   features provided by :program:`supervisord`.  From
@@ -136,7 +136,7 @@ Supervisor Components
   :program:`supervisord` processes, get status on the subprocesses
   controlled by, stop and start subprocesses of, and get lists of
   running processes of a :program:`supervisord`.
-          
+
   The command-line client talks to the server across a UNIX domain
   socket or an internet (TCP) socket.  The server can assert that the
   user of a client should present authentication credentials before it
@@ -145,7 +145,7 @@ Supervisor Components
   with a ``[supervisorctl]`` section in it will work.
 
 Web Server
-      
+
   A (sparse) web user interface with functionality comparable to
   :program:`supervisorctl` may be accessed via a browser if you start
   :program:`supervisord` against an internet socket.  Visit the server
@@ -166,11 +166,11 @@ XML-RPC Interface
 
      import xmlrpclib
      server = xmlrpclib.Server('http://localhost:9001/RPC2')
-          
+
   You may call methods against the :program:`supervisord` and its
   subprocesses by using the ``supervisor`` namespace.  An example is
   provided below.
-          
+
   .. code-block:: python
 
      server.supervisor.getState()
@@ -180,20 +180,20 @@ XML-RPC Interface
   ``system.listMethods`` API:
 
   .. code-block:: python
-          
+
      server.system.listMethods()
-          
+
   You can see help on a method by using the ``system.methodHelp`` API
   against the method:
 
   .. code-block:: python
-          
+
      print server.system.methodHelp('supervisor.shutdown')
 
   The :program:`supervisord` XML-RPC interface also supports the
   nascent `XML-RPC multicall API
   <http://www.xmlrpc.com/discuss/msgReader$1208>`_.
-          
+
   You can extend :program:`supervisord` functionality with new XML-RPC
   API methods by adding new top-level RPC interfaces as necessary.
   See :ref:`rpcinterface_factories`.
@@ -204,11 +204,8 @@ Platform Requirements
 Supervisor has been tested and is known to run on Linux (Ubuntu 9.10),
 Mac OS X (10.4/10.5/10.6), and Solaris (10 for Intel) and FreeBSD 6.1.
 It will likely work fine on most UNIX systems.
-      
-Supervisor will *not* run at all under any version of Windows.
 
-Supervisor is known to work with Python 2.3.3 or better, and it may
-work with Python 2.3.0, Python 2.3.1 and Python 2.3.2 (although these
-have not been tested).  It will not work at all with Python versions
-before 2.3.0.  Supervisor is not compatible with Python 3.X.
+Supervisor will *not* run at all under any version of Windows.
 
+Supervisor is known to work with Python 2.4 or later but will not work
+under any version of Python 3.

+ 2 - 2
setup.py

@@ -15,8 +15,8 @@
 import os
 import sys
 
-if sys.version_info[:2] < (2, 3) or sys.version_info[0] > 2:
-    msg = ("Supervisor requires Python 2.3 or later but does not work on "
+if sys.version_info[:2] < (2, 4) or sys.version_info[0] > 2:
+    msg = ("Supervisor requires Python 2.4 or later but does not work on "
            "any version of Python 3.  You are using version %s.  Please "
            "install using a supported version." % sys.version)
     sys.stderr.write(msg)