[SQL-CVS] SQLObject development repository branch master updated. 3.1.0-149-gc096226
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <no...@so...> - 2017-01-20 17:55:25
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SQLObject development repository". The branch, master has been updated via c0962266abd0bbb729d1f1d8af4b1b1c8caf0e37 (commit) via 9ddd0080803c7f88ab5da772fea811a7736ec1b7 (commit) from 1c6f0a43ea6d29d84979687f4f0b6d1d1ab30c9c (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://sourceforge.net/p/sqlobject/sqlobject/ci/c0962266abd0bbb729d1f1d8af4b1b1c8caf0e37 commit c0962266abd0bbb729d1f1d8af4b1b1c8caf0e37 Author: Oleg Broytman <ph...@ph...> Date: Fri Jan 20 20:53:00 2017 +0300 Fix tests: getConnectionURI() can raise AttributeError under Sphinx diff --git a/sqlobject/tests/test_mysql.py b/sqlobject/tests/test_mysql.py index d712ed0..de4b040 100644 --- a/sqlobject/tests/test_mysql.py +++ b/sqlobject/tests/test_mysql.py @@ -5,7 +5,7 @@ from sqlobject.tests.dbtest import getConnection, setupClass try: connection = getConnection() -except NameError: +except (AttributeError, NameError): # The module was imported during documentation building pass else: diff --git a/sqlobject/tests/test_postgres.py b/sqlobject/tests/test_postgres.py index ab01717..e656ce7 100644 --- a/sqlobject/tests/test_postgres.py +++ b/sqlobject/tests/test_postgres.py @@ -11,7 +11,7 @@ from sqlobject.tests.dbtest import getConnection, setupClass try: connection = getConnection() -except NameError: +except (AttributeError, NameError): # The module was imported during documentation building pass else: diff --git a/sqlobject/tests/test_sqlite.py b/sqlobject/tests/test_sqlite.py index b782eea..442ecf3 100644 --- a/sqlobject/tests/test_sqlite.py +++ b/sqlobject/tests/test_sqlite.py @@ -9,7 +9,7 @@ from .test_basic import SOTestSO1 try: connection = getConnection() -except NameError: +except (AttributeError, NameError): # The module was imported during documentation building pass else: http://sourceforge.net/p/sqlobject/sqlobject/ci/9ddd0080803c7f88ab5da772fea811a7736ec1b7 commit 9ddd0080803c7f88ab5da772fea811a7736ec1b7 Author: Oleg Broytman <ph...@ph...> Date: Fri Jan 20 20:46:49 2017 +0300 Update docs [skip ci] diff --git a/docs/News.rst b/docs/News.rst index 4f2f853..d68d8a7 100644 --- a/docs/News.rst +++ b/docs/News.rst @@ -20,9 +20,9 @@ Minor features * Remove ``driver`` keyword from RdbhostConnection as it allows one driver ``rdbhdb``. -* Add ``driver`` keyword for FirebirdConnection. Allowed values are 'fdb' - or 'kinterbasdb'. Default is to test 'fdb' and 'kinterbasdb' in that - order. pyfirebirdsql is supported but has problems. +* Add ``driver`` keyword for FirebirdConnection. Allowed values are 'fdb', + 'kinterbasdb' and 'pyfirebirdsql'. Default is to test 'fdb' and + 'kinterbasdb' in that order. pyfirebirdsql is supported but has problems. * Add ``driver`` keyword for MySQLConnection. Allowed value are 'mysqldb', 'connector', 'oursql' and 'pymysql'. Default is to test for mysqldb only. @@ -54,12 +54,15 @@ Drivers (work in progress) PostgreSQL driver. There are major problems with the driver caused by both the driver and SQLObject. -* Add support for `pyfirebirdsql <https://pypi.python.org/pypi/firebirdsql>`_. +* Add support for `pyfirebirdsql + <https://pypi.python.org/pypi/firebirdsql>`_.There are still problems with + the driver. -Bug fix -------- +Bug fixes +--------- -* Fix MSSQLConnection.columnsFromSchema: remove () from default value. +* Fix MSSQLConnection.columnsFromSchema: remove `(` and `)` from default + value. * Fix MSSQLConnection and SybaseConnection: insert default values into a table with just one IDENTITY column. @@ -89,17 +92,15 @@ Tests * Fix ``pytest`` warnings by converting yield tests to plain calls: yield tests were deprecated in ``pytest``. -* Tests are now run at CIs with ``python3.5``. +* Tests are now run at CIs with Python 3.5. * Drop ``Circle CI``. * Run at Travis CI tests with Firebird backend (server version 2.5; drivers fdb and firebirdsql). There are problems with tests. -* Add AppVeyor for windows testing. Run tests with Postgres and MS SQL. There - are problems with MS SQL. - -* Run sqlite tests at AppVeyor. +* Add AppVeyor for windows testing. Run tests with MS SQL, Postgres and + SQLite. There are problems with MS SQL. SQLObject 3.1.0 =============== diff --git a/docs/SQLObject.rst b/docs/SQLObject.rst index 6f02661..a6bb575 100644 --- a/docs/SQLObject.rst +++ b/docs/SQLObject.rst @@ -51,9 +51,9 @@ mysqlclient_ for Python 3), `MySQL Connector`_, oursql_ and PyMySQL_. For PostgreSQL_ psycopg2_ or psycopg1 are recommended; PyGreSQL_, py-postgresql_ and pg8000_ are supported but have problems (not all tests passed). SQLite_ has a built-in driver or PySQLite_. Firebird_ is supported via fdb_ or -kinterbasdb_; pyfirebirdsql_ is supported but untested. `MAX DB`_ (also known -as SAP DB) is supported via sapdb_. Sybase via Sybase_. `MSSQL Server`_ via -pymssql_ (+ FreeTDS_) or adodbapi_ (Win32). +kinterbasdb_; pyfirebirdsql_ is supported but has problems. `MAX DB`_ (also +known as SAP DB) is supported via sapdb_. Sybase via Sybase_. `MSSQL Server`_ +via pymssql_ (+ FreeTDS_) or adodbapi_ (Win32). .. _MySQL: https://www.mysql.com/ .. _MySQLdb: https://sourceforge.net/projects/mysql-python/ ----------------------------------------------------------------------- Summary of changes: docs/News.rst | 25 +++++++++++++------------ docs/SQLObject.rst | 6 +++--- sqlobject/tests/test_mysql.py | 2 +- sqlobject/tests/test_postgres.py | 2 +- sqlobject/tests/test_sqlite.py | 2 +- 5 files changed, 19 insertions(+), 18 deletions(-) hooks/post-receive -- SQLObject development repository |