Author: cito
Date: Fri Nov 27 19:10:55 2015
New Revision: 654

Log:
Specify supported Python versions for the 5.x branch

Tests for Python 2.6, 2.7, 3.3, 3.4, 3.5 are running now, so we can specify 
these
versions as supported in this branch. Older versions are still supported in 4.x.

A config file for testing with tox has been added.

Added:
   trunk/module/tox.ini
Modified:
   trunk/docs/announce.txt
   trunk/docs/changelog.txt
   trunk/docs/install.txt
   trunk/module/setup.py

Modified: trunk/docs/announce.txt
==============================================================================
--- trunk/docs/announce.txt     Fri Nov 27 17:40:27 2015        (r653)
+++ trunk/docs/announce.txt     Fri Nov 27 19:10:55 2015        (r654)
@@ -3,12 +3,12 @@
 ======================
 
 -------------------------------
-Release of PyGreSQL version 4.2
+Release of PyGreSQL version 5.0
 -------------------------------
 
-Release 4.2 of PyGreSQL.
+Release 5.0 of PyGreSQL.
 
-It is available at: http://pygresql.org/files/PyGreSQL-4.2.tgz.
+It is available at: http://pygresql.org/files/PyGreSQL-5.0.tgz.
 
 If you are running NetBSD, look in the packages directory under databases.
 There is also a package in the FreeBSD ports collection.
@@ -22,10 +22,11 @@
 This version has been built and unit tested on:
  - NetBSD
  - FreeBSD
- - openSUSE 12.2
+ - openSUSE
+ - Ubuntu
  - Windows 7 with both MinGW and Visual Studio
- - PostgreSQL 8.4, 9.0 and 9.2 32 and 64bit
- - Python 2.5, 2.6 and 2.7 32 and 64bit
+ - PostgreSQL 9.0 and 9.3 64bit
+ - Python 2.6, 2.7, 3.3, 3.4 and 3.5 32 and 64bit
 
 | D'Arcy J.M. Cain
 | [email protected]

Modified: trunk/docs/changelog.txt
==============================================================================
--- trunk/docs/changelog.txt    Fri Nov 27 17:40:27 2015        (r653)
+++ trunk/docs/changelog.txt    Fri Nov 27 19:10:55 2015        (r654)
@@ -1,15 +1,23 @@
 ChangeLog
 =========
 
+Version 5.0
+-----------
+- This version runs on both Python 2 and Python 3.
+- The supported versions are Python 2.6, 2.7, 3.3, 3.4 and 3.5.
+- The supported PostgreSQL versions are 9.0, 9.1, 9.2, 9.3 and 9.4.
+
+
 Version 4.2
 -----------
 - Set a better default for the user option "escaping-funcs".
-- Greatly improve unit testing.
 - Force build to compile with no errors.
 - Fix decimal point handling.
 - Add option to return boolean values as bool objects.
 - Add option to return money values as string.
 - Fix notification handler (Thanks Patrick TJ McPhee).
+- Fix a small issue with large objects.
+- Greatly improve unit testing, tests run with Python 2.4 to 2.7 again.
 
 Version 4.1.1 (2013-01-08)
 --------------------------

Modified: trunk/docs/install.txt
==============================================================================
--- trunk/docs/install.txt      Fri Nov 27 17:40:27 2015        (r653)
+++ trunk/docs/install.txt      Fri Nov 27 19:10:55 2015        (r654)
@@ -11,8 +11,7 @@
 ``PATH`` environment variable.
 
 The current version of PyGreSQL has been tested with Python versions
-2.7, 3.4 and PostGreSQL version 9.4. Older version should work as well,
-but you will need at least Python 2.6 and PostgreSQL 9.0.
+2.6, 2.7, 3.3, 3.4, 3.5 and PostGreSQL version 9.0 to 9.4.
 
 PyGreSQL will be installed as three modules, a dynamic module called
 _pg.pyd, and two pure Python wrapper modules called pg.py and pgdb.py.

Modified: trunk/module/setup.py
==============================================================================
--- trunk/module/setup.py       Fri Nov 27 17:40:27 2015        (r653)
+++ trunk/module/setup.py       Fri Nov 27 19:10:55 2015        (r654)
@@ -21,7 +21,7 @@
 * PostgreSQL pg_config tool (usually included in the devel package)
   (the Windows installer has it as part of the database server feature)
 
-The supported versions are Python 2.6-3.5 and PostgreSQL 9.0-9.5.
+The supported versions are Python 2.6-2.7, 3.3-3.5 and PostgreSQL 9.0-9.5.
 
 Use as follows:
 python setup.py build   # to build the module
@@ -40,7 +40,8 @@
 
 import sys
 
-if not (2, 6) <= sys.version_info[:2] <= (3, 5):
+if (not (2, 6) <= sys.version_info[:2] <= (2, 7)
+        and not (3, 3) <= sys.version_info[:2] <= (3, 5)):
     raise Exception("Sorry, PyGreSQL %s"
         " does not support this Python version" % version)
 
@@ -185,7 +186,14 @@
         "License :: OSI Approved :: Python Software Foundation License",
         "Operating System :: OS Independent",
         "Programming Language :: C",
-        "Programming Language :: Python",
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
+        'Programming Language :: Python :: 2.6',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3',
+        'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
         "Programming Language :: SQL",
         "Topic :: Database",
         "Topic :: Database :: Front-Ends",

Added: trunk/module/tox.ini
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/module/tox.ini        Fri Nov 27 19:10:55 2015        (r654)
@@ -0,0 +1,11 @@
+# config file for tox 2.0
+
+[tox]
+envlist = py{26,27,33,34,35}
+
+[testenv]
+deps =
+    py26: unittest2
+commands =
+    py26: unit2 discover []
+    py{27,33,34,35}: python -m unittest discover []
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to