Changeset 960


Ignore:
Timestamp:
Jan 4, 2019, 12:49:21 PM (8 months ago)
Author:
cito
Message:

Update version numbers

Files:
32 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0.x/docs/about.txt

    r951 r960  
    3737version 2.0 and serves as the "BDFL" of PyGreSQL.
    3838
    39 The current version PyGreSQL 5.0.6 needs PostgreSQL 9.0 to 9.6 or 10, and
     39The current version PyGreSQL 5.0.7 needs PostgreSQL 9.0 to 9.6 or 10 or 11, and
    4040Python 2.6, 2.7 or 3.3 to 3.7. If you need to support older PostgreSQL versions
    4141or older Python 2.x versions, you can resort to the PyGreSQL 4.x versions that
  • branches/5.0.x/docs/announce.rst

    r940 r960  
    44
    55---------------------------------
    6 Release of PyGreSQL version 5.0.6
     6Release of PyGreSQL version 5.0.7
    77---------------------------------
    88
    9 Release 5.0.6 of PyGreSQL.
     9Release 5.0.7 of PyGreSQL.
    1010
    11 It is available at: http://pygresql.org/files/PyGreSQL-5.0.6.tar.gz.
     11It is available at: http://pygresql.org/files/PyGreSQL-5.0.7.tar.gz.
    1212
    1313If you are running NetBSD, look in the packages directory under databases.
     
    2626 - Ubuntu
    2727 - Windows 7 and 10 with both MinGW and Visual Studio
    28  - PostgreSQL 9.0 to 9.6 and 10 (32 and 64bit)
     28 - PostgreSQL 9.0 to 9.6 and 10 or 11 (32 and 64bit)
    2929 - Python 2.6, 2.7 and 3.3 to 3.7 (32 and 64bit)
    3030
  • branches/5.0.x/docs/conf.py

    r951 r960  
    7171version = '5.0'
    7272# The full version, including alpha/beta/rc tags.
    73 release = '5.0.6'
     73release = '5.0.7'
    7474
    7575# The language for content autogenerated by Sphinx. Refer to documentation
  • branches/5.0.x/docs/contents/changelog.rst

    r950 r960  
    44Vesion 5.0.7 (2019-mm-dd)
    55-------------------------
     6- This version officially supports the new PostgreSQL 11.
    67- Fixed a bug in parsing array subscript ranges (reported by Justin Pryzby).
    78
  • branches/5.0.x/docs/contents/general.rst

    r850 r960  
    1616
    1717    **DB-API 2.0** (Python Database API Specification v2.0)
    18     is a specification for connecting to databases (not only PostGreSQL)
     18    is a specification for connecting to databases (not only PostgreSQL)
    1919    from Python that has been developed by the Python DB-SIG in 1999.
    2020    The authoritative programming information for the DB-API is :pep:`0249`.
  • branches/5.0.x/docs/contents/install.rst

    r940 r960  
    1212
    1313The current version of PyGreSQL has been tested with Python versions
    14 2.6, 2.7 and 3.3 to 3.7, and PostGreSQL versions 9.0 to 9.6 and 10.
     142.6, 2.7 and 3.3 to 3.7, and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
    1515
    1616PyGreSQL will be installed as three modules, a dynamic module called
  • branches/5.0.x/docs/contents/pg/adaptation.rst

    r950 r960  
    364364
    365365However, calculating the intersection points between the two circles using the
    366 ``#`` operator does not work (at least not as of PostgreSQL version 10).
     366``#`` operator does not work (at least not as of PostgreSQL version 11).
    367367So let's resort to SymPy to find out.  To ease importing circles from
    368368PostgreSQL to SymPy, we create and register the following typecast function::
  • branches/5.0.x/docs/contents/pg/connection.rst

    r814 r960  
    7777
    7878    Reset the :mod:`pg` connection
    79    
     79
    8080    :rtype: None
    8181    :raises TypeError: too many (any) arguments
     
    102102
    103103    Close the :mod:`pg` connection
    104    
     104
    105105    :rtype: None
    106106    :raises TypeError: too many (any) arguments
     
    353353
    354354    :param int mode: large object create mode
    355     :returns: object handling the PostGreSQL large object
     355    :returns: object handling the PostgreSQL large object
    356356    :rtype: :class:`LargeObject`
    357357    :raises TypeError: invalid connection, bad parameter type, or too many parameters
     
    371371
    372372    :param int oid: OID of the existing large object
    373     :returns: object handling the PostGreSQL large object
     373    :returns: object handling the PostgreSQL large object
    374374    :rtype: :class:`LargeObject`
    375375    :raises TypeError:  invalid connection, bad parameter type, or too many parameters
     
    387387
    388388    :param str name: the name of the file to be imported
    389     :returns: object handling the PostGreSQL large object
     389    :returns: object handling the PostgreSQL large object
    390390    :rtype: :class:`LargeObject`
    391391    :raises TypeError: invalid connection, bad argument type, or too many arguments
  • branches/5.0.x/docs/contents/pg/module.rst

    r888 r960  
    371371PostgreSQL monetary values when converting them to decimal numbers.
    372372The default setting is ``'.'`` as a decimal point. This setting is not
    373 adapted automatically to the locale used by PostGreSQL, but you can use
     373adapted automatically to the locale used by PostgreSQL, but you can use
    374374:func:`set_decimal()` to set a different decimal mark manually.  A return
    375375value of ``None`` means monetary values are not interpreted as decimal
     
    387387to interpret PostgreSQL monetary values. The default value is '.' as
    388388a decimal point. This value is not adapted automatically to the locale
    389 used by PostGreSQL, so if you are dealing with a database set to a
     389used by PostgreSQL, so if you are dealing with a database set to a
    390390locale that uses a ``','`` instead of ``'.'`` as the decimal point,
    391391then you need to call ``set_decimal(',')`` to have PyGreSQL interpret
  • branches/5.0.x/docs/contents/pgdb/introduction.rst

    r710 r960  
    99
    1010**DB-API 2.0** (Python Database API Specification v2.0)
    11 is a specification for connecting to databases (not only PostGreSQL)
     11is a specification for connecting to databases (not only PostgreSQL)
    1212from Python that has been developed by the Python DB-SIG in 1999.
    1313The authoritative programming information for the DB-API is :pep:`0249`.
  • branches/5.0.x/docs/download/download.rst

    r940 r960  
    1818  * https://software.opensuse.org/package/PyGreSQL?search_term=pygresql
    1919A **Win32 installer** for various Python versions is available at
    20   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.6.exe
    21   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.7.exe
    22   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.4.exe
    23   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.5.exe
    24   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.6.exe
    25   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.7.exe
     20  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py2.6.exe
     21  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py2.7.exe
     22  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.4.exe
     23  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.5.exe
     24  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.6.exe
     25  * http://pygresql.org/files/PyGreSQL-5.0.7.win-amd64-py3.7.exe
    2626
    2727Older PyGreSQL versions
  • branches/5.0.x/mktar

    r940 r960  
    11#! /bin/sh
    22
    3 VERSION=5.0.6
     3VERSION=5.0.7
    44DISTDIR=/u/WEB/pyg/files
    55
  • branches/5.0.x/pg.py

    r951 r960  
    14731473
    14741474
    1475 # The actual PostGreSQL database connection interface:
     1475# The actual PostgreSQL database connection interface:
    14761476
    14771477class DB:
  • branches/5.0.x/setup.py

    r940 r960  
    22# $Id$
    33
    4 """Setup script for PyGreSQL version 5.0.6
     4"""Setup script for PyGreSQL version 5.0.7
    55
    66PyGreSQL is an open-source Python module that interfaces to a
     
    3434"""
    3535
    36 version = '5.0.6'
     36version = '5.0.7'
    3737
    3838
  • branches/5.0.x/tests/test_classic_connection.py

    r959 r960  
    164164        server_version = self.connection.server_version
    165165        self.assertIsInstance(server_version, int)
    166         self.assertTrue(90000 <= server_version < 110000)
     166        self.assertTrue(90000 <= server_version < 120000)
    167167
    168168    def testAttributeStatus(self):
  • branches/5.0.x/tests/test_classic_dbwrapper.py

    r928 r960  
    275275        server_version = self.db.server_version
    276276        self.assertIsInstance(server_version, int)
    277         self.assertTrue(90000 <= server_version < 110000)
     277        self.assertTrue(90000 <= server_version < 120000)
    278278        self.assertEqual(server_version, self.db.db.server_version)
    279279
  • trunk/docs/about.txt

    r951 r960  
    3737version 2.0 and serves as the "BDFL" of PyGreSQL.
    3838
    39 The current version PyGreSQL 5.0.6 needs PostgreSQL 9.0 to 9.6 or 10, and
     39The current version PyGreSQL 5.1 needs PostgreSQL 9.0 to 9.6 or 10 or 11, and
    4040Python 2.6, 2.7 or 3.3 to 3.7. If you need to support older PostgreSQL versions
    4141or older Python 2.x versions, you can resort to the PyGreSQL 4.x versions that
  • trunk/docs/announce.rst

    r940 r960  
    33======================
    44
    5 ---------------------------------
    6 Release of PyGreSQL version 5.0.6
    7 ---------------------------------
     5-------------------------------
     6Release of PyGreSQL version 5.1
     7-------------------------------
    88
    9 Release 5.0.6 of PyGreSQL.
     9Release 5.1 of PyGreSQL.
    1010
    11 It is available at: http://pygresql.org/files/PyGreSQL-5.0.6.tar.gz.
     11It is available at: http://pygresql.org/files/PyGreSQL-5.1.tar.gz.
    1212
    1313If you are running NetBSD, look in the packages directory under databases.
     
    2626 - Ubuntu
    2727 - Windows 7 and 10 with both MinGW and Visual Studio
    28  - PostgreSQL 9.0 to 9.6 and 10 (32 and 64bit)
     28 - PostgreSQL 9.0 to 9.6 and 10 or 11 (32 and 64bit)
    2929 - Python 2.6, 2.7 and 3.3 to 3.7 (32 and 64bit)
    3030
  • trunk/docs/conf.py

    r951 r960  
    6969#
    7070# The short X.Y version.
    71 version = '5.0'
     71version = '5.1'
    7272# The full version, including alpha/beta/rc tags.
    73 release = '5.0.6'
     73release = '5.1'
    7474
    7575# The language for content autogenerated by Sphinx. Refer to documentation
  • trunk/docs/contents/changelog.rst

    r948 r960  
    22=========
    33
    4 Version 5.1
    5 -----------
     4Version 5.1 (2019-mm-dd)
     5------------------------
    66- ...
    77
    88Vesion 5.0.7 (2019-mm-dd)
    99-------------------------
     10- This version officially supports the new PostgreSQL 11.
    1011- Fixed a bug in parsing array subscript ranges (reported by Justin Pryzby).
    1112
  • trunk/docs/contents/general.rst

    r850 r960  
    1616
    1717    **DB-API 2.0** (Python Database API Specification v2.0)
    18     is a specification for connecting to databases (not only PostGreSQL)
     18    is a specification for connecting to databases (not only PostgreSQL)
    1919    from Python that has been developed by the Python DB-SIG in 1999.
    2020    The authoritative programming information for the DB-API is :pep:`0249`.
  • trunk/docs/contents/install.rst

    r940 r960  
    1212
    1313The current version of PyGreSQL has been tested with Python versions
    14 2.6, 2.7 and 3.3 to 3.7, and PostGreSQL versions 9.0 to 9.6 and 10.
     142.6, 2.7 and 3.3 to 3.7, and PostgreSQL versions 9.0 to 9.6 and 10 or 11.
    1515
    1616PyGreSQL will be installed as three modules, a dynamic module called
  • trunk/docs/contents/pg/adaptation.rst

    r945 r960  
    364364
    365365However, calculating the intersection points between the two circles using the
    366 ``#`` operator does not work (at least not as of PostgreSQL version 10).
     366``#`` operator does not work (at least not as of PostgreSQL version 11).
    367367So let's resort to SymPy to find out.  To ease importing circles from
    368368PostgreSQL to SymPy, we create and register the following typecast function::
  • trunk/docs/contents/pg/connection.rst

    r957 r960  
    429429
    430430    :param int mode: large object create mode
    431     :returns: object handling the PostGreSQL large object
     431    :returns: object handling the PostgreSQL large object
    432432    :rtype: :class:`LargeObject`
    433433    :raises TypeError: invalid connection, bad parameter type, or too many parameters
     
    447447
    448448    :param int oid: OID of the existing large object
    449     :returns: object handling the PostGreSQL large object
     449    :returns: object handling the PostgreSQL large object
    450450    :rtype: :class:`LargeObject`
    451451    :raises TypeError:  invalid connection, bad parameter type, or too many parameters
     
    463463
    464464    :param str name: the name of the file to be imported
    465     :returns: object handling the PostGreSQL large object
     465    :returns: object handling the PostgreSQL large object
    466466    :rtype: :class:`LargeObject`
    467467    :raises TypeError: invalid connection, bad argument type, or too many arguments
  • trunk/docs/contents/pg/module.rst

    r888 r960  
    371371PostgreSQL monetary values when converting them to decimal numbers.
    372372The default setting is ``'.'`` as a decimal point. This setting is not
    373 adapted automatically to the locale used by PostGreSQL, but you can use
     373adapted automatically to the locale used by PostgreSQL, but you can use
    374374:func:`set_decimal()` to set a different decimal mark manually.  A return
    375375value of ``None`` means monetary values are not interpreted as decimal
     
    387387to interpret PostgreSQL monetary values. The default value is '.' as
    388388a decimal point. This value is not adapted automatically to the locale
    389 used by PostGreSQL, so if you are dealing with a database set to a
     389used by PostgreSQL, so if you are dealing with a database set to a
    390390locale that uses a ``','`` instead of ``'.'`` as the decimal point,
    391391then you need to call ``set_decimal(',')`` to have PyGreSQL interpret
  • trunk/docs/contents/pgdb/introduction.rst

    r710 r960  
    99
    1010**DB-API 2.0** (Python Database API Specification v2.0)
    11 is a specification for connecting to databases (not only PostGreSQL)
     11is a specification for connecting to databases (not only PostgreSQL)
    1212from Python that has been developed by the Python DB-SIG in 1999.
    1313The authoritative programming information for the DB-API is :pep:`0249`.
  • trunk/docs/download/download.rst

    r940 r960  
    1818  * https://software.opensuse.org/package/PyGreSQL?search_term=pygresql
    1919A **Win32 installer** for various Python versions is available at
    20   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.6.exe
    21   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py2.7.exe
    22   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.4.exe
    23   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.5.exe
    24   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.6.exe
    25   * http://pygresql.org/files/PyGreSQL-5.0.6.win-amd64-py3.7.exe
     20  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.6.exe
     21  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py2.7.exe
     22  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.4.exe
     23  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.5.exe
     24  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.6.exe
     25  * http://pygresql.org/files/PyGreSQL-5.1.win-amd64-py3.7.exe
    2626
    2727Older PyGreSQL versions
  • trunk/mktar

    r940 r960  
    11#! /bin/sh
    22
    3 VERSION=5.0.6
     3VERSION=5.1
    44DISTDIR=/u/WEB/pyg/files
    55
  • trunk/pg.py

    r956 r960  
    14731473
    14741474
    1475 # The actual PostGreSQL database connection interface:
     1475# The actual PostgreSQL database connection interface:
    14761476
    14771477class DB:
  • trunk/setup.py

    r940 r960  
    22# $Id$
    33
    4 """Setup script for PyGreSQL version 5.0.6
     4"""Setup script for PyGreSQL version 5.1
    55
    66PyGreSQL is an open-source Python module that interfaces to a
     
    3434"""
    3535
    36 version = '5.0.6'
     36version = '5.1'
    3737
    3838
  • trunk/tests/test_classic_connection.py

    r959 r960  
    165165        server_version = self.connection.server_version
    166166        self.assertIsInstance(server_version, int)
    167         self.assertTrue(90000 <= server_version < 110000)
     167        self.assertTrue(90000 <= server_version < 120000)
    168168
    169169    def testAttributeStatus(self):
  • trunk/tests/test_classic_dbwrapper.py

    r958 r960  
    276276        server_version = self.db.server_version
    277277        self.assertIsInstance(server_version, int)
    278         self.assertTrue(90000 <= server_version < 110000)
     278        self.assertTrue(90000 <= server_version < 120000)
    279279        self.assertEqual(server_version, self.db.db.server_version)
    280280
Note: See TracChangeset for help on using the changeset viewer.