Diff
Modified: trunk/docs/about.txt (1022 => 1023)
--- trunk/docs/about.txt 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/about.txt 2019-10-03 19:40:24 UTC (rev 1023)
@@ -36,7 +36,7 @@
D'Arcy (da...@druid.net) renamed it to PyGreSQL starting with
version 2.0 and serves as the "BDFL" of PyGreSQL.
-The current version PyGreSQL 5.1 needs PostgreSQL 9.0 to 9.6 or 10 or 11, and
-Python 2.6, 2.7 or 3.3 to 3.7. If you need to support older PostgreSQL versions
+The current version PyGreSQL 5.1 needs PostgreSQL 9.0 to 9.6 or 10 to 12, and
+Python 2.6, 2.7 or 3.3 to 3.8. If you need to support older PostgreSQL versions
or older Python 2.x versions, you can resort to the PyGreSQL 4.x versions that
still support them.
Modified: trunk/docs/announce.rst (1022 => 1023)
--- trunk/docs/announce.rst 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/announce.rst 2019-10-03 19:40:24 UTC (rev 1023)
@@ -2,13 +2,13 @@
PyGreSQL Announcements
======================
--------------------------------
-Release of PyGreSQL version 5.1
--------------------------------
+---------------------------------
+Release of PyGreSQL version 5.1.1
+---------------------------------
-Release 5.1 of PyGreSQL.
+Release 5.1.1 of PyGreSQL.
-It is available at: http://pygresql.org/files/PyGreSQL-5.1.tar.gz.
+It is available at: http://pygresql.org/files/PyGreSQL-5.1.1.tar.gz.
If you are running NetBSD, look in the packages directory under databases.
There is also a package in the FreeBSD ports collection.
@@ -22,8 +22,8 @@
- openSUSE
- Ubuntu
- Windows 7 and 10 with both MinGW and Visual Studio
- - PostgreSQL 9.0 to 9.6 and 10 or 11 (32 and 64bit)
- - Python 2.6, 2.7 and 3.3 to 3.7 (32 and 64bit)
+ - PostgreSQL 9.0 to 9.6 and 10 tp 11 (32 and 64bit)
+ - Python 2.6, 2.7 and 3.3 to 3.8 (32 and 64bit)
| D'Arcy J.M. Cain
| da...@pygresql.org
Modified: trunk/docs/contents/changelog.rst (1022 => 1023)
--- trunk/docs/contents/changelog.rst 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/contents/changelog.rst 2019-10-03 19:40:24 UTC (rev 1023)
@@ -2,6 +2,8 @@
=========
Version 5.1.1 (...)
+-------------------
+- This version officially supports the new Python 3.8 and PostgreSQL 12.
- This version changes internal queries so that they cannot be exploited using
a PostgreSQL security vulnerability described as CVE-2018-1058.
Modified: trunk/docs/contents/install.rst (1022 => 1023)
--- trunk/docs/contents/install.rst 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/contents/install.rst 2019-10-03 19:40:24 UTC (rev 1023)
@@ -11,7 +11,7 @@
libpq.dll is part of your ``PATH`` environment variable.
The current version of PyGreSQL has been tested with Python versions
-2.6, 2.7 and 3.3 to 3.7, and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
+2.6, 2.7 and 3.3 to 3.8, and PostgreSQL versions 9.0 to 9.6 and 10 to 12.
PyGreSQL will be installed as three modules, a shared library called
_pg.so (on Linux) or a DLL called _pg.pyd (on Windows), and two pure
Modified: trunk/docs/contents/pg/adaptation.rst (1022 => 1023)
--- trunk/docs/contents/pg/adaptation.rst 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/contents/pg/adaptation.rst 2019-10-03 19:40:24 UTC (rev 1023)
@@ -363,7 +363,7 @@
True
However, calculating the intersection points between the two circles using the
-``#`` operator does not work (at least not as of PostgreSQL version 11).
+``#`` operator does not work (at least not as of PostgreSQL version 12).
So let's resort to SymPy to find out. To ease importing circles from
PostgreSQL to SymPy, we create and register the following typecast function::
Modified: trunk/docs/download/download.rst (1022 => 1023)
--- trunk/docs/download/download.rst 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/docs/download/download.rst 2019-10-03 19:40:24 UTC (rev 1023)
@@ -17,12 +17,13 @@
An **openSUSE package** is available through their build service at
* https://software.opensuse.org/package/PyGreSQL?search_term=pygresql
A **Win32 installer** for various Python versions is available at
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.6.exe
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.7.exe
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.4.exe
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.5.exe
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.6.exe
- * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py2.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py2.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py3.4.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py3.5.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py3.6.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py3.7.exe
+ * http://pygresql.org/files/PyGreSQL-5.1.1.win-amd64-py3.8.exe
Older PyGreSQL versions
-----------------------
Modified: trunk/mktar (1022 => 1023)
--- trunk/mktar 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/mktar 2019-10-03 19:40:24 UTC (rev 1023)
@@ -1,6 +1,6 @@
#!/bin/sh
-VERSION=5.1
+VERSION=5.1.1
DISTDIR=/u/WEB/pyg/files
# some safety tests
Modified: trunk/setup.py (1022 => 1023)
--- trunk/setup.py 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/setup.py 2019-10-03 19:40:24 UTC (rev 1023)
@@ -8,7 +8,7 @@
#
# Please see the LICENSE.TXT file for specific restrictions.
-"""Setup script for PyGreSQL version 5.1
+"""Setup script for PyGreSQL version 5.1.1
PyGreSQL is an open-source Python module that interfaces to a
PostgreSQL database. It embeds the PostgreSQL query library to allow
@@ -28,8 +28,8 @@
* PostgreSQL pg_config tool (usually included in the devel package)
(the Windows installer has it as part of the database server feature)
-PyGreSQL currently supports Python versions 2.6, 2.7 and 3.3 to 3.7,
-and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
+PyGreSQL currently supports Python versions 2.6, 2.7 and 3.3 to 3.8,
+and PostgreSQL versions 9.0 to 9.6 and 10 to 12.
Use as follows:
python setup.py build # to build the module
@@ -40,7 +40,7 @@
"""
-version = '5.1'
+version = '5.1.1'
import sys
@@ -219,6 +219,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
"Programming Language :: SQL",
"Topic :: Database",
"Topic :: Database :: Front-Ends",
Modified: trunk/tests/test_classic_connection.py (1022 => 1023)
--- trunk/tests/test_classic_connection.py 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/tests/test_classic_connection.py 2019-10-03 19:40:24 UTC (rev 1023)
@@ -167,7 +167,7 @@
def testAttributeServerVersion(self):
server_version = self.connection.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 120000)
+ self.assertTrue(90000 <= server_version < 130000)
def testAttributeSocket(self):
socket = self.connection.socket
Modified: trunk/tests/test_classic_dbwrapper.py (1022 => 1023)
--- trunk/tests/test_classic_dbwrapper.py 2019-10-03 19:10:37 UTC (rev 1022)
+++ trunk/tests/test_classic_dbwrapper.py 2019-10-03 19:40:24 UTC (rev 1023)
@@ -276,7 +276,9 @@
def testAttributeServerVersion(self):
server_version = self.db.server_version
self.assertIsInstance(server_version, int)
- self.assertTrue(90000 <= server_version < 120000)
+ print("SERVERVERSION",server_version)
+ print("PORT",dbport)
+ self.assertTrue(90000 <= server_version < 130000)
self.assertEqual(server_version, self.db.db.server_version)
def testAttributeSocket(self):