Browse Source

Doesn't work under 2.3 anymore (symptom: can't shut down without kill -9'ing ths supervisord program).

Chris McDonough 19 years ago
parent
commit
679384aed7
2 changed files with 14 additions and 17 deletions
  1. 12 14
      TODO.txt
  2. 2 3
      setup.py

+ 12 - 14
TODO.txt

@@ -34,25 +34,23 @@
 
 - packaging.
 
-- test under py 2.3 to make setup.py assertions true
-
 - supervisorctl command history
 
 - test startup as root
 
 - stop logging all RPC requests in info mode when we ship
 
- - Collector issue 152:
-
-   I'd like supervisor to look after a number of postgres instances
-   (well, initially only 1, but I will need it to manage 3). The first
-   difficulty I had was that the postgres start-up program (pg_ctl)
-   takes an options param that it passes directly to the postmaster
-   program it controls, which can contain several options that only
-   the postmaster understands and it expects these to be in quotes so
-   they are treated as a group, e.g pg_ctl -o "-p 4321 -h hostname -d
-   datadir" but supervisor doesn't appear to preserve the quotes. In
-   my case I only need the one option so I used -o "-p4321", as a
-   workaround.
+- Collector issue 152:
+
+  I'd like supervisor to look after a number of postgres instances
+  (well, initially only 1, but I will need it to manage 3). The first
+  difficulty I had was that the postgres start-up program (pg_ctl)
+  takes an options param that it passes directly to the postmaster
+  program it controls, which can contain several options that only the
+  postmaster understands and it expects these to be in quotes so they
+  are treated as a group, e.g pg_ctl -o "-p 4321 -h hostname -d
+  datadir" but supervisor doesn't appear to preserve the quotes. In my
+  case I only need the one option so I used -o "-p4321", as a
+  workaround.
 
 

+ 2 - 3
setup.py

@@ -6,14 +6,13 @@ import string
 version, extra = string.split(sys.version, ' ', 1)
 maj, minor = string.split(version, '.', 1)
 
-if not maj[0] >= '2' and minor[0] >= '3':
-    msg = ("supervisor requires Python 2.3 or better, you are attempting to "
+if not maj[0] >= '2' and minor[0] >= '4':
+    msg = ("supervisor requires Python 2.4 or better, you are attempting to "
            "install it using version %s.  Please install with a "
            "supported version" % version)
 
 from distutils.core import setup
 
-
 setup(
     name = 'supervisor',
     version = "0.1",