sqlobject-cvs Mailing List for SQLObject (Page 18)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(74) |
May
(29) |
Jun
(16) |
Jul
(28) |
Aug
(10) |
Sep
(57) |
Oct
(9) |
Nov
(29) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(7) |
Feb
(14) |
Mar
(6) |
Apr
(3) |
May
(12) |
Jun
(34) |
Jul
(9) |
Aug
(29) |
Sep
(22) |
Oct
(2) |
Nov
(15) |
Dec
(52) |
2005 |
Jan
(47) |
Feb
(78) |
Mar
(14) |
Apr
(35) |
May
(33) |
Jun
(16) |
Jul
(26) |
Aug
(63) |
Sep
(40) |
Oct
(96) |
Nov
(96) |
Dec
(123) |
2006 |
Jan
(159) |
Feb
(144) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(48) |
Jul
(16) |
Aug
(64) |
Sep
(87) |
Oct
(92) |
Nov
(56) |
Dec
(76) |
2007 |
Jan
(94) |
Feb
(103) |
Mar
(126) |
Apr
(123) |
May
(85) |
Jun
(11) |
Jul
(130) |
Aug
(47) |
Sep
(65) |
Oct
(70) |
Nov
(12) |
Dec
(11) |
2008 |
Jan
(30) |
Feb
(55) |
Mar
(88) |
Apr
(20) |
May
(50) |
Jun
|
Jul
(38) |
Aug
(1) |
Sep
(9) |
Oct
(5) |
Nov
(6) |
Dec
(39) |
2009 |
Jan
(8) |
Feb
(16) |
Mar
(3) |
Apr
(33) |
May
(44) |
Jun
(1) |
Jul
(10) |
Aug
(33) |
Sep
(74) |
Oct
(22) |
Nov
|
Dec
(15) |
2010 |
Jan
(28) |
Feb
(22) |
Mar
(46) |
Apr
(29) |
May
(1) |
Jun
(1) |
Jul
(27) |
Aug
(8) |
Sep
(5) |
Oct
(33) |
Nov
(24) |
Dec
(41) |
2011 |
Jan
(4) |
Feb
(12) |
Mar
(35) |
Apr
(29) |
May
(19) |
Jun
(16) |
Jul
(32) |
Aug
(25) |
Sep
(5) |
Oct
(11) |
Nov
(21) |
Dec
(12) |
2012 |
Jan
(3) |
Feb
(4) |
Mar
(20) |
Apr
(4) |
May
(25) |
Jun
(13) |
Jul
|
Aug
|
Sep
(2) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
2013 |
Jan
(6) |
Feb
(8) |
Mar
|
Apr
(10) |
May
(31) |
Jun
(7) |
Jul
(18) |
Aug
(33) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
(27) |
2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(11) |
May
(39) |
Jun
(8) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
(27) |
Nov
|
Dec
(71) |
2015 |
Jan
(17) |
Feb
(47) |
Mar
(33) |
Apr
|
May
|
Jun
(9) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
2016 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
|
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
(31) |
Sep
(8) |
Oct
(3) |
Nov
(15) |
Dec
(1) |
2017 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(4) |
Dec
(5) |
2018 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2019 |
Jan
(1) |
Feb
(16) |
Mar
(1) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(3) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
(4) |
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
2025 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg B. <no...@so...> - 2014-12-18 17:14:04
|
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, 1.6 has been updated via 8334f2223233ebbb9d0090a738a1f0491240b1b1 (commit) via bad1652369eca6643f9415d0c7dc383552860141 (commit) via 12c3551fed18bed9547e5752c1ec947687949214 (commit) via e0c9f7b68ed63134b77697269c7f293afe8b1e50 (commit) via be6f14d1c5aa9508a2aa6659de73f577d00ebbec (commit) via 4cca94c9db5d53bab6993a1e821509e3be06b86b (commit) via 95f84ed7b2b6c110a202d1db4a8fb103312be269 (commit) from fd9993bcf83a64a3100bb65f755f913a4af7d5e9 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/DeveloperGuide.txt | 2 +- docs/News.txt | 15 +++++++++++++++ setup.py | 32 +++++++++++++++++++++++++++++--- sqlobject/__version__.py | 4 ++-- 5 files changed, 48 insertions(+), 7 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 17:13:56
|
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, 1.5 has been updated via 12c3551fed18bed9547e5752c1ec947687949214 (commit) via e0c9f7b68ed63134b77697269c7f293afe8b1e50 (commit) via be6f14d1c5aa9508a2aa6659de73f577d00ebbec (commit) via 4cca94c9db5d53bab6993a1e821509e3be06b86b (commit) via 95f84ed7b2b6c110a202d1db4a8fb103312be269 (commit) from e2a04e29d8408653661d891dcc4ccd9c367b471e (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/DeveloperGuide.txt | 2 +- docs/News.txt | 7 +++++++ setup.py | 33 ++++++++++++++++++++++++++++++--- sqlobject/__version__.py | 4 ++-- 5 files changed, 41 insertions(+), 7 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 05:51:16
|
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 d778872a8054342c793d9612e8883c40ba7564c4 (commit) via 6ef6a4d7858457ba05682f1f894c8933ce482eb6 (commit) via 900c2ad044b744b90b3be606ec1a45db62e3faaf (commit) via 316fe6331d1c3a12a7298332202d029a7f5927f3 (commit) via fd9993bcf83a64a3100bb65f755f913a4af7d5e9 (commit) via e2a04e29d8408653661d891dcc4ccd9c367b471e (commit) via ae999fbda55cae5e0a9a2666101dda8038f9682e (commit) via c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 (commit) from 7670ac3e1514106b172190feff805cab400d9ac3 (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/d778872a8054342c793d9612e8883c40ba7564c4 commit d778872a8054342c793d9612e8883c40ba7564c4 Merge: 7670ac3 6ef6a4d Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 18 06:25:13 2014 +0300 Merge branch '2.0' [skip ci] ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/SQLObject.txt | 3 +-- setup.py | 2 +- sqlobject/main.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 05:51:14
|
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, 2.0 has been updated via 6ef6a4d7858457ba05682f1f894c8933ce482eb6 (commit) via 900c2ad044b744b90b3be606ec1a45db62e3faaf (commit) via 316fe6331d1c3a12a7298332202d029a7f5927f3 (commit) via fd9993bcf83a64a3100bb65f755f913a4af7d5e9 (commit) via e2a04e29d8408653661d891dcc4ccd9c367b471e (commit) via ae999fbda55cae5e0a9a2666101dda8038f9682e (commit) via c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 (commit) from 9d9ab40e9931b58f787e246eb7edc89d638c8d05 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/SQLObject.txt | 3 +-- setup.py | 2 +- sqlobject/main.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 05:51:12
|
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, 1.7 has been updated via 900c2ad044b744b90b3be606ec1a45db62e3faaf (commit) via 316fe6331d1c3a12a7298332202d029a7f5927f3 (commit) via fd9993bcf83a64a3100bb65f755f913a4af7d5e9 (commit) via e2a04e29d8408653661d891dcc4ccd9c367b471e (commit) via ae999fbda55cae5e0a9a2666101dda8038f9682e (commit) via c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 (commit) from 803eb31bdbf6e1483d3a5789fd25a175279bc652 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/SQLObject.txt | 3 +-- setup.py | 2 +- sqlobject/main.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 05:51:10
|
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, 1.6 has been updated via fd9993bcf83a64a3100bb65f755f913a4af7d5e9 (commit) via e2a04e29d8408653661d891dcc4ccd9c367b471e (commit) from ae999fbda55cae5e0a9a2666101dda8038f9682e (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/SQLObject.txt | 3 +-- setup.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-18 05:51:08
|
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, 1.5 has been updated via e2a04e29d8408653661d891dcc4ccd9c367b471e (commit) from ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/SQLObject.txt | 3 +-- setup.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-14 14:37:26
|
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 annotated tag, 1.7.2 has been created at fbb531a36c33119a6a88dd09d7b8d02d73adfda4 (tag) tagging 803eb31bdbf6e1483d3a5789fd25a175279bc652 (commit) replaces 1.7.1 tagged by Oleg Broytman on Sun Dec 14 17:14:25 2014 +0300 - Log ----------------------------------------------------------------- Release 1.7.2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUjZtBAAoJEG4IC3C2KHsDdvAQALo9Cqp1M+pEvlWrhURIpudI KhmGb3wOnH/fzoBGWgguYuY0O7Y4e2jOz1PYSb28ttzOKmKU7pFSzOyuOBkPC5DZ W17aj/1Lms+ZTMpK50ivrTqRAn1w7xKNosNwUj54xCbNgbO+yZEqgTfRzD6AQLfO yg/r29Mt83xQk6qGiNRJ0o5ZK2mf3t3HGYmre/ZcFIStAkiYW0zVLhhd2gZyA+2z ec1a3ppsmWAgmLDB6rIZdHpOBgC/CEH5F9G8hscL1VwqS65KFDVD9mXMmDMtnLkx NzvEUjpupelBShskB913CMDwZycpKX+rpQlWEHprrmZWa1gXozXOOSl/RZZJAnuS O/w7foEDVaTYZxAFepIaTOLdJ4j5y484vmi21kUf9gZzAQHqaqSOjuq8LNFqvUwR baFgDJkiIeGO1EA8ryTn/3gjzC/XLYOUKxQE00ClwxO5NiSPVBHVUSelX3par3Pi S7rEYs6HOFL46ZIi9UpN7NEzz0NQnAALNkEfp7nf2I6KpGCRRN7dqlK006QW2DzU 6q7lRNdjR1SKgDxp2eiV3oz1uHC1GIF7Yz5yicE0wpe+YlEo8yDeFdnQT/wRENLe OCzJf6QWoDqb3TJ4UKq7TS6iUm0qXgLp+pt85gV3NyH3lE3BdoLieUo1MO9qjPxj knrDJJHCIu/EIfYGaAXo =u6IE -----END PGP SIGNATURE----- Oleg Broytman (3): SQLObject supports Python 2.6 and 2.7 Fix a bug: zero-pad microseconds on the right Release 1.7.2 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-14 14:37:14
|
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 7670ac3e1514106b172190feff805cab400d9ac3 (commit) via 9d9ab40e9931b58f787e246eb7edc89d638c8d05 (commit) via 803eb31bdbf6e1483d3a5789fd25a175279bc652 (commit) via 925b6b3422328ccdbdef84471ab5d156f68de2d5 (commit) via 738ec39e33f4bb0e5522b8fed2aaa2ace206e4ae (commit) from 2239d6c3a88d61a5952acdd75ee242bfc4e9a10d (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/7670ac3e1514106b172190feff805cab400d9ac3 commit 7670ac3e1514106b172190feff805cab400d9ac3 Merge: 2239d6c 9d9ab40 Author: Oleg Broytman <ph...@ph...> Date: Sun Dec 14 17:22:50 2014 +0300 Merge branch '2.0' ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/News.txt | 8 ++++++++ setup.py | 2 +- sqlobject/col.py | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-14 14:37:08
|
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, 2.0 has been updated via 9d9ab40e9931b58f787e246eb7edc89d638c8d05 (commit) via 803eb31bdbf6e1483d3a5789fd25a175279bc652 (commit) via 925b6b3422328ccdbdef84471ab5d156f68de2d5 (commit) via 738ec39e33f4bb0e5522b8fed2aaa2ace206e4ae (commit) from 0eaf8e9e4c17cb687da9e942a6feb61f165b7905 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/News.txt | 8 ++++++++ setup.py | 2 +- sqlobject/col.py | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-14 14:37:03
|
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, 1.7 has been updated via 803eb31bdbf6e1483d3a5789fd25a175279bc652 (commit) via 925b6b3422328ccdbdef84471ab5d156f68de2d5 (commit) via 738ec39e33f4bb0e5522b8fed2aaa2ace206e4ae (commit) from e18c77f92579807b5122302351fc4f88b34f3c98 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: README.txt | 4 ++-- docs/News.txt | 8 ++++++++ setup.py | 2 +- sqlobject/__version__.py | 4 ++-- sqlobject/col.py | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-14 14:36:53
|
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, 1.6 has been updated via ae999fbda55cae5e0a9a2666101dda8038f9682e (commit) via c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 (commit) from 73432002e2a779fb7cc537dfbe62931c3e257033 (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/ae999fbda55cae5e0a9a2666101dda8038f9682e commit ae999fbda55cae5e0a9a2666101dda8038f9682e Author: Oleg Broytman <ph...@ph...> Date: Sun Dec 14 16:55:06 2014 +0300 Support for Python 2.5 has been declared obsolete diff --git a/sqlobject/main.py b/sqlobject/main.py index 558cb2d..acf1b87 100644 --- a/sqlobject/main.py +++ b/sqlobject/main.py @@ -648,8 +648,8 @@ def deprecated(message, level=1, stacklevel=2): if warnings_level is not None and warnings_level <= level: warnings.warn(message, DeprecationWarning, stacklevel=stacklevel) -#if sys.version_info[:3] < (2, 5, 0): -# deprecated("Support for Python 2.4 has been declared obsolete and will be removed in the next release of SQLObject") +if sys.version_info[:3] < (2, 6, 0): + deprecated("Support for Python 2.5 has been declared obsolete and will be removed in the next release of SQLObject") def setDeprecationLevel(warning=1, exception=None): """ http://sourceforge.net/p/sqlobject/sqlobject/ci/c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 commit c0ea1c00a09b8eeb5375b5c2b0edf0a891fab3b7 Author: Oleg Broytman <ph...@ph...> Date: Sun Dec 14 16:53:57 2014 +0300 SQLObject supports Python 2.5+ diff --git a/setup.py b/setup.py index 9929838..ce3c825 100755 --- a/setup.py +++ b/setup.py @@ -110,7 +110,7 @@ easy to use and quick to get started with. It currently supports MySQL through the `MySQLdb` package, PostgreSQL through the `psycopg` package, SQLite, Firebird, MaxDB (SAP DB), MS SQL -Sybase and Rdbhost. It should support Python versions back to 2.4. +Sybase and Rdbhost. It should support Python versions back to 2.5. Where is SQLObject ----------------------------------------------------------------------- Summary of changes: setup.py | 2 +- sqlobject/main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 14:03:58
|
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, 2.0 has been created at 0eaf8e9e4c17cb687da9e942a6feb61f165b7905 (commit) - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 14:03:51
|
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 2239d6c3a88d61a5952acdd75ee242bfc4e9a10d (commit) via ed063879cd0f736565b395fc8209009ead96a614 (commit) via 0eaf8e9e4c17cb687da9e942a6feb61f165b7905 (commit) from 151dd76acba8ab386ef1d8c9639577a5c63fffab (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/2239d6c3a88d61a5952acdd75ee242bfc4e9a10d commit 2239d6c3a88d61a5952acdd75ee242bfc4e9a10d Merge: ed06387 0eaf8e9 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 16:58:16 2014 +0300 Merge branch '2.0' http://sourceforge.net/p/sqlobject/sqlobject/ci/ed063879cd0f736565b395fc8209009ead96a614 commit ed063879cd0f736565b395fc8209009ead96a614 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 16:49:26 2014 +0300 Next branch will be 3.0 diff --git a/README.txt b/README.txt index 148ee85..466fe2d 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -SQLObject 2.0.0b1 +SQLObject 3.0.0a0 ================= Thanks for looking at SQLObject. SQLObject is an object-relational diff --git a/docs/News.txt b/docs/News.txt index 67045ce..38488fd 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -7,9 +7,12 @@ News .. _start: -SQLObject 2.0.0 (master) +SQLObject 3.0.0 (master) ======================== +SQLObject 2.0.0 +=============== + Features & Interface -------------------- diff --git a/setup.py b/setup.py index 41bd2de..b9aa5e7 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ and `GitHub <https://github.com/sqlobject>`_. :target: https://travis-ci.org/sqlobject/sqlobject """, classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py index e334faa..a388dcf 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '2.0.0b1' -major = 2 +version = '3.0' +major = 3 minor = 0 micro = 0 -release_level = 'beta' -serial = 1 +release_level = 'trunk' +serial = 0 version_info = (major, minor, micro, release_level, serial) ----------------------------------------------------------------------- Summary of changes: README.txt | 2 +- docs/News.txt | 5 ++++- setup.py | 2 +- sqlobject/__version__.py | 8 ++++---- 4 files changed, 10 insertions(+), 7 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:45:34
|
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 151dd76acba8ab386ef1d8c9639577a5c63fffab (commit) from 44fbebef2eea4802e97f72b500502e526b66e73a (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/151dd76acba8ab386ef1d8c9639577a5c63fffab commit 151dd76acba8ab386ef1d8c9639577a5c63fffab Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 15:43:45 2014 +0300 Fix a bug in test_converter Date/time converters now always return 6-digits microseconds. diff --git a/sqlobject/tests/test_converters.py b/sqlobject/tests/test_converters.py index 0871441..af2fa3a 100644 --- a/sqlobject/tests/test_converters.py +++ b/sqlobject/tests/test_converters.py @@ -88,11 +88,11 @@ def test_bool(): def test_datetime(): from datetime import datetime, date, time - assert sqlrepr(datetime(2005, 7, 14, 13, 31, 2)) == "'2005-07-14 13:31:02.0'" + assert sqlrepr(datetime(2005, 7, 14, 13, 31, 2)) == "'2005-07-14 13:31:02.000000'" assert sqlrepr(date(2005, 7, 14)) == "'2005-07-14'" - assert sqlrepr(time(13, 31, 2)) == "'13:31:02.0'" + assert sqlrepr(time(13, 31, 2)) == "'13:31:02.000000'" # now dates before 1900 - assert sqlrepr(datetime(1428, 7, 14, 13, 31, 2)) == "'1428-07-14 13:31:02.0'" + assert sqlrepr(datetime(1428, 7, 14, 13, 31, 2)) == "'1428-07-14 13:31:02.000000'" assert sqlrepr(date(1428, 7, 14)) == "'1428-07-14'" def test_instance(): ----------------------------------------------------------------------- Summary of changes: sqlobject/tests/test_converters.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:35:05
|
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 44fbebef2eea4802e97f72b500502e526b66e73a (commit) from a7476521179ee0d464b5b4ea0914511e9bfdbe81 (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/44fbebef2eea4802e97f72b500502e526b66e73a commit 44fbebef2eea4802e97f72b500502e526b66e73a Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 15:32:33 2014 +0300 Fix a bug: remove duplicate [egg_info] diff --git a/setup.cfg b/setup.cfg index 1bb5465..bfc84e6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,10 +7,6 @@ tag_build = dev tag_date = 1 tag_svn_revision = 0 -[egg_info] -tag_build = dev -tag_date = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt ----------------------------------------------------------------------- Summary of changes: setup.cfg | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:50
|
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 annotated tag, 2.0.0b1 has been created at 6c1e3b99088f2483f19d817b7ab1022960c78cbe (tag) tagging a7476521179ee0d464b5b4ea0914511e9bfdbe81 (commit) replaces 1.7.1 tagged by Oleg Broytman on Thu Dec 11 15:13:10 2014 +0300 - Log ----------------------------------------------------------------- Release 2.0.0b1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUiYpWAAoJEG4IC3C2KHsDBu4P/i6yg8j5hAT+396m8rUtWfoz d6WWi8r5IxnL5DXoQFsf1kcz9ItXIim2Oj9pWk8HGHJiHs1BVNOwHLLy+XOedbcC Z6CgKCdELyRhlf3os4MQnfXayBm3xxjL/9IwvHCR88/ZNfghmZDJF46/Yi9AVVj9 dCUIlOmI+8Xw+iT66OW/Dr5sCWr1hgpZP8YwXlJRDGxeDyZGaIyKqWO1HahDr/ZQ tYwDZbdmuxfKUY514WS9MwsIDAnyvIwfv8cr0ENwoHWd0KgQ3TJExh1Sodor4ud4 jqF3lfKMkqm1hBhZCQ5BLCBoj40zvw34XTG7f0cn5ZPbK42bxcxErvvBJ3pQah5q QM47X/zdhxxTWSK5iEjRSkBtEyT/jLiFMc4lBkd3tzxPWPkl47ut7+QNRMQQpr+E ixS6S96YiTW68qGBwhizwgmXxtmCxc7sizjJS0dam09CzLstgiCxJ++i8FFk/bZQ 7jh+fTsadBOrFErepD7wjwPzRvrr3EpmAkTRu8v0L5bAya8nsxWlxIkMAJ49b9FN nuYGHWtp96+k8NljM4D9teiAogIeSRQejUVeBIACDlKCQyBthO0gO3cREODma4ou 0gJnTQH+8aMkR0LoQrm0s36f23AKDxdLsW76K2CJfQ3CzIOnUbJEUaXD3mcSbDqY KGuCKLjBry7vOlLl6RKs =uwiA -----END PGP SIGNATURE----- Oleg Broytman (61): The next branch will be 2.0 Update News Merge revision 4724 from branch 1.7: Update News Merge revisions 4726:4730 from branch 1.7: stop supporting Python 2.5 Merge revision 4732 from branch 1.7: document sqlhub.doInTransaction Merge revision 4734 from branch 1.7: no need to work around a bug in Decimal Elaborate warning Merge revision 4739 from branch 1.7: replace time.strptime with datetime.strptime Merge revision 4741 from branch 1.6: split news into minor features and bugfixes Merge revision 4744 from branch 1.6: SQLObject 1.6.0 was released 15 May 2014 Merge revision 4749 from branch 1.7: upgrade ez_setup to 3.6.0 Merge revision 4751 from branch 1.7: upgrade ez_setup to 5.0 Merge revision 4753 from branch 1.7: "upgrade" ez_setup to 5.2 Merge revision 4755 from branch 1.7: "upgrade" ez_setup to 5.3 Merge revision 4759 from branch 1.7: update News Merge branch '1.7' Development switched from Subversion to git Merge branch '1.7' Change URLs for setuptools/easy_install Change git URLs for FormEncode Update docs for git Merge branch '1.7' "Upgrade" ez_setup to 5.4.1 Release 2.0.0a1 Remove unused section [easy_install] Development was switched from Subversion to git Change download URL "Upgrade" ez_setup to 5.4.2 Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Upgrade ez_setup.py to version 7.0 Apply patch 112: _fromDatabase and UNIQUE should result in alternateID ez_setup was upgrades to 7.0 Release 2.0.0a2 Old news were restored back to version 0.2.1 Add Travis CI config Install py.test Install FormEncode Install itself into site-packages (requires by conftest.py) Merge branch '1.7' Run tests on all (changed) branches Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Merge branch '1.7' Development status: alpha Microseconds are not supported by old version of MariaDB and MySQL Microseconds on MariaDB and MySQL require special handling Skip microseconds test if the database doesn't support microseconds Fix a bug: left-pad microseconds with zeroes Merge branch '1.7' Fix Travis image URL branch Merge branch '1.7' Restore section [egg_info] Merge branch '1.7' Merge branch '1.7' Release 2.0.0b1 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:48
|
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 annotated tag, 1.7.1 has been created at 0c4a9ac2561639bf4b6d5972714ebece7eeb09ae (tag) tagging e18c77f92579807b5122302351fc4f88b34f3c98 (commit) replaces 1.7.0 tagged by Oleg Broytman on Thu Dec 11 15:04:22 2014 +0300 - Log ----------------------------------------------------------------- Release 1.7.1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUiYhGAAoJEG4IC3C2KHsD7kkP/0U5In+TZe484+tQr2sdxicS Unhq01t/ZsBPOIE881bx749hlOpAl7HfMoIyIDfoMPfroaomv5oKf6qd+VhwLBKc n4kbctM2bMNrRf5qLYbVQ/1X8FGdtrRRewVSraClQo8cHB5Sw94mfPfMm21mn//j 1juhg0kdl47kBKdbmwgYzQZVQ/Ocd0AKvCUO1KC0wm+Leg56ATxrharYTkCNG1u7 PDg57l4VZ/cm2F4SI5LgY+5RSoDYDeDMCdiraWXJgJq9hVQIG2B71RDUqnU05H6w YY4UpUPeQwy4kA+F1rdmiJ5pH/U2DrzsUznSW5NOqqyazKqNQLEMF47foNoqyAff MsiySZyOlz7k9w669f6Y9Eby1c8wKqcsDkqnYEqfqdvo2+KupgMU16VSZDTaDRa7 f4zyfHQkSLTpkLWaYnUw59ihWJ0G9QMLty9p8kRZBv72vJtaoRoNtBt9cYE/SiXL RUmxQZ1ee5sl9EIFsHQ7BuFPn/Y15J/l+fRc39rfr8Z1TRljdKrUhd1gd9irJMy8 N0MXgCtXD7R2lhSuYx8UUTOrb65AlECSnuC0+uNadt6vqR6M6nWenfD7AjMLzAO8 WZ5DV/8TfRNEJfzO01dbe1AugRw3A3hHmHMRklLdMp4O88Y2qd18XZjeJuOVABQ2 D8iFK6a0j44rEwT4c/ME =nLfL -----END PGP SIGNATURE----- Oleg Broytman (31): Trove: "Programming Language :: Python :: 2 :: Only" Development was moved to git at SF and GitHub Add Travis CI build status image Merge branch '1.5' into 1.6 Travis image: branch 1.6 Merge branch '1.6' into 1.7 Travis image: branch 1.7 Add Oleg Broytman as the maintainer Development switched from Subversion to git Change URLs for setuptools/easy_install Change git URLs for FormEncode Update docs for git Remove unused section [easy_install] Add Travis CI build status image Merge branch '1.5' into 1.6 Fix Travis image URL branch Merge branch '1.6' into 1.7 Fix Travis image URL branch Include everything in source distribution Update setup.cfg SQLObject 1.5.5 was released 11 Dec 2014 Merge branch '1.5' into 1.6 SQLObject 1.6.3 was released 11 Dec 2014 Merge branch '1.6' into 1.7 SQLObject 1.7.1 was released 11 Dec 2014 Release 1.5.5 Merge branch '1.5' into 1.6 Merge branch '1.6' into 1.7 Release 1.6.3 Merge branch '1.6' into 1.7 Release 1.7.1 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:45
|
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 annotated tag, 1.6.3 has been created at 3a2a381bb98df9fc4e41202e06c76cdf9be5ea02 (tag) tagging 73432002e2a779fb7cc537dfbe62931c3e257033 (commit) replaces 1.6.2 tagged by Oleg Broytman on Thu Dec 11 14:59:49 2014 +0300 - Log ----------------------------------------------------------------- Release 1.6.3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUiYc1AAoJEG4IC3C2KHsDNVoP/3FKj73RAlRVIIPZhBbSFCeP V4lioi11a2ixNR4Rn08STetreV7IBIzWqdOJNm/v7Z0jYKV+ZJpB1LnIerMlBxU5 WrD0KZwczvpcSZ438axBw2LCJElKoO9bM1Nq4trHyp/YIi/xzVDVqY4UE6JoIQL1 IGlB1Ass0Y5UttqRZVEaOQPp2FwQyh6uCRCnZwkp4QzaVd3tkuBwuTNw3RBggQXl qedv88/OB1dsK1UzVNzQPeHyqmO6udP1tizQIybGqPjf6MyRjNnPAQT/oSd5TKae sWZhj6244CBgIINGqhKmI0ZG44nCxAmNfljQWOYahP+J4mYS67zfSfdihP8yXpsv wNlEpwn6LsXBy99MzKuKKeVgoAOOsyyrIk8Cdi5BPD9/H6VV+9y8uFqVWm1ai2EE yoGdO5iW6DS2PvLnjn7qceDSPwV0B4WS0qC/dkM79bSgVc/89xEZHWEZYywDNKTq AxS/3s4Ae/W4c5DO+xSCIiWYTTeD1lXw3OBS+PZ9oOHYvUZjvK1bDvl6U45qBK8B J+Cr643aoUAa2bXmul2ePao+wozMZXHdA8KWq6PMssY8c+47/Hzpj1C8kOOKY8Ff kk96OYAZ2Y/dla6DdntsQ5tNT/mnISWiyNn7gaU+qudAcX2DprVuuUxHKwHGJMAN TNEKbCPeSUWyCcv3G4Pu =UEfd -----END PGP SIGNATURE----- Oleg Broytman (22): Trove: "Programming Language :: Python :: 2 :: Only" Development was moved to git at SF and GitHub Add Travis CI build status image Merge branch '1.5' into 1.6 Travis image: branch 1.6 Add Oleg Broytman as the maintainer Development switched from Subversion to git Change URLs for setuptools/easy_install Change git URLs for FormEncode Update docs for git Remove unused section [easy_install] Add Travis CI build status image Merge branch '1.5' into 1.6 Fix Travis image URL branch Include everything in source distribution Update setup.cfg SQLObject 1.5.5 was released 11 Dec 2014 Merge branch '1.5' into 1.6 SQLObject 1.6.3 was released 11 Dec 2014 Release 1.5.5 Merge branch '1.5' into 1.6 Release 1.6.3 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:43
|
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 annotated tag, 1.5.5 has been created at 7f9e8220b115efb4ff9931d0da87ab54032db657 (tag) tagging ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (commit) replaces 1.5.4 tagged by Oleg Broytman on Thu Dec 11 14:48:09 2014 +0300 - Log ----------------------------------------------------------------- Release 1.5.5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAABCgAGBQJUiYR5AAoJEG4IC3C2KHsDCd4QAJtQfYOANxrZuBylrXN7naFX H/aKoHO6vp2wmXsBs+uyahWFbnl5CkBEajZP6efI35OvFT1DLASA5o+S6BI/u1I8 gG61hd87/3j/857/y7eXIiKPpzWJTI0G1DS3+npdkDpHV6RIL0CymzeXhfnKAEeg jVX32Dup/d1xyQ7eu91W0nCMvgXPT5a9iIpdQuXtbETBN7N12EACA6QOgQ7QNpz5 uwaNfAbAZInVIh7IVd9gy3hdevsmVm3rmxPbrWEulDtW9Vz88C9XV10uOD18tAMO yYRgR0pEtCRT2RXXWFR6E7DYraI95Gzh8B+7IDy5WL/HczmGmtAleLql9WpNvA1k 1oWF2GKFofS8+s1wFcPibELnpSV+KN/Zxk4O/Es6ydcA1AxD58V/O4oYJgGyo+hB ZnxApNdgByNFX8QuAs8t3gFu5pvCA6lFWiQksm0hVs/Fm/o4UcCjnpxCVyVp74YN 8Ha5aEy1a6mX2WBRFt7s3xgKtJsRfwTlOSzIWC3rg71J+lnvOxbtDpDxk5ORKq9Q cpVIU8xZaakl2h+wfNp4Z6F7gkHTZPQYNVJOREv8maovn3HNnzgKMnS2m9L/Pxt4 5e+OdDSd6fphM3+AZLKj/GE4Vr6zimNf3oZMafJflT4FfoaB+f/14AtrhqODhLua WaFcawyqEySOOum59IWw =hk1L -----END PGP SIGNATURE----- Oleg Broytman (14): Trove: "Programming Language :: Python :: 2 :: Only" Development was moved to git at SF and GitHub Add Travis CI build status image Add Oleg Broytman as the maintainer Development switched from Subversion to git Change URLs for setuptools/easy_install Change git URLs for FormEncode Update docs for git Remove unused section [easy_install] Add Travis CI build status image Include everything in source distribution Update setup.cfg SQLObject 1.5.5 was released 11 Dec 2014 Release 1.5.5 ----------------------------------------------------------------------- hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:37
|
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 a7476521179ee0d464b5b4ea0914511e9bfdbe81 (commit) via 785f1b0d47cf957ea20d59f3e9a2ebb8493ca93c (commit) via e18c77f92579807b5122302351fc4f88b34f3c98 (commit) via c10d58b78fb6bd1bbdaf0e34896f5c0aa4c601f3 (commit) via 73432002e2a779fb7cc537dfbe62931c3e257033 (commit) via 75d7b5224dcb8b9442cef4ab47ce0ec769cafeed (commit) via c28a24529aeb41b9b92125aaba24c052110d9f30 (commit) via d9a74bab80c4cb229a7aa1e46b8d5b3b9cbeab32 (commit) via ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (commit) via 3e8c3af0f1840acd15173d92ac60426796a6880d (commit) via 6c1a6a32ae7a5ca2bd3b0b4901bb999a87b57fc7 (commit) via a142164e75b14debd7b8713cf22d93db6d6f446a (commit) via 288c9ece07ab5fe8fdd652aa0af1623c20b4343d (commit) via 2c6aa7d045570002a5209bf84fe00acf587fd1ff (commit) via 3653f1251a6b553240fdbeeae49ca616f12c39d4 (commit) via 95c1b64f41f3c7cf7390f2d85f35dff037a1a73e (commit) via c36675faacb19c12a02d89042f48f9444ebf3df9 (commit) via b4ade15c418a35fb51afeb2f69f6da6af6470bae (commit) via 11f7782450fddbfc1aba1c7fb125a19af7162eb2 (commit) via 5d0fd50ab84f96c79d2f5ab7f9d1bca0067fcd0a (commit) via ee137ee389c0aedb7972e382227153a7c207f4ce (commit) via d2f2a5b50f08c3ff34a6df80fa4e4d50bbc5f00e (commit) via 80e1319a86f46e377f2c85ef30c7670d95ed9504 (commit) via 550af46fa7bd3135f1c073ed3b1d4b8ae2be92a2 (commit) via 001fa1d84388bb4ef15aa0098d4fe518dd7f7694 (commit) via 2aebd2052b3e3313cc891441a0e731af325cc597 (commit) via 8f414dfa68d27c3720b168e39a62f8d885785a2a (commit) via 41fba8e5527728765f57d8c5b45fb01987da28a5 (commit) via a9cb15a094fddb3bed31cd7971269ae340bc53dc (commit) via d4ac2a7c0db82b9bbd90f95f4e2d383ca780c9fa (commit) via 7d4566974a68052e29426451dde094ae2481fc60 (commit) via de8f7a6ba3406c6ece700f76bcca4fabf2c22023 (commit) from f53b85f9e682ed63c1a44d8e84811a0ec4204103 (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/a7476521179ee0d464b5b4ea0914511e9bfdbe81 commit a7476521179ee0d464b5b4ea0914511e9bfdbe81 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 15:12:17 2014 +0300 Release 2.0.0b1 diff --git a/README.txt b/README.txt index 8a3b051..148ee85 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -SQLObject 2.0.0a2 +SQLObject 2.0.0b1 ================= Thanks for looking at SQLObject. SQLObject is an object-relational diff --git a/setup.py b/setup.py index af8f1d1..41bd2de 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ and `GitHub <https://github.com/sqlobject>`_. :target: https://travis-ci.org/sqlobject/sqlobject """, classifiers=[ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", @@ -74,7 +74,7 @@ and `GitHub <https://github.com/sqlobject>`_. maintainer="Oleg Broytman", maintainer_email="ph...@ph...", url="http://sqlobject.org/devel/", - download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20141028" % version, + download_url="https://pypi.python.org/pypi/SQLObject/%sdev-20141211" % version, license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin", "scripts/sqlobject-convertOldURI"], diff --git a/sqlobject/__version__.py b/sqlobject/__version__.py index c2b2822..e334faa 100644 --- a/sqlobject/__version__.py +++ b/sqlobject/__version__.py @@ -1,8 +1,8 @@ -version = '2.0.0a2' +version = '2.0.0b1' major = 2 minor = 0 micro = 0 -release_level = 'alpha' -serial = 2 +release_level = 'beta' +serial = 1 version_info = (major, minor, micro, release_level, serial) http://sourceforge.net/p/sqlobject/sqlobject/ci/785f1b0d47cf957ea20d59f3e9a2ebb8493ca93c commit 785f1b0d47cf957ea20d59f3e9a2ebb8493ca93c Merge: 75d7b52 e18c77f Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 15:06:32 2014 +0300 Merge branch '1.7' [skip ci] http://sourceforge.net/p/sqlobject/sqlobject/ci/75d7b5224dcb8b9442cef4ab47ce0ec769cafeed commit 75d7b5224dcb8b9442cef4ab47ce0ec769cafeed Merge: 3e8c3af c28a245 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 14:54:24 2014 +0300 Merge branch '1.7' [skip ci] http://sourceforge.net/p/sqlobject/sqlobject/ci/3e8c3af0f1840acd15173d92ac60426796a6880d commit 3e8c3af0f1840acd15173d92ac60426796a6880d Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 14:28:39 2014 +0300 Restore section [egg_info] master is a development branch [skip ci] diff --git a/setup.cfg b/setup.cfg index 935ce69..1bb5465 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,8 +3,8 @@ command_packages = buildutils.pudge_command, buildutils.publish_command [egg_info] -tag_build = -tag_date = 0 +tag_build = dev +tag_date = 1 tag_svn_revision = 0 [egg_info] http://sourceforge.net/p/sqlobject/sqlobject/ci/6c1a6a32ae7a5ca2bd3b0b4901bb999a87b57fc7 commit 6c1a6a32ae7a5ca2bd3b0b4901bb999a87b57fc7 Merge: 11f7782 a142164 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 14:25:27 2014 +0300 Merge branch '1.7' [skip ci] diff --cc docs/News.txt index af46b3f,4891145..67045ce --- a/docs/News.txt +++ b/docs/News.txt @@@ -7,45 -7,14 +7,53 @@@ New .. _start: +SQLObject 2.0.0 (master) +======================== + +Features & Interface +-------------------- + +* DateTimeCol and TimeCol can read and write values with microseconds. + + WARNING: microseconds are supported by MariaDB since version 5.3.0 and + by MySQL since version 5.6.4, and even these versions require special + handling: columns to store microseconds have to be declared with + precision 6: TIME(6), DATETIME(6), TIMESTAMP(6). SQLObject does the + right thing when creating a new database but existing databases have + to be changed: run something like + ``ALTER TABLE name MODIFY COLUMN col TIME(6)`` for every column that + you want to store microseconds. + + WARNING: backward compatibility problem! Date/Time columns created + with microseconds cannot be read back from SQLite databases (and + perhaps other backends) with versions of SQLObject older than 1.7. + +Minor features +-------------- + +* PostgresConnection, when used with fromDatabase=True, sets alternateID + for unique columns. + +Development +----------- + +* Development was switched from Subversion to git. + +Documentation +------------- + +* Old news were restored back to version 0.2.1. + +* News.txt was split into 5 small files. + + SQLObject 1.7.1 + =============== + + Released 11 Dec 2014. + + * Documentation updates and setuptools change were ported + from `SQLObject 1.5.5`_. + SQLObject 1.7.0 =============== @@@ -109,11 -86,16 +125,21 @@@ Bugfixe * A bugfix was ported from `SQLObject 1.5.2`_. +Development +----------- + +* Development switched from Subvesion to git. + + SQLObject 1.5.5 + =============== + + Released 11 Dec 2014. + + * Documentation update: change URLs for development with git, add + Travis CI build status image. + + * Extend sdist: include everything into source distribution. + SQLObject 1.5.4 =============== diff --cc setup.cfg index 323bee5,79b7a73..935ce69 --- a/setup.cfg +++ b/setup.cfg @@@ -1,19 -1,19 +1,24 @@@ [global] command_packages = buildutils.pudge_command, - buildutils.publish_command + buildutils.publish_command + + [egg_info] + tag_build = + tag_date = 0 + tag_svn_revision = 0 +[egg_info] +tag_build = dev +tag_date = true + [pudge] theme = pythonpaste.org docs = docs/index.txt docs/Authors.txt docs/DeveloperGuide.txt docs/FAQ.txt - docs/Inheritance.txt docs/News.txt docs/News1.txt docs/News2.txt - docs/News3.txt docs/News4.txt docs/SQLBuilder.txt - docs/SQLObject.txt docs/SelectResults.txt docs/TODO.txt - docs/Versioning.txt docs/Views.txt docs/community.txt docs/download.txt - docs/links.txt docs/sqlobject-admin.txt - docs/Inheritance.txt docs/News.txt docs/SQLBuilder.txt ++ docs/Inheritance.txt docs/News.txt docs/News1.txt docs/News2.txt ++ docs/News3.txt docs/News4.txt docs/SQLBuilder.txt + docs/SQLObject.txt docs/SelectResults.txt docs/TODO.txt + docs/Versioning.txt docs/Views.txt docs/community.txt docs/download.txt + docs/links.txt docs/sqlobject-admin.txt doc_base = docs/ dest = docs/html modules = sqlobject http://sourceforge.net/p/sqlobject/sqlobject/ci/11f7782450fddbfc1aba1c7fb125a19af7162eb2 commit 11f7782450fddbfc1aba1c7fb125a19af7162eb2 Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 01:50:54 2014 +0300 Fix Travis image URL branch [skip ci] diff --git a/docs/DeveloperGuide.txt b/docs/DeveloperGuide.txt index d36de15..8515824 100644 --- a/docs/DeveloperGuide.txt +++ b/docs/DeveloperGuide.txt @@ -180,7 +180,7 @@ exercised, even if the tests are absolutely complete. We now use Travis CI to run tests. See the status: -.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=1.7 +.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master :target: https://travis-ci.org/sqlobject/sqlobject Documentation http://sourceforge.net/p/sqlobject/sqlobject/ci/5d0fd50ab84f96c79d2f5ab7f9d1bca0067fcd0a commit 5d0fd50ab84f96c79d2f5ab7f9d1bca0067fcd0a Merge: de8f7a6 ee137ee Author: Oleg Broytman <ph...@ph...> Date: Thu Dec 11 01:50:01 2014 +0300 Merge branch '1.7' [skip ci] http://sourceforge.net/p/sqlobject/sqlobject/ci/de8f7a6ba3406c6ece700f76bcca4fabf2c22023 commit de8f7a6ba3406c6ece700f76bcca4fabf2c22023 Author: Oleg Broytman <ph...@ph...> Date: Wed Dec 10 23:04:39 2014 +0300 Fix a bug: left-pad microseconds with zeroes diff --git a/sqlobject/converters.py b/sqlobject/converters.py index 4a11034..7629bd6 100644 --- a/sqlobject/converters.py +++ b/sqlobject/converters.py @@ -147,7 +147,7 @@ if hasattr(time, 'struct_time'): registerConverter(time.struct_time, StructTimeConverter) def DateTimeConverter(value, db): - return "'%04d-%02d-%02d %02d:%02d:%02d.%d'" % ( + return "'%04d-%02d-%02d %02d:%02d:%02d.%06d'" % ( value.year, value.month, value.day, value.hour, value.minute, value.second, value.microsecond) @@ -159,7 +159,7 @@ def DateConverter(value, db): registerConverter(datetime.date, DateConverter) def TimeConverter(value, db): - return "'%02d:%02d:%02d.%d'" % (value.hour, value.minute, value.second, value.microsecond) + return "'%02d:%02d:%02d.%06d'" % (value.hour, value.minute, value.second, value.microsecond) registerConverter(datetime.time, TimeConverter) ----------------------------------------------------------------------- Summary of changes: MANIFEST.in | 18 ++++++++++-------- README.txt | 2 +- docs/DeveloperGuide.txt | 7 +++++-- docs/News.txt | 31 +++++++++++++++++++++++++++++++ setup.cfg | 39 ++++++++++++++++++++++----------------- setup.py | 4 ++-- sqlobject/__version__.py | 6 +++--- sqlobject/converters.py | 4 ++-- 8 files changed, 76 insertions(+), 35 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:35
|
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, 1.7 has been updated via e18c77f92579807b5122302351fc4f88b34f3c98 (commit) via c10d58b78fb6bd1bbdaf0e34896f5c0aa4c601f3 (commit) via 73432002e2a779fb7cc537dfbe62931c3e257033 (commit) via c28a24529aeb41b9b92125aaba24c052110d9f30 (commit) via d9a74bab80c4cb229a7aa1e46b8d5b3b9cbeab32 (commit) via ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (commit) via a142164e75b14debd7b8713cf22d93db6d6f446a (commit) via 288c9ece07ab5fe8fdd652aa0af1623c20b4343d (commit) via 2c6aa7d045570002a5209bf84fe00acf587fd1ff (commit) via 3653f1251a6b553240fdbeeae49ca616f12c39d4 (commit) via 95c1b64f41f3c7cf7390f2d85f35dff037a1a73e (commit) via c36675faacb19c12a02d89042f48f9444ebf3df9 (commit) via b4ade15c418a35fb51afeb2f69f6da6af6470bae (commit) via ee137ee389c0aedb7972e382227153a7c207f4ce (commit) via d2f2a5b50f08c3ff34a6df80fa4e4d50bbc5f00e (commit) via 80e1319a86f46e377f2c85ef30c7670d95ed9504 (commit) via 550af46fa7bd3135f1c073ed3b1d4b8ae2be92a2 (commit) via 001fa1d84388bb4ef15aa0098d4fe518dd7f7694 (commit) via 2aebd2052b3e3313cc891441a0e731af325cc597 (commit) via 8f414dfa68d27c3720b168e39a62f8d885785a2a (commit) via 41fba8e5527728765f57d8c5b45fb01987da28a5 (commit) via a9cb15a094fddb3bed31cd7971269ae340bc53dc (commit) via d4ac2a7c0db82b9bbd90f95f4e2d383ca780c9fa (commit) via 7d4566974a68052e29426451dde094ae2481fc60 (commit) from 8fbe39e241aea14a4657a8648d0f36d1bab618c1 (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: MANIFEST.in | 18 ++++++++++-------- README.txt | 2 +- docs/DeveloperGuide.txt | 19 +++++++++++-------- docs/News.txt | 31 +++++++++++++++++++++++++++++++ docs/TODO.txt | 2 +- docs/community.txt | 14 ++++++++------ docs/download.txt | 23 ++++++++++------------- docs/links.txt | 7 ++++--- setup.cfg | 38 ++++++++++++++++++++------------------ sqlobject/__version__.py | 4 ++-- 10 files changed, 98 insertions(+), 60 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:33
|
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, 1.6 has been updated via 73432002e2a779fb7cc537dfbe62931c3e257033 (commit) via d9a74bab80c4cb229a7aa1e46b8d5b3b9cbeab32 (commit) via ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (commit) via 2c6aa7d045570002a5209bf84fe00acf587fd1ff (commit) via 3653f1251a6b553240fdbeeae49ca616f12c39d4 (commit) via 95c1b64f41f3c7cf7390f2d85f35dff037a1a73e (commit) via c36675faacb19c12a02d89042f48f9444ebf3df9 (commit) via b4ade15c418a35fb51afeb2f69f6da6af6470bae (commit) via 80e1319a86f46e377f2c85ef30c7670d95ed9504 (commit) via 550af46fa7bd3135f1c073ed3b1d4b8ae2be92a2 (commit) via 001fa1d84388bb4ef15aa0098d4fe518dd7f7694 (commit) via 2aebd2052b3e3313cc891441a0e731af325cc597 (commit) via 8f414dfa68d27c3720b168e39a62f8d885785a2a (commit) via 41fba8e5527728765f57d8c5b45fb01987da28a5 (commit) via a9cb15a094fddb3bed31cd7971269ae340bc53dc (commit) via d4ac2a7c0db82b9bbd90f95f4e2d383ca780c9fa (commit) via 7d4566974a68052e29426451dde094ae2481fc60 (commit) from 183699a76fe8cc00e03d7c56dbd8af07b58f328e (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: MANIFEST.in | 18 ++++++++++-------- README.txt | 2 +- docs/DeveloperGuide.txt | 19 +++++++++++-------- docs/News.txt | 23 +++++++++++++++++++++++ docs/TODO.txt | 2 +- docs/community.txt | 14 ++++++++------ docs/download.txt | 23 ++++++++++------------- docs/links.txt | 7 ++++--- setup.cfg | 38 ++++++++++++++++++++------------------ sqlobject/__version__.py | 4 ++-- 10 files changed, 90 insertions(+), 60 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-11 12:24:30
|
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, 1.5 has been updated via ed12cd4cb651dfa79bdec0ccb067fe3a6d30d735 (commit) via 95c1b64f41f3c7cf7390f2d85f35dff037a1a73e (commit) via c36675faacb19c12a02d89042f48f9444ebf3df9 (commit) via b4ade15c418a35fb51afeb2f69f6da6af6470bae (commit) via 001fa1d84388bb4ef15aa0098d4fe518dd7f7694 (commit) via 2aebd2052b3e3313cc891441a0e731af325cc597 (commit) via 8f414dfa68d27c3720b168e39a62f8d885785a2a (commit) via 41fba8e5527728765f57d8c5b45fb01987da28a5 (commit) via a9cb15a094fddb3bed31cd7971269ae340bc53dc (commit) via d4ac2a7c0db82b9bbd90f95f4e2d383ca780c9fa (commit) via 7d4566974a68052e29426451dde094ae2481fc60 (commit) from e1a1c01d09ce8ca2d70df8536467de4da0b0393e (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 ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: MANIFEST.in | 18 ++++++++++-------- README.txt | 2 +- docs/DeveloperGuide.txt | 19 +++++++++++-------- docs/News.txt | 15 +++++++++++++++ docs/TODO.txt | 2 +- docs/community.txt | 14 ++++++++------ docs/download.txt | 23 ++++++++++------------- docs/links.txt | 7 ++++--- setup.cfg | 38 ++++++++++++++++++++------------------ setup.py | 2 ++ sqlobject/__version__.py | 4 ++-- 11 files changed, 84 insertions(+), 60 deletions(-) hooks/post-receive -- SQLObject development repository |
From: Oleg B. <no...@so...> - 2014-12-09 21:16:20
|
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 f53b85f9e682ed63c1a44d8e84811a0ec4204103 (commit) via 0b6de541aca2b93a701f4bcc7a15dfd0525ad227 (commit) via 65510b0f99f0e1435fb67551868b5e85ffc01a0a (commit) via a2f5394f60dd625c8a1207ff863cb7b6a41361d2 (commit) via 41699050f3cad73fd2863c0eeb2cc1a31c7f92d7 (commit) via 8fbe39e241aea14a4657a8648d0f36d1bab618c1 (commit) via 7a3a9978881d39a9a1a141af93b32606df08805e (commit) via 183699a76fe8cc00e03d7c56dbd8af07b58f328e (commit) via 6f4871059ab77831555fdc149a9dd652f7173f0f (commit) via e1a1c01d09ce8ca2d70df8536467de4da0b0393e (commit) via 99c87a77b33fe6d5b7f605204ce1274311c4a503 (commit) via a26ef553dfdd6879507be1f8928b6e72572c7cf7 (commit) from 24513bee32cdbb62d6ecf52fb5ab2045f7ab5386 (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/f53b85f9e682ed63c1a44d8e84811a0ec4204103 commit f53b85f9e682ed63c1a44d8e84811a0ec4204103 Author: Oleg Broytman <ph...@ph...> Date: Wed Dec 10 00:13:24 2014 +0300 Skip microseconds test if the database doesn't support microseconds diff --git a/sqlobject/tests/test_datetime.py b/sqlobject/tests/test_datetime.py index 114e5ce..e1e1902 100644 --- a/sqlobject/tests/test_datetime.py +++ b/sqlobject/tests/test_datetime.py @@ -1,3 +1,4 @@ +import py.test from sqlobject import * from sqlobject.tests.dbtest import * @@ -26,7 +27,6 @@ def test_dateTime(): assert dt1.col1.hour == _now.hour assert dt1.col1.minute == _now.minute assert dt1.col1.second == _now.second - assert dt1.col1.microsecond == _now.microsecond assert isinstance(dt1.col2, date) assert not isinstance(dt1.col2, datetime) @@ -38,6 +38,18 @@ def test_dateTime(): assert dt1.col3.hour == _now.hour assert dt1.col3.minute == _now.minute assert dt1.col3.second == _now.second + +def test_microseconds(): + connection = getConnection() + if hasattr(connection, 'can_use_microseconds') and \ + not connection.can_use_microseconds(): + py.test.skip("The database doesn't support microseconds; microseconds are supported by MariaDB since version 5.3.0 and by MySQL since version 5.6.4.") + + setupClass(DateTime1) + _now = datetime.now() + dt1 = DateTime1(col1=_now, col2=_now, col3=_now.time()) + + assert dt1.col1.microsecond == _now.microsecond assert dt1.col3.microsecond == _now.microsecond if mxdatetime_available: http://sourceforge.net/p/sqlobject/sqlobject/ci/0b6de541aca2b93a701f4bcc7a15dfd0525ad227 commit 0b6de541aca2b93a701f4bcc7a15dfd0525ad227 Author: Oleg Broytman <ph...@ph...> Date: Tue Dec 9 23:48:43 2014 +0300 Microseconds on MariaDB and MySQL require special handling Columns to store microseconds have to be declared with precision 6: TIME(6), DATETIME(6), TIMESTAMP(6). diff --git a/docs/News.txt b/docs/News.txt index 0b7a4b5..aef425a 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -16,7 +16,13 @@ Features & Interface * DateTimeCol and TimeCol can read and write values with microseconds. WARNING: microseconds are supported by MariaDB since version 5.3.0 and - by MySQL since version 5.6.4. + by MySQL since version 5.6.4, and even these versions require special + handling: columns to store microseconds have to be declared with + precision 6: TIME(6), DATETIME(6), TIMESTAMP(6). SQLObject does the + right thing when creating a new database but existing databases have + to be changed: run something like + ``ALTER TABLE name MODIFY COLUMN col TIME(6)`` for every column that + you want to store microseconds. WARNING: backward compatibility problem! Date/Time columns created with microseconds cannot be read back from SQLite databases (and diff --git a/sqlobject/col.py b/sqlobject/col.py index 005e486..adbf002 100644 --- a/sqlobject/col.py +++ b/sqlobject/col.py @@ -320,7 +320,8 @@ class SOCol(object): def _maxdbType(self): return self._sqlType() - def mysqlCreateSQL(self): + def mysqlCreateSQL(self, connection=None): + self.connection = connection return ' '.join([self.dbName, self._mysqlType()] + self._extraSQL()) def postgresCreateSQL(self): @@ -906,8 +907,8 @@ class SOForeignKey(SOKeyCol): 'sTLocalName': sTLocalName}) return constraint - def mysqlCreateSQL(self): - return SOKeyCol.mysqlCreateSQL(self) + def mysqlCreateSQL(self, connection=None): + return SOKeyCol.mysqlCreateSQL(self, connection) def sybaseCreateSQL(self): sql = SOKeyCol.sybaseCreateSQL(self) @@ -1193,7 +1194,10 @@ class SODateTimeCol(SOCol): return _validators def _mysqlType(self): - return 'DATETIME' + if self.connection and self.connection.can_use_microseconds(): + return 'DATETIME(6)' + else: + return 'DATETIME' def _postgresType(self): return 'TIMESTAMP' @@ -1324,7 +1328,10 @@ class SOTimeCol(SOCol): return _validators def _mysqlType(self): - return 'TIME' + if self.connection and self.connection.can_use_microseconds(): + return 'TIME(6)' + else: + return 'TIME' def _postgresType(self): return 'TIME' @@ -1356,7 +1363,10 @@ class SOTimestampCol(SODateTimeCol): SOCol.__init__(self, **kw) def _mysqlType(self): - return 'TIMESTAMP' + if self.connection and self.connection.can_use_microseconds(): + return 'TIMESTAMP(6)' + else: + return 'TIMESTAMP' class TimestampCol(Col): baseClass = SOTimestampCol diff --git a/sqlobject/mysql/mysqlconnection.py b/sqlobject/mysql/mysqlconnection.py index 072df33..df02b9b 100644 --- a/sqlobject/mysql/mysqlconnection.py +++ b/sqlobject/mysql/mysqlconnection.py @@ -176,7 +176,7 @@ class MySQLConnection(DBAPI): return col.mysqlCreateReferenceConstraint() def createColumn(self, soClass, col): - return col.mysqlCreateSQL() + return col.mysqlCreateSQL(self) def createIndexSQL(self, soClass, index): return index.mysqlCreateIndexSQL(soClass) @@ -204,7 +204,7 @@ class MySQLConnection(DBAPI): def addColumn(self, tableName, column): self.query('ALTER TABLE %s ADD COLUMN %s' % (tableName, - column.mysqlCreateSQL())) + column.mysqlCreateSQL(self))) def delColumn(self, sqlmeta, column): self.query('ALTER TABLE %s DROP COLUMN %s' % (sqlmeta.table, column.dbName)) http://sourceforge.net/p/sqlobject/sqlobject/ci/65510b0f99f0e1435fb67551868b5e85ffc01a0a commit 65510b0f99f0e1435fb67551868b5e85ffc01a0a Author: Oleg Broytman <ph...@ph...> Date: Tue Dec 9 23:09:32 2014 +0300 Microseconds are not supported by old version of MariaDB and MySQL Microseconds are supported by MariaDB since version 5.3.0 and by MySQL since version 5.6.4. diff --git a/docs/News.txt b/docs/News.txt index a2c6ec6..0b7a4b5 100644 --- a/docs/News.txt +++ b/docs/News.txt @@ -15,6 +15,9 @@ Features & Interface * DateTimeCol and TimeCol can read and write values with microseconds. + WARNING: microseconds are supported by MariaDB since version 5.3.0 and + by MySQL since version 5.6.4. + WARNING: backward compatibility problem! Date/Time columns created with microseconds cannot be read back from SQLite databases (and perhaps other backends) with versions of SQLObject older than 1.7. diff --git a/sqlobject/mysql/mysqlconnection.py b/sqlobject/mysql/mysqlconnection.py index f3ea515..072df33 100644 --- a/sqlobject/mysql/mysqlconnection.py +++ b/sqlobject/mysql/mysqlconnection.py @@ -48,6 +48,8 @@ class MySQLConnection(DBAPI): # MySQLdb > 1.2.1: both ascii and unicode self.need_unicode = (self.module.version_info[:3] >= (1, 2, 1)) and (self.module.version_info[:3] < (1, 2, 2)) + self._server_version = None + self._can_use_microseconds = None DBAPI.__init__(self, **kw) @classmethod @@ -303,3 +305,35 @@ class MySQLConnection(DBAPI): def dropDatabase(self): self._createOrDropDatabase(op="DROP") + + def server_version(self): + if self._server_version is not None: + return self._server_version + try: + server_version = self.queryOne("SELECT VERSION()")[0] + server_version = server_version.split('-', 1) + db_tag = "MySQL" + if len(server_version) == 2: + if "MariaDB" in server_version[1]: + db_tag = "MariaDB" + server_version = server_version[0] + server_version = tuple(int(v) for v in server_version.split('.')) + server_version = (server_version, db_tag) + except: + server_version = None # unknown + self._server_version = server_version + return server_version + + def can_use_microseconds(self): + if self._can_use_microseconds is not None: + return self._can_use_microseconds + server_version = self.server_version() + if server_version is None: + return None + server_version, db_tag = server_version + if db_tag == "MariaDB": + can_use_microseconds = (server_version >= (5, 3, 0)) + else: # MySQL + can_use_microseconds = (server_version >= (5, 6, 4)) + self._can_use_microseconds = can_use_microseconds + return can_use_microseconds http://sourceforge.net/p/sqlobject/sqlobject/ci/a2f5394f60dd625c8a1207ff863cb7b6a41361d2 commit a2f5394f60dd625c8a1207ff863cb7b6a41361d2 Author: Oleg Broytman <ph...@ph...> Date: Tue Dec 9 19:14:56 2014 +0300 Development status: alpha diff --git a/setup.py b/setup.py index afe2430..af8f1d1 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ and `GitHub <https://github.com/sqlobject>`_. :target: https://travis-ci.org/sqlobject/sqlobject """, classifiers=[ - "Development Status :: 5 - Production/Stable", + "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", http://sourceforge.net/p/sqlobject/sqlobject/ci/41699050f3cad73fd2863c0eeb2cc1a31c7f92d7 commit 41699050f3cad73fd2863c0eeb2cc1a31c7f92d7 Merge: 24513be 8fbe39e Author: Oleg Broytman <ph...@ph...> Date: Tue Dec 9 19:14:06 2014 +0300 Merge branch '1.7' diff --cc setup.py index 1309237,adf5161..afe2430 --- a/setup.py +++ b/setup.py @@@ -51,9 -51,12 +51,12 @@@ applications Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB). - For development see the git repositories at - http://sourceforge.net/p/sqlobject/_list/git and - https://github.com/sqlobject + For development see the projects at + `SourceForge <http://sourceforge.net/projects/sqlobject/>`_ + and `GitHub <https://github.com/sqlobject>`_. + -.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=1.7 ++.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master + :target: https://travis-ci.org/sqlobject/sqlobject """, classifiers=[ "Development Status :: 5 - Production/Stable", ----------------------------------------------------------------------- Summary of changes: docs/News.txt | 9 ++++++++ setup.py | 13 ++++++++--- sqlobject/col.py | 22 +++++++++++++++----- sqlobject/mysql/mysqlconnection.py | 38 ++++++++++++++++++++++++++++++++++- sqlobject/tests/test_datetime.py | 14 ++++++++++++- 5 files changed, 83 insertions(+), 13 deletions(-) hooks/post-receive -- SQLObject development repository |