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 27b78f03439786ac5b9366755fc6a227bbcf1051 (commit)
via 0217eb3c33bf7106ffd32b8c4919a86ad71a5de2 (commit)
via e16bb5901cfb1916c23ed441435b22723a006d25 (commit)
via c61aa5a4a23cecd712a0836ec0c2afe628795271 (commit)
via e2dfa497451a7c6d010ac754fbe4644527811726 (commit)
via efd01ad9d8bc56a5820852f5c6bdc7550c6f1793 (commit)
via 2db031376148d5153994cfd3ff5ff59e135ccc17 (commit)
via 90d193dbf3cad7679c2f277efa792207a35e7cde (commit)
via 2cc558e355b57a0abe15130444d5e3f843b609f6 (commit)
via ecbb61d11bda8b795167e9c78e56ed38aeb2cd91 (commit)
via 3186b3d6121e93d6787754fdc569e9da4adf4aed (commit)
via 5c8fe5b2a97c5049f04b68ee6a97d1fcc13206e5 (commit)
via 6fd55a0e884c6c60f7ac811fc223740f50b47268 (commit)
via 9d3e36f8a282c915cffb6068ef13e4aaeb5dec4c (commit)
via 9cc652db6516aadb1dcebb395d1de53d95a1421b (commit)
via f5c41a4a0c1033fcb73d4a4300302cdac6a9e1fa (commit)
via c2374e64a0540b8ae3ac38a0b72d6b6c66ec26c8 (commit)
via f592d97f048387106352782dfbfa90409024b2e5 (commit)
via 07b0ca4b2551fe01654beb96e13a107841137762 (commit)
via d2c26075783a42d9103dee8e783b7f770a981543 (commit)
via 33a25016093e8cbdaddbf14715ab60ecb13084de (commit)
from edb3970a31c93033b7e12b0f40b7cda52b7c3b6d (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/27b78f03439786ac5b9366755fc6a227bbcf1051
commit 27b78f03439786ac5b9366755fc6a227bbcf1051
Author: Oleg Broytman <ph...@ph...>
Date: Fri Mar 7 16:47:14 2025 +0300
Build: Prepare for the next release
[skip ci]
diff --git a/ANNOUNCE.rst b/ANNOUNCE.rst
index f6dc6fe..dfdda2c 100644
--- a/ANNOUNCE.rst
+++ b/ANNOUNCE.rst
@@ -1,45 +1,28 @@
Hello!
-I'm pleased to announce version 3.13.0, the first release of branch
-3.13 of SQLObject.
-
-
-What's new in SQLObject
-=======================
-
-Drivers
--------
-
-* Extended default list of MySQL drivers to ``mysqldb``, ``mysqlclient``,
- ``mysql-connector``, ``mysql-connector-python``, ``pymysql``.
+I'm pleased to announce version 3.13.1a1, the first alpha of the upcoming
+release of branch 3.13 of SQLObject.
-* Extended default list of PostgreSQL drivers to ``psycopg``, ``psycopg2``,
- ``pygresql``, ``pg8000``.
+I'm pleased to announce version 3.13.1a2, the second alpha of the upcoming
+release of branch 3.13 of SQLObject.
-* Fixed outstanding problems with ``psycopg``. It's now the first class driver.
+I'm pleased to announce version 3.13.1b1, the first beta of the upcoming
+release of branch 3.13 of SQLObject.
-* Fixed all problems with ``pg8000``. It's now the first class driver.
+I'm pleased to announce version 3.13.1rc1, the first release candidate
+of the upcoming release of branch 3.13 of SQLObject.
-* Dropped support for ``CyMySQL``;
- its author refused to fix unicode-related problems.
-
-* Dropped support for ``py-postgresql``; it's completely broken
- with debianized ``Postgres`` and the authors reject fixes.
-
-Tests
------
-
-* Added tests for ``mysqldb`` (aka ``mysql-python``)
- and ``mysqlclient`` on w32.
+I'm pleased to announce version 3.13.1, the first bugfix release of branch
+3.13 of SQLObject.
-* Improved tests of ``mysql-connector`` and ``mysql-connector-python``.
+I'm pleased to announce version 3.13.0, the first release of branch
+3.13 of SQLObject.
-CI
---
-* Tests(GHActions): Fixed old bugs in the workflow on w32.
+What's new in SQLObject
+=======================
-* Run tests with ``psycopg[c]``.
+The contributors for this release are ... Thanks!
For a more complete list, please see the news:
@@ -71,7 +54,7 @@ Site:
http://sqlobject.org
Download:
-https://pypi.org/project/SQLObject/3.13.0
+https://pypi.org/project/SQLObject/3.13.1a0.dev20250307/
News and changes:
http://sqlobject.org/News.html
diff --git a/docs/News.rst b/docs/News.rst
index f4a3f40..217097a 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -5,6 +5,9 @@ News
.. contents:: Contents:
:backlinks: none
+SQLObject development (master)
+==============================
+
SQLObject 3.13.0
================
diff --git a/setup.py b/setup.py
index 1bd4ea1..bc6a45a 100755
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ and `GitHub <https://github.com/sqlobject>`_.
""", # noqa: E501 line too long
long_description_content_type="text/x-rst",
classifiers=[
- "Development Status :: 5 - Production/Stable",
+ "Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: "
"GNU Library or Lesser General Public License (LGPL)",
http://sourceforge.net/p/sqlobject/sqlobject/ci/0217eb3c33bf7106ffd32b8c4919a86ad71a5de2
commit 0217eb3c33bf7106ffd32b8c4919a86ad71a5de2
Author: Oleg Broytman <ph...@ph...>
Date: Fri Mar 7 16:34:59 2025 +0300
Release 3.13.0
diff --git a/ANNOUNCE.rst b/ANNOUNCE.rst
index 7e3a663..f6dc6fe 100644
--- a/ANNOUNCE.rst
+++ b/ANNOUNCE.rst
@@ -1,25 +1,45 @@
Hello!
-I'm pleased to announce version 3.12.1a1, the first alpha of the upcoming
-release of branch 3.12 of SQLObject.
+I'm pleased to announce version 3.13.0, the first release of branch
+3.13 of SQLObject.
-I'm pleased to announce version 3.12.1a2, the second alpha of the upcoming
-release of branch 3.12 of SQLObject.
-I'm pleased to announce version 3.12.1b1, the first beta of the upcoming
-release of branch 3.12 of SQLObject.
+What's new in SQLObject
+=======================
-I'm pleased to announce version 3.12.1rc1, the first release candidate
-of the upcoming release of branch 3.12 of SQLObject.
+Drivers
+-------
-I'm pleased to announce version 3.12.1, the first bugfix release of branch
-3.12 of SQLObject.
+* Extended default list of MySQL drivers to ``mysqldb``, ``mysqlclient``,
+ ``mysql-connector``, ``mysql-connector-python``, ``pymysql``.
+* Extended default list of PostgreSQL drivers to ``psycopg``, ``psycopg2``,
+ ``pygresql``, ``pg8000``.
-What's new in SQLObject
-=======================
+* Fixed outstanding problems with ``psycopg``. It's now the first class driver.
+
+* Fixed all problems with ``pg8000``. It's now the first class driver.
+
+* Dropped support for ``CyMySQL``;
+ its author refused to fix unicode-related problems.
+
+* Dropped support for ``py-postgresql``; it's completely broken
+ with debianized ``Postgres`` and the authors reject fixes.
+
+Tests
+-----
+
+* Added tests for ``mysqldb`` (aka ``mysql-python``)
+ and ``mysqlclient`` on w32.
+
+* Improved tests of ``mysql-connector`` and ``mysql-connector-python``.
+
+CI
+--
+
+* Tests(GHActions): Fixed old bugs in the workflow on w32.
-The contributors for this release are ... Thanks!
+* Run tests with ``psycopg[c]``.
For a more complete list, please see the news:
@@ -51,7 +71,7 @@ Site:
http://sqlobject.org
Download:
-https://pypi.org/project/SQLObject/3.12.1a0.dev20250201/
+https://pypi.org/project/SQLObject/3.13.0
News and changes:
http://sqlobject.org/News.html
diff --git a/README.rst b/README.rst
index 3fde456..4e7af74 100644
--- a/README.rst
+++ b/README.rst
@@ -1,5 +1,5 @@
-SQLObject 3.12.0.post2
-======================
+SQLObject 3.13.0
+================
SQLObject is a free and open-source (LGPL) Python object-relational
mapper. Your database tables are described as classes, and rows are
diff --git a/devscripts/build-all-docs b/devscripts/build-all-docs
index 8d508b2..3e3cda0 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.12.0.post2 &&
+build_docs 3.13.0 &&
build_docs master devel &&
rm -rf docs/html &&
diff --git a/docs/News.rst b/docs/News.rst
index 9d2940e..f4a3f40 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -5,8 +5,10 @@ News
.. contents:: Contents:
:backlinks: none
-SQLObject (development)
-=======================
+SQLObject 3.13.0
+================
+
+Released 2025 Mar 07.
Drivers
-------
diff --git a/setup.py b/setup.py
index bc6a45a..1bd4ea1 100755
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ and `GitHub <https://github.com/sqlobject>`_.
""", # noqa: E501 line too long
long_description_content_type="text/x-rst",
classifiers=[
- "Development Status :: 3 - Alpha",
+ "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: "
"GNU Library or Lesser General Public License (LGPL)",
diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py
index 9a310a1..cc6e4c5 100644
--- a/sqlobject/__version__.py
+++ b/sqlobject/__version__.py
@@ -1,8 +1,8 @@
-version = '3.12.0.post2'
+version = '3.13.0'
major = 3
-minor = 12
+minor = 13
micro = 0
-release_level = 'post'
-serial = 2
+release_level = 'final'
+serial = 0
version_info = (major, minor, micro, release_level, serial)
http://sourceforge.net/p/sqlobject/sqlobject/ci/e16bb5901cfb1916c23ed441435b22723a006d25
commit e16bb5901cfb1916c23ed441435b22723a006d25
Author: Oleg Broytman <ph...@ph...>
Date: Fri Mar 7 15:50:53 2025 +0300
Feat(pg8000): Declare it the first class driver
diff --git a/docs/News.rst b/docs/News.rst
index fd4cacc..9d2940e 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -15,12 +15,11 @@ Drivers
``mysql-connector``, ``mysql-connector-python``, ``pymysql``.
* Extended default list of PostgreSQL drivers to ``psycopg``, ``psycopg2``,
- ``pygresql``.
+ ``pygresql``, ``pg8000``.
* Fixed outstanding problems with ``psycopg``. It's now the first class driver.
-* Fixed all problems with ``pg8000``. It's now close to become
- the first class driver.
+* Fixed all problems with ``pg8000``. It's now the first class driver.
* Dropped support for ``CyMySQL``;
its author refused to fix unicode-related problems.
diff --git a/sqlobject/postgres/pgconnection.py b/sqlobject/postgres/pgconnection.py
index ac18a6f..7d9f918 100644
--- a/sqlobject/postgres/pgconnection.py
+++ b/sqlobject/postgres/pgconnection.py
@@ -57,7 +57,7 @@ class PostgresConnection(DBAPI):
def __init__(self, dsn=None, host=None, port=None, db=None,
user=None, password=None, **kw):
- drivers = kw.pop('driver', None) or 'psycopg,psycopg2,pygresql'
+ drivers = kw.pop('driver', None) or 'psycopg,psycopg2,pygresql,pg8000'
for driver in drivers.split(','):
driver = driver.strip()
if not driver:
http://sourceforge.net/p/sqlobject/sqlobject/ci/c61aa5a4a23cecd712a0836ec0c2afe628795271
commit c61aa5a4a23cecd712a0836ec0c2afe628795271
Author: Oleg Broytman <ph...@ph...>
Date: Fri Mar 7 15:47:18 2025 +0300
Tests(tox): Rename `mysql-connector-python` tests to `mysql-connector_py`
Restored `mysql-connector`.
This is to avoid confusing `mysql-connector`
and `mysql-connector-python` tests.
diff --git a/tox.ini b/tox.ini
index c918dd8..bb8ed52 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,8 +16,8 @@ deps =
!py34: zope.datetime
mysqldb: mysql-python
mysqlclient: -rdevscripts/requirements/requirements_mysqlclient.txt
- mysql-cnx: mysql-connector
- mysql-connector-python: -rdevscripts/requirements/requirements_connector_python.txt
+ mysql-connector: mysql-connector
+ mysql-connector_py: -rdevscripts/requirements/requirements_connector_python.txt
pymysql: -rdevscripts/requirements/requirements_pymysql.txt
mariadb: mariadb
psycopg: psycopg[binary]
@@ -70,7 +70,7 @@ commands =
[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysqlclient]
commands = {[mysqlclient]commands}
-[mysql-cnx]
+[mysql-connector]
commands =
{[testenv]commands}
-mysql --execute="drop database sqlobject_test;"
@@ -78,15 +78,15 @@ commands =
pytest -D "mysql://runner:@localhost/sqlobject_test?driver=connector&charset=utf8&debug=1"
mysql --execute="drop database sqlobject_test;"
-[testenv:py27-mysql-cnx]
+[testenv:py27-mysql-connector]
commands =
easy_install -i https://downloads.egenix.com/python/index/ucs2/ egenix-mx-base
- {[mysql-cnx]commands}
+ {[mysql-connector]commands}
-[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-cnx]
-commands = {[mysql-cnx]commands}
+[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector]
+commands = {[mysql-connector]commands}
-[mysql-connector-python]
+[mysql-connector_py]
commands =
{[testenv]commands}
-mysql --execute="drop database sqlobject_test;"
@@ -94,13 +94,13 @@ commands =
pytest -D "mysql://runner:@localhost/sqlobject_test?driver=connector-python&charset=utf8&debug=1"
mysql --execute="drop database sqlobject_test;"
-[testenv:py27-mysql-connector-python]
+[testenv:py27-mysql-connector_py]
commands =
easy_install -i https://downloads.egenix.com/python/index/ucs2/ egenix-mx-base
- {[mysql-connector-python]commands}
+ {[mysql-connector_py]commands}
-[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector-python]
-commands = {[mysql-connector-python]commands}
+[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector_py]
+commands = {[mysql-connector_py]commands}
[pymysql]
commands =
@@ -390,7 +390,7 @@ commands =
platform = win32
commands = {[mysqlclient-w32]commands}
-[mysql-cnx-w32]
+[mysql-connector-w32]
platform = win32
commands =
{[testenv]commands}
@@ -399,17 +399,17 @@ commands =
pytest -D "mysql://ODBC@localhost/sqlobject_test?driver=connector&charset=utf8&debug=1"
mysql --user=ODBC -e "drop database sqlobject_test;"
-[testenv:py27-mysql-cnx-w32]
+[testenv:py27-mysql-connector-w32]
platform = win32
commands =
easy_install -i https://downloads.egenix.com/python/index/ucs2/ egenix-mx-base
- {[mysql-cnx-w32]commands}
+ {[mysql-connector-w32]commands}
-[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-cnx-w32]
+[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector-w32]
platform = win32
-commands = {[mysql-cnx-w32]commands}
+commands = {[mysql-connector-w32]commands}
-[mysql-connector-python-w32]
+[mysql-connector_py-w32]
platform = win32
commands =
{[testenv]commands}
@@ -418,15 +418,15 @@ commands =
pytest -D "mysql://ODBC@localhost/sqlobject_test?driver=connector-python&charset=utf8&debug=1"
mysql --user=ODBC -e "drop database sqlobject_test;"
-[testenv:py27-mysql-connector-python-w32]
+[testenv:py27-mysql-connector_py-w32]
platform = win32
commands =
easy_install -i https://downloads.egenix.com/python/index/ucs2/ egenix-mx-base
- {[mysql-connector-python-w32]commands}
+ {[mysql-connector_py-w32]commands}
-[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector-python-w32]
+[testenv:py3{4,5,6,7,8,9,10,11,12,13}-mysql-connector_py-w32]
platform = win32
-commands = {[mysql-connector-python-w32]commands}
+commands = {[mysql-connector_py-w32]commands}
[pymysql-w32]
platform = win32
http://sourceforge.net/p/sqlobject/sqlobject/ci/e2dfa497451a7c6d010ac754fbe4644527811726
commit e2dfa497451a7c6d010ac754fbe4644527811726
Author: Oleg Broytman <ph...@ph...>
Date: Mon Mar 3 21:58:45 2025 +0300
Fix(pg8000): Fixed all problems
diff --git a/docs/News.rst b/docs/News.rst
index a606541..fd4cacc 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -19,6 +19,9 @@ Drivers
* Fixed outstanding problems with ``psycopg``. It's now the first class driver.
+* Fixed all problems with ``pg8000``. It's now close to become
+ the first class driver.
+
* Dropped support for ``CyMySQL``;
its author refused to fix unicode-related problems.
diff --git a/sqlobject/postgres/pgconnection.py b/sqlobject/postgres/pgconnection.py
index a128ab8..ac18a6f 100644
--- a/sqlobject/postgres/pgconnection.py
+++ b/sqlobject/postgres/pgconnection.py
@@ -73,8 +73,12 @@ class PostgresConnection(DBAPI):
import pgdb
self.module = pgdb
elif driver == 'pg8000':
- import pg8000
- self.module = pg8000
+ try:
+ import pg8000.dbapi
+ self.module = pg8000.dbapi
+ except ImportError:
+ import pg8000
... 1314 lines suppressed ...
hooks/post-receive
--
SQLObject development repository
|