Skip to content

Commit

Permalink
Support Python 3.6 and PostgreSQL 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito committed Jan 6, 2017
1 parent 25f04b3 commit 6d89d75
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"

install:
- pip install .
Expand All @@ -17,7 +18,7 @@ install:
script: python setup.py test

addons:
postgresql: "9.4"
postgresql: "9.6"

services:
- postgresql
Expand Down
4 changes: 2 additions & 2 deletions docs/announce.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ This version has been built and unit tested on:
- openSUSE
- Ubuntu
- Windows 7 with both MinGW and Visual Studio
- PostgreSQL 9.0 to 9.5 32 and 64bit
- Python 2.6, 2.7, 3.3, 3.4 and 3.5 32 and 64bit
- PostgreSQL 9.0 to 9.6 32 and 64bit
- Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6 32 and 64bit

| D'Arcy J.M. Cain
| darcy@PyGreSQL.org
1 change: 1 addition & 0 deletions docs/contents/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ChangeLog

Version 5.0.4 (to be released)
------------------------------
- This version officially supports the new Python 3.6 and PostgreSQL 9.6.
- query_formatted() can now be used without parameters.
- The automatic renaming of columns that are invalid as field names of
named tuples now works more accurately in Python 2.6 and 3.0.
Expand Down
2 changes: 1 addition & 1 deletion docs/contents/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ are on Windows, make sure that the directory with libpq.dll is in your
``PATH`` environment variable.

The current version of PyGreSQL has been tested with Python versions
2.6, 2.7, 3.3, 3.4, 3.5 and PostGreSQL version 9.0 to 9.5.
2.6, 2.7, 3.3 to 3.6 and PostGreSQL version 9.0 to 9.6.

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.
Expand Down
2 changes: 1 addition & 1 deletion docs/contents/pg/adaptation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ With PostgreSQL we can easily calculate that these two circles overlap::
True

However, calculating the intersection points between the two circles using the
``#`` operator does not work (at least not as of PostgreSQL version 9.5).
``#`` operator does not work (at least not as of PostgreSQL version 9.6).
So let' resort to SymPy to find out. To ease importing circles from
PostgreSQL to SymPy, we create and register the following typecast function::

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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-2.7, 3.3-3.5 and PostgreSQL 9.0-9.5.
The supported versions are Python 2.6-2.7, 3.3-3.6 and PostgreSQL 9.0-9.6.
Use as follows:
python setup.py build # to build the module
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# config file for tox 2.0

[tox]
envlist = py{26,27,33,34,35}
envlist = py{26,27,33,34,35,36}

[testenv]
deps =
py26: unittest2
commands =
py26: unit2 discover []
py{27,33,34,35}: python -m unittest discover []
py{27,33,34,35,36}: python -m unittest discover []

0 comments on commit 6d89d75

Please sign in to comment.