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 b0b1c9c3610f9b52ea80c815a93cf49241081497 (commit)
via 0e6ca33cc343ac7910bee9c34a0a33d0d9d3a192 (commit)
via 83fd61d2d8ef1231291fee1aa650af6f58098342 (commit)
from cdf61fad45dc594f28ebb2b56ae0adc931f615f1 (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/b0b1c9c3610f9b52ea80c815a93cf49241081497
commit b0b1c9c3610f9b52ea80c815a93cf49241081497
Author: Oleg Broytman <ph...@ph...>
Date: Sat Dec 7 20:27:56 2019 +0300
Release 3.8.0
diff --git a/ANNOUNCE.rst b/ANNOUNCE.rst
index 5cb2886..fe822ef 100644
--- a/ANNOUNCE.rst
+++ b/ANNOUNCE.rst
@@ -1,28 +1,41 @@
Hello!
-I'm pleased to announce version 3.8.0a1, the first alpha of the upcoming
-release of branch 3.8 of SQLObject.
+I'm pleased to announce version 3.8.0, the first stable release of branch
+3.8 of SQLObject.
-I'm pleased to announce version 3.8.0a2, the second alpha of the upcoming
-release of branch 3.8 of SQLObject.
-I'm pleased to announce version 3.8.0b1, the first beta of the upcoming
-release of branch 3.8 of SQLObject.
+What's new in SQLObject
+=======================
-I'm pleased to announce version 3.8.0rc1, the first release candidate
-of the upcoming release of branch 3.8 of SQLObject.
+Features
+--------
-I'm pleased to announce version 3.8.0, the first stable release of branch
-3.8 of SQLObject.
+* Add driver ``supersqlite``. Not all tests are passing
+ so the driver isn't added to the list of default drivers.
-I'm pleased to announce version 3.8.1, the first bugfix release of branch
-3.8 of SQLObject.
+Minor features
+--------------
+* Improve sqlrepr'ing ``ALL/ANY/SOME()``: always put the expression
+ at the right side of the comparison operation.
-What's new in SQLObject
-=======================
+Bug fixes
+---------
+
+* Fixed a bug in cascade deletion/nullification.
+
+* Fixed a bug in ``PostgresConnection.columnsFromSchema``:
+ PostgreSQL 12 removed outdated catalog attribute
+ ``pg_catalog.pg_attrdef.adsrc``.
+
+* Fixed a bug working with microseconds in Time columns.
+
+CI
+--
+
+* Run tests with Python 3.8 at Travis CI.
-Contributors for this release are
+Contributors for this release are Andrew Trusty, Marco Sirabella and darix.
For a more complete list, please see the news:
http://sqlobject.org/News.html
@@ -54,7 +67,7 @@ Mailing list:
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss
Download:
-https://pypi.org/project/SQLObject/3.8.0a0.dev20190501/
+https://pypi.org/project/SQLObject/3.8.0
News and changes:
http://sqlobject.org/News.html
diff --git a/README.rst b/README.rst
index 9f09e51..92962cf 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-SQLObject 3.8.0a0
-=================
+SQLObject 3.8.0
+===============
Thanks for looking at SQLObject. SQLObject is an object-relational
mapper, i.e., a library that will wrap your database tables in Python
diff --git a/devscripts/build-all-docs b/devscripts/build-all-docs
index 6523174..349c6ed 100755
--- a/devscripts/build-all-docs
+++ b/devscripts/build-all-docs
@@ -10,7 +10,7 @@ cd "`dirname \"$0\"`" &&
PROG_DIR="`pwd`" &&
cd .. &&
-build_docs 3.7.3 &&
+build_docs 3.8.0 &&
build_docs master devel &&
rm -rf docs/html &&
diff --git a/docs/News.rst b/docs/News.rst
index a68b739..9012621 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -5,8 +5,10 @@ News
.. contents:: Contents:
:backlinks: none
-SQLObject (master)
-==================
+SQLObject 3.8.0
+===============
+
+Released 7 Dec 2019.
Features
--------
diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py
index 0d92991..763a4a4 100644
--- a/sqlobject/__version__.py
+++ b/sqlobject/__version__.py
@@ -1,8 +1,8 @@
-version = '3.7.3'
+version = '3.8.0'
major = 3
-minor = 7
-micro = 3
+minor = 8
+micro = 0
release_level = 'final'
serial = 0
version_info = (major, minor, micro, release_level, serial)
http://sourceforge.net/p/sqlobject/sqlobject/ci/0e6ca33cc343ac7910bee9c34a0a33d0d9d3a192
commit 0e6ca33cc343ac7910bee9c34a0a33d0d9d3a192
Author: Oleg Broytman <ph...@ph...>
Date: Thu Nov 21 15:43:25 2019 +0300
Tests(tox-select-envs.cmd): Exit the batch with an error
[skip ci]
diff --git a/devscripts/tox-select-envs.cmd b/devscripts/tox-select-envs.cmd
index 03d8b4e..1aa1519 100644
--- a/devscripts/tox-select-envs.cmd
+++ b/devscripts/tox-select-envs.cmd
@@ -15,4 +15,5 @@ if not "%envs%"=="" (
tox -e "%envs%" %*
) else (
echo "No environments match %pattern%" >&2
+ exit /b 1
)
http://sourceforge.net/p/sqlobject/sqlobject/ci/83fd61d2d8ef1231291fee1aa650af6f58098342
commit 83fd61d2d8ef1231291fee1aa650af6f58098342
Author: Oleg Broytman <ph...@ph...>
Date: Thu Nov 14 20:23:05 2019 +0300
Fix(postgres): Fix a bug in `PostgresConnection.columnsFromSchema`
PostgreSQL 12 removed outdated catalog attribute
`pg_catalog.pg_attrdef.adsrc`.
diff --git a/docs/News.rst b/docs/News.rst
index 24ad661..a68b739 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -25,6 +25,10 @@ Bug fixes
* Fixed a bug in cascade deletion/nullification.
+* Fixed a bug in ``PostgresConnection.columnsFromSchema``:
+ PostgreSQL 12 removed outdated catalog attribute
+ ``pg_catalog.pg_attrdef.adsrc``.
+
* Fixed a bug working with microseconds in Time columns.
CI
diff --git a/sqlobject/postgres/pgconnection.py b/sqlobject/postgres/pgconnection.py
index afe8133..85a5094 100644
--- a/sqlobject/postgres/pgconnection.py
+++ b/sqlobject/postgres/pgconnection.py
@@ -353,7 +353,8 @@ class PostgresConnection(DBAPI):
colQuery = """
SELECT a.attname,
pg_catalog.format_type(a.atttypid, a.atttypmod), a.attnotnull,
- (SELECT substring(d.adsrc for 128) FROM pg_catalog.pg_attrdef d
+ (SELECT substring(pg_catalog.pg_get_expr(d.adbin, d.adrelid) for 128)
+ FROM pg_catalog.pg_attrdef d
WHERE d.adrelid=a.attrelid AND d.adnum = a.attnum)
FROM pg_catalog.pg_attribute a
WHERE a.attrelid =%s::regclass
-----------------------------------------------------------------------
Summary of changes:
ANNOUNCE.rst | 45 ++++++++++++++++++++++++--------------
README.rst | 4 ++--
devscripts/build-all-docs | 2 +-
devscripts/tox-select-envs.cmd | 1 +
docs/News.rst | 10 +++++++--
sqlobject/__version__.py | 6 ++---
sqlobject/postgres/pgconnection.py | 3 ++-
7 files changed, 46 insertions(+), 25 deletions(-)
hooks/post-receive
--
SQLObject development repository
|