...
 
Commits (6)
......@@ -10,7 +10,7 @@ sudo: required
language: python
python:
- "3.6"
- "2.7"
cache: pip
......@@ -24,51 +24,107 @@ addons:
- firebird2.5-super
postgresql: "9.4"
env:
- TOXENV=py27-mysqldb
- TOXENV=py34-mysqlclient
- TOXENV=py35-mysqlclient
- TOXENV=py36-mysqlclient
- TOXENV=py27-mysql-connector
- TOXENV=py34-mysql-connector
- TOXENV=py35-mysql-connector
- TOXENV=py36-mysql-connector
- TOXENV=py27-mysql-oursql
- TOXENV=py27-pymysql
- TOXENV=py34-pymysql
- TOXENV=py35-pymysql
- TOXENV=py36-pymysql
- TOXENV=py27-postgres-psycopg
- TOXENV=py34-postgres-psycopg
- TOXENV=py35-postgres-psycopg
- TOXENV=py36-postgres-psycopg
- TOXENV=py27-postgres-pygresql
- TOXENV=py34-postgres-pygresql
- TOXENV=py35-postgres-pygresql
- TOXENV=py36-postgres-pygresql
- TOXENV=py34-pypostgresql
- TOXENV=py35-pypostgresql
- TOXENV=py36-pypostgresql
- TOXENV=py27-sqlite
- TOXENV=py34-sqlite
- TOXENV=py35-sqlite
- TOXENV=py36-sqlite
- TOXENV=py27-sqlite-memory
- TOXENV=py34-sqlite-memory
- TOXENV=py35-sqlite-memory
- TOXENV=py36-sqlite-memory
- TOXENV=py27-flake8
- TOXENV=py34-flake8
- TOXENV=py27-firebird-fdb
- TOXENV=py34-firebird-fdb
- TOXENV=py35-firebird-fdb
- TOXENV=py36-firebird-fdb
- TOXENV=py27-firebirdsql
- TOXENV=py34-firebirdsql
- TOXENV=py35-firebirdsql
- TOXENV=py36-firebirdsql
matrix:
include:
- python: "2.7"
env: TOXENV=py27-mysqldb
- python: "3.4"
env: TOXENV=py34-mysqlclient
- python: "3.5"
env: TOXENV=py35-mysqlclient
- python: "3.6"
env: TOXENV=py36-mysqlclient
- python: "2.7"
env: TOXENV=py27-mysql-connector
- python: "3.4"
env: TOXENV=py34-mysql-connector
- python: "3.5"
env: TOXENV=py35-mysql-connector
- python: "3.6"
env: TOXENV=py36-mysql-connector
- python: "2.7"
env: TOXENV=py27-mysql-oursql
- python: "3.4"
env: TOXENV=py34-mysql-oursql3
- python: "3.5"
env: TOXENV=py35-mysql-oursql3
- python: "3.6"
env: TOXENV=py36-mysql-oursql3
- python: "2.7"
env: TOXENV=py27-pymysql
- python: "3.4"
env: TOXENV=py34-pymysql
- python: "3.5"
env: TOXENV=py35-pymysql
- python: "3.6"
env: TOXENV=py36-pymysql
- python: "2.7"
env: TOXENV=py27-postgres-psycopg
- python: "3.4"
env: TOXENV=py34-postgres-psycopg
- python: "3.5"
env: TOXENV=py35-postgres-psycopg
- python: "3.6"
env: TOXENV=py36-postgres-psycopg
- python: "2.7"
env: TOXENV=py27-postgres-pygresql
- python: "3.4"
env: TOXENV=py34-postgres-pygresql
- python: "3.5"
env: TOXENV=py35-postgres-pygresql
- python: "3.6"
env: TOXENV=py36-postgres-pygresql
- python: "3.4"
env: TOXENV=py34-pypostgresql
- python: "3.5"
env: TOXENV=py35-pypostgresql
- python: "3.6"
env: TOXENV=py36-pypostgresql
- python: "2.7"
env: TOXENV=py27-postgres-pg8000
- python: "3.4"
env: TOXENV=py34-postgres-pg8000
- python: "3.5"
env: TOXENV=py35-postgres-pg8000
- python: "3.6"
env: TOXENV=py36-postgres-pg8000
- python: "2.7"
env: TOXENV=py27-sqlite
- python: "3.4"
env: TOXENV=py34-sqlite
- python: "3.5"
env: TOXENV=py35-sqlite
- python: "3.6"
env: TOXENV=py36-sqlite
- python: "2.7"
env: TOXENV=py27-sqlite-memory
- python: "3.4"
env: TOXENV=py34-sqlite-memory
- python: "3.5"
env: TOXENV=py35-sqlite-memory
- python: "3.6"
env: TOXENV=py36-sqlite-memory
- python: "2.7"
env: TOXENV=py27-flake8
- python: "3.4"
env: TOXENV=py34-flake8
- python: "2.7"
env: TOXENV=py27-firebird-fdb
- python: "3.4"
env: TOXENV=py34-firebird-fdb
- python: "3.5"
env: TOXENV=py35-firebird-fdb
- python: "3.6"
env: TOXENV=py36-firebird-fdb
- python: "2.7"
env: TOXENV=py27-firebirdsql
- python: "3.4"
env: TOXENV=py34-firebirdsql
- python: "3.5"
env: TOXENV=py35-firebirdsql
- python: "3.6"
env: TOXENV=py36-firebirdsql
allow_failures:
- env: TOXENV=py27-firebird-fdb
- env: TOXENV=py34-firebird-fdb
......@@ -78,6 +134,7 @@ matrix:
- env: TOXENV=py34-firebirdsql
- env: TOXENV=py35-firebirdsql
- env: TOXENV=py36-firebirdsql
fast_finish: true
before_install:
......@@ -98,9 +155,9 @@ before_install:
sudo chmod 644 /var/lib/firebird/create_test_db;
fi
install: travis_retry pip install tox coveralls codecov ppu
install: travis_retry pip install --upgrade pip setuptools tox coveralls codecov ppu
script: tox -e ${TOXENV}
script: tox
after_success:
- cd sqlobject
......
Hello!
I'm pleased to announce version 3.4.0, the first stable release of branch
3.4 of SQLObject.
I'm pleased to announce version 3.6.0, the first stable release of branch
3.6 of SQLObject.
What's new in SQLObject
=======================
Contributor for this release is Dr. Neil Muller.
Contributor for this release is Michael S. Root.
Features
--------
Minor features
--------------
* Python 2.6 is no longer supported. The minimal supported version is
Python 2.7.
* Close cursors after using to free resources immediately
instead of waiting for gc.
Drivers (work in progress)
--------------------------
Bug fixes
---------
* Encode binary values for py-postgresql driver. This fixes the
last remaining problems with the driver.
* Fix for TypeError using selectBy on a BLOBCol. PR by Michael S. Root.
* Encode binary values for PyGreSQL driver using the same encoding as for
py-postgresql driver. This fixes the last remaining problems with the driver.
Drivers
-------
Our own encoding is needed because unescape_bytea(escape_bytea()) is not
idempotent. See the comment for PQunescapeBytea at
https://www.postgresql.org/docs/9.6/static/libpq-exec.html:
* Extend support for oursql and Python 3 (requires our fork of the driver).
This conversion is not exactly the inverse of PQescapeBytea, because the
string is not expected to be "escaped" when received from PQgetvalue. In
particular this means there is no need for string quoting considerations.
* Fix cursor.arraysize - pymssql doesn't have arraysize.
* List all drivers in extras_require in setup.py.
* Set timeout for ODBC with MSSQL.
Minor features
--------------
* Fix _setAutoCommit for MSSQL.
* Use base64.b64encode/b64decode instead of deprecated
encodestring/decodestring.
Documentation
-------------
Tests
-----
* Document extras that are available for installation.
* Fix a bug with sqlite-memory: rollback transaction and close connection.
The solution was found by Dr. Neil Muller.
Build
-----
* Use remove-old-files.py from ppu to cleanup pip cache
at Travis and AppVeyor.
* Use ``python_version`` environment marker in ``setup.py`` to make
``install_requires`` and ``extras_require`` declarative. This makes
the universal wheel truly universal.
* Add test_csvimport.py more as an example how to use load_csv
from sqlobject.util.csvimport.
* Use ``python_requires`` keyword in ``setup.py``.
For a more complete list, please see the news:
http://sqlobject.org/News.html
......@@ -82,7 +75,7 @@ Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss
Download:
https://pypi.python.org/pypi/SQLObject/3.4.0
https://pypi.python.org/pypi/SQLObject/3.6.0
News and changes:
http://sqlobject.org/News.html
......
global-include *.py *.rst *.txt
recursive-include docs *.css *.html *.js *.gif *.png
include LICENSE MANIFEST.in .travis.yml circle.yml tox.ini
include LICENSE MANIFEST.in .travis.yml tox.ini
include debian/* sqlobject/.coveragerc
include docs/Makefile docs/genapidocs docs/rebuild
recursive-exclude devscripts *
......
Metadata-Version: 1.1
Metadata-Version: 1.2
Name: SQLObject
Version: 3.4.0
Version: 3.6.0
Summary: Object-Relational Manager, aka database wrapper
Home-page: http://sqlobject.org/
Author: Oleg Broytman
Author-email: phd@phdru.name
License: LGPL
Download-URL: https://pypi.python.org/pypi/SQLObject/3.4.0
Download-URL: https://pypi.python.org/pypi/SQLObject/3.6.0
Description-Content-Type: UNKNOWN
Description: SQLObject is a popular *Object Relational Manager* for providing an
object interface to your database, with tables as classes, rows as
instances, and columns as attributes.
......@@ -25,7 +26,8 @@ Description: SQLObject is a popular *Object Relational Manager* for providing an
.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master
:target: https://travis-ci.org/sqlobject/sqlobject
Platform: UNKNOWN
Keywords: sql,orm,object-relational mapper
Platform: Any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
......@@ -41,3 +43,4 @@ Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: FormEncode
Requires: PyDispatcher
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
SQLObject 3.4.0
SQLObject 3.6.0
===============
Thanks for looking at SQLObject. SQLObject is an object-relational
......
Metadata-Version: 1.1
Metadata-Version: 1.2
Name: SQLObject
Version: 3.4.0
Version: 3.6.0
Summary: Object-Relational Manager, aka database wrapper
Home-page: http://sqlobject.org/
Author: Oleg Broytman
Author-email: phd@phdru.name
License: LGPL
Download-URL: https://pypi.python.org/pypi/SQLObject/3.4.0
Download-URL: https://pypi.python.org/pypi/SQLObject/3.6.0
Description-Content-Type: UNKNOWN
Description: SQLObject is a popular *Object Relational Manager* for providing an
object interface to your database, with tables as classes, rows as
instances, and columns as attributes.
......@@ -25,7 +26,8 @@ Description: SQLObject is a popular *Object Relational Manager* for providing an
.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master
:target: https://travis-ci.org/sqlobject/sqlobject
Platform: UNKNOWN
Keywords: sql,orm,object-relational mapper
Platform: Any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
......@@ -41,3 +43,4 @@ Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: FormEncode
Requires: PyDispatcher
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
This diff is collapsed.
FormEncode!=1.3.0,>=1.1.1
PyDispatcher>=2.0.4
[:python_version == "2.7"]
FormEncode!=1.3.0,>=1.1.1
[:python_version >= "3.4"]
FormEncode>=1.3.1
[adodbapi]
adodbapi
......@@ -13,18 +18,24 @@ firebirdsql
[kinterbasdb]
kinterbasdb
[mysql]
MySQLdb
[mysql-connector]
mysql-connector
[mysql:python_version=="2.7"]
MySQL-python
[mysql:python_version>="3.4"]
mysqlclient
[odbc]
pyodbc
[oursql]
oursql
[pg8000]
pg8000
[postgres]
psycopg2
......
sqlobject (3.4.0+dfsg-2) UNRELEASED; urgency=medium
sqlobject (3.6.0+dfsg-1) UNRELEASED; urgency=low
[ Ondřej Nový ]
* d/control: Set Vcs-* to salsa.debian.org
* d/copyright: Use https protocol in Format field
* d/changelog: Remove trailing whitespaces
* d/control: Set Vcs-* to salsa.debian.org.
* d/copyright: Use https protocol in Format field.
* d/changelog: Remove trailing whitespaces.
[ Neil Muller ]
* Refresh patches after git-dpm to gbp pq conversion
* Refresh patches after git-dpm to gbp pq conversion.
* Drop signing key, since the signature is no longer published by pypi.
* Update to the latest upstream release.
* Drop no longer needed X-Python-Version and X-Python3-Version fields.
* Standards-Version: 4.1.4 (no changes needed).
-- Neil Muller <drnlmuller+debian@gmail.com> Sun, 13 May 2018 12:21:44 +0200
......
......@@ -16,9 +16,7 @@ Build-Depends: debhelper (>= 9),
python3-pytest
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Neil Muller <drnlmuller+debian@gmail.com>
Standards-Version: 4.0.0
X-Python-Version: >= 2.6
X-Python3-Version: >= 3.4
Standards-Version: 4.1.4
Vcs-Git: https://salsa.debian.org/python-team/modules/sqlobject.git
Vcs-Browser: https://salsa.debian.org/python-team/modules/sqlobject
Homepage: http://www.sqlobject.org
......
......@@ -6,50 +6,20 @@ We don't want to install the documentation in the package as well,
since we already install it under /usr/share/doc, so we exclude
it from setup.py
---
setup.py | 33 ---------------------------------
1 file changed, 33 deletions(-)
setup.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/setup.py b/setup.py
index 1d7720c..580df25 100755
index 28ca928..d5cc8e9 100755
--- a/setup.py
+++ b/setup.py
@@ -120,39 +120,6 @@ and `GitHub <https://github.com/sqlobject>`_.
@@ -114,9 +114,6 @@ and `GitHub <https://github.com/sqlobject>`_.
packages=["sqlobject"] +
['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin", "scripts/sqlobject-convertOldURI"],
- package_data={"sqlobject":
- [
- "../LICENSE",
- "../docs/*.rst",
- "../docs/html/*",
- "../docs/html/_sources/*",
- "../docs/html/_sources/api/*",
- "../docs/html/_modules/*",
- "../docs/html/_modules/sqlobject/*",
- "../docs/html/_modules/sqlobject/mysql/*",
- "../docs/html/_modules/sqlobject/postgres/*",
- "../docs/html/_modules/sqlobject/manager/*",
- "../docs/html/_modules/sqlobject/inheritance/*",
- "../docs/html/_modules/sqlobject/inheritance/tests/*",
- "../docs/html/_modules/sqlobject/mssql/*",
- "../docs/html/_modules/sqlobject/tests/*",
- "../docs/html/_modules/sqlobject/rdbhost/*",
- "../docs/html/_modules/sqlobject/versioning/*",
- "../docs/html/_modules/sqlobject/versioning/test/*",
- "../docs/html/_modules/sqlobject/util/*",
- "../docs/html/_modules/sqlobject/maxdb/*",
- "../docs/html/_modules/sqlobject/firebird/*",
- "../docs/html/_modules/sqlobject/sybase/*",
- "../docs/html/_modules/sqlobject/sqlite/*",
- "../docs/html/_modules/sqlobject/include/*",
- "../docs/html/_modules/sqlobject/include/tests/*",
- "../docs/html/_modules/pydispatch/*",
- "../docs/html/_modules/_pytest/*",
- "../docs/html/api/*",
- "../docs/html/_static/*",
- ],
- "sqlobject.maxdb": ["readme.txt"],
- },
- package_data={
- "sqlobject.maxdb": ["readme.txt"],
- },
requires=['FormEncode', 'PyDispatcher'],
**kw
)
......@@ -10,10 +10,10 @@ Patch-Name: get_rid_of_setuptools
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/setup.py b/setup.py
index 2e22194..1d7720c 100755
index 4018c69..28ca928 100755
--- a/setup.py
+++ b/setup.py
@@ -4,12 +4,8 @@ import sys
@@ -3,12 +3,8 @@
from imp import load_source
from os.path import abspath, dirname, join
......@@ -27,4 +27,4 @@ index 2e22194..1d7720c 100755
+is_setuptools = False
versionpath = join(abspath(dirname(__file__)), "sqlobject", "__version__.py")
load_source("sqlobject_version", versionpath)
sqlobject_version = load_source("sqlobject_version", versionpath)
......@@ -35,11 +35,11 @@ Patch-Name: replace_logos
22 files changed, 74 insertions(+), 166 deletions(-)
diff --git a/docs/Authors.rst b/docs/Authors.rst
index cf35dfc..556b9f2 100644
index 3f3d55b..a727cc5 100644
--- a/docs/Authors.rst
+++ b/docs/Authors.rst
@@ -36,10 +36,6 @@ Contributions have been made by:
* Lutz Steinborn <l.steinborn at 4c-gmbh.de>
@@ -38,10 +38,6 @@ Contributions have been made by:
* Michael S. Root <miker at tippett.com>
* Oleg Broytman <phd@phdru.name>
-.. image:: https://sourceforge.net/sflogo.php?group_id=74338&type=10
......@@ -143,10 +143,10 @@ index 38ed2e6..351a874 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News.rst b/docs/News.rst
index 50edaac..35209dd 100644
index 66ef00e..b86e798 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -272,10 +272,6 @@ Documentation
@@ -344,10 +344,6 @@ Documentation
.. __: News5.html
......@@ -161,10 +161,10 @@ index 50edaac..35209dd 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News1.rst b/docs/News1.rst
index 77296c2..eca06a1 100644
index e3838c2..b125cd3 100644
--- a/docs/News1.rst
+++ b/docs/News1.rst
@@ -456,10 +456,6 @@ Features
@@ -454,10 +454,6 @@ Features
.. _Col docs: SQLObject.html#col-class-specifying-columns
......@@ -179,10 +179,10 @@ index 77296c2..eca06a1 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News2.rst b/docs/News2.rst
index 9a37d77..19fc7e4 100644
index 2e23ed4..5394023 100644
--- a/docs/News2.rst
+++ b/docs/News2.rst
@@ -597,10 +597,6 @@ Bug Fixes
@@ -595,10 +595,6 @@ Bug Fixes
.. __: News1.html
......@@ -197,10 +197,10 @@ index 9a37d77..19fc7e4 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News3.rst b/docs/News3.rst
index a680527..3d20a5d 100644
index 2b6f067..f695498 100644
--- a/docs/News3.rst
+++ b/docs/News3.rst
@@ -382,10 +382,6 @@ Bug Fixes
@@ -380,10 +380,6 @@ Bug Fixes
.. __: News2.html
......@@ -215,10 +215,10 @@ index a680527..3d20a5d 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News4.rst b/docs/News4.rst
index 11f76d4..71c1bd4 100644
index 546a7fd..579d4a4 100644
--- a/docs/News4.rst
+++ b/docs/News4.rst
@@ -323,10 +323,6 @@ Minor features
@@ -321,10 +321,6 @@ Minor features
.. __: News3.html
......@@ -233,10 +233,10 @@ index 11f76d4..71c1bd4 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/News5.rst b/docs/News5.rst
index 6f1118c..a415164 100644
index 32f6659..d5414d5 100644
--- a/docs/News5.rst
+++ b/docs/News5.rst
@@ -634,10 +634,6 @@ Features & Interface
@@ -632,10 +632,6 @@ Features & Interface
.. __: News4.html
......@@ -287,10 +287,10 @@ index f2678fe..d27a40a 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/SQLObject.rst b/docs/SQLObject.rst
index 9a3121f..a679230 100644
index 1ccc222..0a0323a 100644
--- a/docs/SQLObject.rst
+++ b/docs/SQLObject.rst
@@ -2157,10 +2157,6 @@ Documentation`_.
@@ -2159,10 +2159,6 @@ Documentation`_.
.. _SQLBuilder: SQLBuilder.html
.. _`SQLBuilder Documentation`: SQLBuilder.html
......@@ -323,10 +323,10 @@ index c6bbd0e..67492e0 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/TODO.rst b/docs/TODO.rst
index 2ae19ac..24a435b 100644
index 1ce1467..d8f511a 100644
--- a/docs/TODO.rst
+++ b/docs/TODO.rst
@@ -125,10 +125,6 @@ TODO
@@ -147,10 +147,6 @@ TODO
* Type annotations and mypy tests.
......@@ -395,10 +395,10 @@ index c312385..fd295f3 100644
+
+.. _Sourceforge.net: http://sourceforge.net/projects/sqlobject
diff --git a/docs/download.rst b/docs/download.rst
index 5aea6d0..8c06a4b 100644
index a028998..6f22294 100644
--- a/docs/download.rst
+++ b/docs/download.rst
@@ -48,10 +48,6 @@ https://sourceforge.net/p/sqlobject/_list/git
@@ -91,10 +91,6 @@ https://sourceforge.net/p/sqlobject/_list/git
Before switching to git development was performed at the Subversion
repository that is no longer available.
......
......@@ -11,7 +11,7 @@ override_dh_sphinxdoc:
sphinx-build -b html -d debian/tmp/doctrees docs \
debian/python-sqlobject-doc/usr/share/doc/python-sqlobject-doc/html
# This directory only has documentation for the test case, which we don't package
rm -rf debian/python-sqlobject-doc/usr/share/doc/python-sqlobject-doc/html/versioning
rm -rf debian/python-sqlobject-doc/usr/share/doc/python-sqlobject-doc/html/_modules/sqlobject/versioning
dh_sphinxdoc
override_dh_installchangelogs:
......
This diff is collapsed.
version=3
opts=pgpsigurlmangle=s/$/.asc/,repacksuffix=+dfsg,dversionmangle=s/\+dfsg\d*$// \
opts=repacksuffix=+dfsg,dversionmangle=s/\+dfsg\d*$// \
https://pypi.debian.net/SQLObject/SQLObject-([\d\.]*)\.tar\.gz
......@@ -34,6 +34,8 @@ Contributions have been made by:
* Gregor Horvath <gh at gregor-horvath.com>
* Nathan Edwards <nje5 at georgetown.edu>
* Lutz Steinborn <l.steinborn at 4c-gmbh.de>
* Shailesh Mungikar <shailesh.mungikar at druva.com>
* Michael S. Root <miker at tippett.com>
* Oleg Broytman <phd@phdru.name>
.. image:: https://sourceforge.net/sflogo.php?group_id=74338&type=10
......
......@@ -5,7 +5,79 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 3.6.0
===============
Released 24 Feb 2018.
Minor features
--------------
* Close cursors after using to free resources immediately
instead of waiting for gc.
Bug fixes
---------
* Fix for TypeError using selectBy on a BLOBCol. PR by Michael S. Root.
Drivers
-------
* Extend support for oursql and Python 3 (requires our fork of the driver).
* Fix cursor.arraysize - pymssql doesn't have arraysize.
* Set timeout for ODBC with MSSQL.
* Fix _setAutoCommit for MSSQL.
Documentation
-------------
* Document extras that are available for installation.
Build
-----
* Use ``python_version`` environment marker in ``setup.py`` to make
``install_requires`` and ``extras_require`` declarative. This makes
the universal wheel truly universal.
* Use ``python_requires`` keyword in ``setup.py``.
SQLObject 3.5.0
===============
Released 15 Nov 2017.
Minor features
--------------
* Add Python3 special methods for division to SQLExpression.
Pull request by Michael S. Root.
Drivers
-------
* Add support for `pg8000 <https://pypi.python.org/pypi/pg8000>`_
PostgreSQL driver.
* Fix autoreconnect with pymysql driver. Contributed by Shailesh Mungikar.
Documentation
-------------
* Remove generated HTML from eggs/wheels (docs are installed into wrong
place). Generated docs are still included in the source distribution.
Tests
-----
* Add tests for PyGreSQL, py-postgresql and pg8000 at AppVeyor.
* Fixed bugs in py-postgresql at AppVeyor. SQLObject requires
the latest version of the driver from our fork.
SQLObject 3.4.0
===============
......
......@@ -5,8 +5,6 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 0.6.1
===============
......
......@@ -5,8 +5,6 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 0.8.7
===============
......
......@@ -5,8 +5,6 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 0.10.9
================
......
......@@ -5,8 +5,6 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 0.15.1
================
......
......@@ -5,8 +5,6 @@ News
.. contents:: Contents:
:backlinks: none
.. _start:
SQLObject 2.2.1
===============
......
......@@ -49,12 +49,13 @@ Requirements
Currently SQLObject supports MySQL_ via MySQLdb_ aka MySQL-python (called
mysqlclient_ for Python 3), `MySQL Connector`_, oursql_, PyMySQL_, PyODBC_
and PyPyODBC_. For PostgreSQL_ psycopg2_ or psycopg1 are recommended;
PyGreSQL_, py-postgresql_, PyODBC_ and PyPyODBC_ 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 has problems. `MAX DB`_ (also known as SAP DB) is
supported via sapdb_. Sybase via Sybase_. `MSSQL Server`_ via pymssql_ (+
FreeTDS_) or adodbapi_ (Win32).
PyGreSQL_, py-postgresql_ and pg8000_ are supported; SQLite_ has a
built-in driver or PySQLite_. Firebird_ is supported via fdb_ or
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). PyODBC_ and
PyPyODBC_ are supported for MySQL, PostgreSQL and MSSQL but have
problems (not all tests passed).
.. _MySQL: https://www.mysql.com/
.. _MySQLdb: https://sourceforge.net/projects/mysql-python/
......@@ -66,8 +67,7 @@ FreeTDS_) or adodbapi_ (Win32).
.. _psycopg2: http://initd.org/psycopg/
.. _PyGreSQL: http://www.pygresql.org/
.. _py-postgresql: https://pypi.python.org/pypi/py-postgresql
.. _PyODBC: https://pypi.python.org/pypi/pyodbc
.. _PyPyODBC: https://pypi.python.org/pypi/pypyodbc
.. _pg8000: https://pypi.python.org/pypi/pg8000
.. _SQLite: https://sqlite.org/
.. _PySQLite: https://github.com/ghaering/pysqlite
.. _Firebird: http://www.firebirdsql.org/en/python-driver/
......@@ -81,6 +81,8 @@ FreeTDS_) or adodbapi_ (Win32).
.. _pymssql: http://www.pymssql.org/en/latest/index.html
.. _FreeTDS: http://www.freetds.org/
.. _adodbapi: http://adodbapi.sourceforge.net/
.. _PyODBC: https://pypi.python.org/pypi/pyodbc
.. _PyPyODBC: https://pypi.python.org/pypi/pypyodbc
Python 2.7 or 3.4+ is required.
......@@ -1832,8 +1834,8 @@ The user can choose a DB API driver for PostgreSQL by using a ``driver``
parameter in DB URI or PostgresConnection that can be a comma-separated
list of driver names. Possible drivers are: ``psycopg2``, psycopg1,
``psycopg`` (tries psycopg2 and psycopg1), ``pygresql``, ``pypostgresql``,
``pyodbc``, ``pypyodbc`` or ``odbc`` (try ``pyodbc`` and ``pypyodbc``).
Default is ``psycopg``.
``pg8000``, ``pyodbc``, ``pypyodbc`` or ``odbc`` (try ``pyodbc`` and
``pypyodbc``). Default is ``psycopg``.
Connection-specific parameters are: ``sslmode``, ``unicodeCols``,
``schema``, ``charset``.
......
TODO
----
* Fix test ordering problem with Postgres.
* Fix unicode problems with pyodbc at AppVeyor.
* Resolve timeout problems with MSSQL.
* https://github.com/d33tah/bpgsql,
https://github.com/olopez32/py-bpgsql,
https://pypi.python.org/pypi/ocpgdb/2.0.2,
https://magicstack.github.io/asyncpg/current/.
* PyPy.
* Use https://pypi.python.org/pypi/psycopg2cffi to run SQLObject
under PyPy.
* https://pypi.python.org/pypi/turbodbc
* PyODBC and PyPyODBC for linux and w32: SQLite (libsqliteodbc).
* https://pypi.python.org/pypi/JayDeBeApi
* Jython.
* Quote table/column names that are reserved keywords (order => "order",
values => `values` for MySQL).
......
sqlobject.boundattributes module
================================
sqlobject\.boundattributes module
=================================
.. automodule:: sqlobject.boundattributes
:members:
......
sqlobject.cache module
======================
sqlobject\.cache module
=======================
.. automodule:: sqlobject.cache
:members:
......
sqlobject.classregistry module
==============================
sqlobject\.classregistry module
===============================
.. automodule:: sqlobject.classregistry
:members:
......
sqlobject.col module
====================
sqlobject\.col module
=====================
.. automodule:: sqlobject.col
:members:
......
sqlobject.compat module
=======================
sqlobject\.compat module
========================
.. automodule:: sqlobject.compat
:members:
......
sqlobject.conftest module
=========================
sqlobject\.conftest module
==========================
.. automodule:: sqlobject.conftest
:members:
......
sqlobject.constraints module
============================
sqlobject\.constraints module
=============================
.. automodule:: sqlobject.constraints
:members:
......
sqlobject.converters module
===========================
sqlobject\.converters module
============================
.. automodule:: sqlobject.converters
:members:
......
sqlobject.dbconnection module
=============================
sqlobject\.dbconnection module
==============================
.. automodule:: sqlobject.dbconnection
:members:
......
sqlobject.dberrors module
=========================
sqlobject\.dberrors module
==========================
.. automodule:: sqlobject.dberrors
:members:
......
sqlobject.declarative module
============================
sqlobject\.declarative module
=============================
.. automodule:: sqlobject.declarative
:members:
......
sqlobject.events module
=======================
sqlobject\.events module
========================
.. automodule:: sqlobject.events
:members:
......
sqlobject.firebird.firebirdconnection module
============================================
sqlobject\.firebird\.firebirdconnection module
==============================================
.. automodule:: sqlobject.firebird.firebirdconnection
:members:
......
sqlobject.firebird package
==========================
sqlobject\.firebird package
===========================
.. automodule:: sqlobject.firebird
:members:
......
sqlobject.include.hashcol module
================================
sqlobject\.include\.hashcol module
==================================
.. automodule:: sqlobject.include.hashcol
:members:
......
sqlobject.include package
=========================
sqlobject\.include package
==========================
.. automodule:: sqlobject.include
:members:
......
sqlobject.include.tests package
===============================
sqlobject\.include\.tests package
=================================
.. automodule:: sqlobject.include.tests
:members:
......
sqlobject.include.tests.test_hashcol module
===========================================
sqlobject\.include\.tests\.test\_hashcol module
===============================================
.. automodule:: sqlobject.include.tests.test_hashcol
:members:
......
sqlobject.index module
======================
sqlobject\.index module
=======================
.. automodule:: sqlobject.index
:members:
......
sqlobject.inheritance.iteration module
======================================
sqlobject\.inheritance\.iteration module
========================================
.. automodule:: sqlobject.inheritance.iteration
:members:
......
sqlobject.inheritance package
=============================
sqlobject\.inheritance package
==============================
.. automodule:: sqlobject.inheritance
:members:
......
sqlobject.inheritance.tests package
===================================
sqlobject\.inheritance\.tests package
=====================================
.. automodule:: sqlobject.inheritance.tests
:members:
......
sqlobject.inheritance.tests.test_aggregates module
==================================================
sqlobject\.inheritance\.tests\.test\_aggregates module
======================================================
.. automodule:: sqlobject.inheritance.tests.test_aggregates
:members:
......
sqlobject.inheritance.tests.test_asdict module
==============================================
sqlobject\.inheritance\.tests\.test\_asdict module
==================================================
.. automodule:: sqlobject.inheritance.tests.test_asdict
:members:
......
sqlobject.inheritance.tests.test_deep_inheritance module
========================================================
sqlobject\.inheritance\.tests\.test\_deep\_inheritance module
=============================================================
.. automodule:: sqlobject.inheritance.tests.test_deep_inheritance
:members:
......
sqlobject.inheritance.tests.test_destroy_cascade module
=======================================================
sqlobject\.inheritance\.tests\.test\_destroy\_cascade module
============================================================
.. automodule:: sqlobject.inheritance.tests.test_destroy_cascade
:members:
......
sqlobject.inheritance.tests.test_foreignKey module
==================================================
sqlobject\.inheritance\.tests\.test\_foreignKey module
======================================================
.. automodule:: sqlobject.inheritance.tests.test_foreignKey
:members:
......
sqlobject.inheritance.tests.test_indexes module
===============================================
sqlobject\.inheritance\.tests\.test\_indexes module
===================================================
.. automodule:: sqlobject.inheritance.tests.test_indexes
:members:
......
sqlobject.inheritance.tests.test_inheritance module
===================================================
sqlobject\.inheritance\.tests\.test\_inheritance module
=======================================================
.. automodule:: sqlobject.inheritance.tests.test_inheritance
:members:
......
sqlobject.inheritance.tests.test_inheritance_tree module
========================================================
sqlobject\.inheritance\.tests\.test\_inheritance\_tree module
=============================================================
.. automodule:: sqlobject.inheritance.tests.test_inheritance_tree
:members:
......
sqlobject.joins module
======================
sqlobject\.joins module
=======================
.. automodule:: sqlobject.joins
:members:
......
sqlobject.main module
=====================
sqlobject\.main module
======================
.. automodule:: sqlobject.main
:members:
......
sqlobject.manager.command module
================================
sqlobject\.manager\.command module
==================================
.. automodule:: sqlobject.manager.command
:members:
......
sqlobject.manager package
=========================
sqlobject\.manager package
==========================
.. automodule:: sqlobject.manager
:members:
......
sqlobject.maxdb.maxdbconnection module
======================================
sqlobject\.maxdb\.maxdbconnection module
========================================
.. automodule:: sqlobject.maxdb.maxdbconnection
:members:
......
sqlobject.maxdb package
=======================
sqlobject\.maxdb package
========================
.. automodule:: sqlobject.maxdb
:members:
......
sqlobject.mssql.mssqlconnection module
======================================
sqlobject\.mssql\.mssqlconnection module
========================================
.. automodule:: sqlobject.mssql.mssqlconnection
:members:
......
sqlobject.mssql package
=======================
sqlobject\.mssql package
========================
.. automodule:: sqlobject.mssql
:members:
......
sqlobject.mysql.mysqlconnection module
======================================
sqlobject\.mysql\.mysqlconnection module
========================================
.. automodule:: sqlobject.mysql.mysqlconnection
:members:
......
sqlobject.mysql package
=======================
sqlobject\.mysql package
========================
.. automodule:: sqlobject.mysql
:members:
......
sqlobject.postgres.pgconnection module
======================================
sqlobject\.postgres\.pgconnection module
========================================
.. automodule:: sqlobject.postgres.pgconnection
:members:
......
sqlobject.postgres package
==========================
sqlobject\.postgres package
===========================
.. automodule:: sqlobject.postgres
:members:
......
sqlobject.rdbhost.rdbhostconnection module
==========================================
sqlobject\.rdbhost\.rdbhostconnection module
============================================
.. automodule:: sqlobject.rdbhost.rdbhostconnection
:members:
......
sqlobject.rdbhost package
=========================
sqlobject\.rdbhost package
==========================
.. automodule:: sqlobject.rdbhost
:members:
......
sqlobject.sqlbuilder module
===========================
sqlobject\.sqlbuilder module
============================
.. automodule:: sqlobject.sqlbuilder
:members:
......
sqlobject.sqlite package
========================
sqlobject\.sqlite package
=========================
.. automodule:: sqlobject.sqlite
:members:
......
sqlobject.sqlite.sqliteconnection module
========================================
sqlobject\.sqlite\.sqliteconnection module
==========================================
.. automodule:: sqlobject.sqlite.sqliteconnection
:members:
......
sqlobject.sresults module
=========================
sqlobject\.sresults module
==========================
.. automodule:: sqlobject.sresults
:members:
......
sqlobject.styles module
=======================
sqlobject\.styles module
========================
.. automodule:: sqlobject.styles
:members:
......
sqlobject.sybase package
========================
sqlobject\.sybase package
=========================
.. automodule:: sqlobject.sybase
:members:
......
sqlobject.sybase.sybaseconnection module
========================================
sqlobject\.sybase\.sybaseconnection module
==========================================
.. automodule:: sqlobject.sybase.sybaseconnection
:members:
......
sqlobject.tests.dbtest module
=============================
sqlobject\.tests\.dbtest module
===============================
.. automodule:: sqlobject.tests.dbtest
:members:
......
sqlobject.tests package
=======================
sqlobject\.tests package
========================
.. automodule:: sqlobject.tests
:members:
......@@ -34,6 +34,7 @@ Submodules
sqlobject.tests.test_converters
sqlobject.tests.test_create_drop
sqlobject.tests.test_csvexport
sqlobject.tests.test_csvimport
sqlobject.tests.test_cyclic_reference
sqlobject.tests.test_datetime
sqlobject.tests.test_decimal
......
sqlobject.tests.test_ForeignKey module
======================================
sqlobject\.tests\.test\_ForeignKey module
=========================================
.. automodule:: sqlobject.tests.test_ForeignKey
:members:
......
sqlobject.tests.test_NoneValuedResultItem module
================================================
sqlobject\.tests\.test\_NoneValuedResultItem module
===================================================
.. automodule:: sqlobject.tests.test_NoneValuedResultItem
:members:
......
sqlobject.tests.test_SQLMultipleJoin module
===========================================
sqlobject\.tests\.test\_SQLMultipleJoin module
==============================================
.. automodule:: sqlobject.tests.test_SQLMultipleJoin
:members:
......
sqlobject.tests.test_SQLRelatedJoin module
==========================================
sqlobject\.tests\.test\_SQLRelatedJoin module
=============================================
.. automodule:: sqlobject.tests.test_SQLRelatedJoin
:members:
......
sqlobject.tests.test_SingleJoin module
======================================
sqlobject\.tests\.test\_SingleJoin module
=========================================
.. automodule:: sqlobject.tests.test_SingleJoin
:members:
......
sqlobject.tests.test_aggregates module
======================================
sqlobject\.tests\.test\_aggregates module
=========================================
.. automodule:: sqlobject.tests.test_aggregates
:members:
......
sqlobject.tests.test_aliases module
===================================
sqlobject\.tests\.test\_aliases module
======================================
.. automodule:: sqlobject.tests.test_aliases
:members:
......