sqlobject-discuss Mailing List for SQLObject (Page 5)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
2003 |
Jan
|
Feb
(2) |
Mar
(43) |
Apr
(204) |
May
(208) |
Jun
(102) |
Jul
(113) |
Aug
(63) |
Sep
(88) |
Oct
(85) |
Nov
(95) |
Dec
(62) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(38) |
Feb
(93) |
Mar
(125) |
Apr
(89) |
May
(66) |
Jun
(65) |
Jul
(53) |
Aug
(65) |
Sep
(79) |
Oct
(60) |
Nov
(171) |
Dec
(176) |
2005 |
Jan
(264) |
Feb
(260) |
Mar
(145) |
Apr
(153) |
May
(192) |
Jun
(166) |
Jul
(265) |
Aug
(340) |
Sep
(300) |
Oct
(469) |
Nov
(316) |
Dec
(235) |
2006 |
Jan
(236) |
Feb
(156) |
Mar
(229) |
Apr
(221) |
May
(257) |
Jun
(161) |
Jul
(97) |
Aug
(169) |
Sep
(159) |
Oct
(400) |
Nov
(136) |
Dec
(134) |
2007 |
Jan
(152) |
Feb
(101) |
Mar
(115) |
Apr
(120) |
May
(129) |
Jun
(82) |
Jul
(118) |
Aug
(82) |
Sep
(30) |
Oct
(101) |
Nov
(137) |
Dec
(53) |
2008 |
Jan
(83) |
Feb
(139) |
Mar
(55) |
Apr
(69) |
May
(82) |
Jun
(31) |
Jul
(66) |
Aug
(30) |
Sep
(21) |
Oct
(37) |
Nov
(41) |
Dec
(65) |
2009 |
Jan
(69) |
Feb
(46) |
Mar
(22) |
Apr
(20) |
May
(39) |
Jun
(30) |
Jul
(36) |
Aug
(58) |
Sep
(38) |
Oct
(20) |
Nov
(10) |
Dec
(11) |
2010 |
Jan
(24) |
Feb
(63) |
Mar
(22) |
Apr
(72) |
May
(8) |
Jun
(13) |
Jul
(35) |
Aug
(23) |
Sep
(12) |
Oct
(26) |
Nov
(11) |
Dec
(30) |
2011 |
Jan
(15) |
Feb
(44) |
Mar
(36) |
Apr
(26) |
May
(27) |
Jun
(10) |
Jul
(28) |
Aug
(12) |
Sep
|
Oct
|
Nov
(17) |
Dec
(16) |
2012 |
Jan
(12) |
Feb
(31) |
Mar
(23) |
Apr
(14) |
May
(10) |
Jun
(26) |
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(1) |
Nov
|
Dec
(6) |
2013 |
Jan
(4) |
Feb
(5) |
Mar
|
Apr
(4) |
May
(13) |
Jun
(7) |
Jul
(5) |
Aug
(15) |
Sep
(25) |
Oct
(18) |
Nov
(7) |
Dec
(3) |
2014 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
(3) |
May
(3) |
Jun
(2) |
Jul
(4) |
Aug
(5) |
Sep
|
Oct
(11) |
Nov
|
Dec
(62) |
2015 |
Jan
(8) |
Feb
(3) |
Mar
(15) |
Apr
|
May
|
Jun
(6) |
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
(19) |
2016 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
(4) |
May
(3) |
Jun
(7) |
Jul
(14) |
Aug
(13) |
Sep
(6) |
Oct
(2) |
Nov
(3) |
Dec
|
2017 |
Jan
(6) |
Feb
(14) |
Mar
(2) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(3) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
(44) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(1) |
2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg B. <ph...@ph...> - 2016-10-27 19:28:11
|
On Thu, Oct 27, 2016 at 09:10:49PM +0200, Neil Muller <drn...@gm...> wrote: > On 23 September 2016 at 00:03, Oleg Broytman <ph...@ph...> wrote: > > Hi, all! > > > > On Thu, Aug 25, 2016 at 11:18:45PM +0200, Oleg Broytman <ph...@ph...> wrote: > >> Recently tests started to fail both at Travis and Circle, but only > >> with Postgres. Initially I couldn't reproduce the problem locally but > >> after a dozen of experiments I got it: the problem manifests itself > >> only with Python 2.7.12 + tox + PostgreSQL. I have to install Python > >> 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 > >> and I usually don't use tox - I run py.test directly). > >> > >> Somehow I managed to fix tests by changing test order - I explicitly > >> listed tests directories with 'tests' at the top of the other dirs. > > > > After a few hundreds successful and failed test runs I narrowed the > > problem a bit and reproduced it with any python version and without tox. > > So the problem is clearly in SQLObject tests. > > The problem is manifested if tests from sqlobject/tests are run after > > sqlobject/inheritance/tests: > > > > createdb test > > py.test sqlobject/inheritance/tests tests/test_schema.py > > dropdb test > > > > I spent some time today poking at this. While I haven't isolated the > cause, I have some more information on what's happening. > > When the test fails, the connection pool has two entries. Because of > how getConnection & releaseConnection are implemented, the connection > returned by getConnection will cycle between these two entries. In > this case, the call to CREATE TABLE and the query end up happening in > different connections, which have different values for search_path > (since that's local to the underlying connection), which causes the > failure. > > I haven't worked out where the extra connection in the pool gets > created or why this only happens some of the time. Food for thoughts. Thanks! > -- > Neil Muller > drn...@gm... Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Neil M. <drn...@gm...> - 2016-10-27 19:10:58
|
On 23 September 2016 at 00:03, Oleg Broytman <ph...@ph...> wrote: > Hi, all! > > On Thu, Aug 25, 2016 at 11:18:45PM +0200, Oleg Broytman <ph...@ph...> wrote: >> Recently tests started to fail both at Travis and Circle, but only >> with Postgres. Initially I couldn't reproduce the problem locally but >> after a dozen of experiments I got it: the problem manifests itself >> only with Python 2.7.12 + tox + PostgreSQL. I have to install Python >> 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 >> and I usually don't use tox - I run py.test directly). >> >> Somehow I managed to fix tests by changing test order - I explicitly >> listed tests directories with 'tests' at the top of the other dirs. > > After a few hundreds successful and failed test runs I narrowed the > problem a bit and reproduced it with any python version and without tox. > So the problem is clearly in SQLObject tests. > The problem is manifested if tests from sqlobject/tests are run after > sqlobject/inheritance/tests: > > createdb test > py.test sqlobject/inheritance/tests tests/test_schema.py > dropdb test > I spent some time today poking at this. While I haven't isolated the cause, I have some more information on what's happening. When the test fails, the connection pool has two entries. Because of how getConnection & releaseConnection are implemented, the connection returned by getConnection will cycle between these two entries. In this case, the call to CREATE TABLE and the query end up happening in different connections, which have different values for search_path (since that's local to the underlying connection), which causes the failure. I haven't worked out where the extra connection in the pool gets created or why this only happens some of the time. -- Neil Muller drn...@gm... I've got a gmail account. Why haven't I become cool? |
From: Oleg B. <ph...@ph...> - 2016-09-22 22:13:26
|
Testing news, to be precise. I fixed a number of warnings from py.test: * I renamed classes TestXXX to SOTestXXX so that py.test doesn't recognize them as test classes; * I converted yield tests that py.test declared obsolete to direct calls. Now py.test doesn't produce any warnings. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-09-22 22:03:41
|
Hi, all! On Thu, Aug 25, 2016 at 11:18:45PM +0200, Oleg Broytman <ph...@ph...> wrote: > Recently tests started to fail both at Travis and Circle, but only > with Postgres. Initially I couldn't reproduce the problem locally but > after a dozen of experiments I got it: the problem manifests itself > only with Python 2.7.12 + tox + PostgreSQL. I have to install Python > 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 > and I usually don't use tox - I run py.test directly). > > Somehow I managed to fix tests by changing test order - I explicitly > listed tests directories with 'tests' at the top of the other dirs. After a few hundreds successful and failed test runs I narrowed the problem a bit and reproduced it with any python version and without tox. So the problem is clearly in SQLObject tests. The problem is manifested if tests from sqlobject/tests are run after sqlobject/inheritance/tests: createdb test py.test sqlobject/inheritance/tests tests/test_schema.py dropdb test Output: sqlobject/inheritance/tests/test_aggregates.py . sqlobject/inheritance/tests/test_asdict.py .. sqlobject/inheritance/tests/test_deep_inheritance.py ... sqlobject/inheritance/tests/test_foreignKey.py .. sqlobject/inheritance/tests/test_indexes.py . sqlobject/inheritance/tests/test_inheritance.py .... sqlobject/inheritance/tests/test_inheritance_tree.py . sqlobject/tests/test_schema.py F def test_connection_schema(): if not supports('schema'): py.test.skip("schemas aren't supported") conn = getConnection() conn.schema = None conn.query('CREATE SCHEMA test') conn.schema = 'test' conn.query('SET search_path TO test') setupClass(SOTestSchema) assert SOTestSchema._connection is conn > SOTestSchema(foo='bar') def _executeRetry(self, conn, cursor, query): if self.debug: self.printDebug(conn, query, 'QueryR') try: return cursor.execute(query) except self.module.OperationalError as e: raise dberrors.OperationalError(ErrorMessage(e)) except self.module.IntegrityError as e: msg = ErrorMessage(e) if e.pgcode == '23505': raise dberrors.DuplicateEntryError(msg) else: raise dberrors.IntegrityError(msg) except self.module.InternalError as e: raise dberrors.InternalError(ErrorMessage(e)) except self.module.ProgrammingError as e: > raise dberrors.ProgrammingError(ErrorMessage(e)) E ProgrammingError: relation "so_test_schema" does not exist E LINE 1: INSERT INTO so_test_schema (foo) VALUES ('bar') RETURNING id E ^ Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-09-11 14:23:24
|
Hi! On Sun, Sep 11, 2016 at 04:16:48PM +0200, Lutz Steinborn <lu...@gm...> wrote: > Well done. > > Am 11.09.2016 2:38 vorm. schrieb "Oleg Broytman" <ph...@ph...>: > > > Hi, all! Tests are now run at CIs with python3.5. Thanks! Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Lutz S. <lu...@gm...> - 2016-09-11 14:16:56
|
Well done. Am 11.09.2016 2:38 vorm. schrieb "Oleg Broytman" <ph...@ph...>: > Hi, all! Tests are now run at CIs with python3.5. > > Oleg. > -- > Oleg Broytman http://phdru.name/ ph...@ph... > Programmers don't die, they just GOSUB without RETURN. > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > sqlobject-discuss mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss > |
From: Simon C. <hod...@gm...> - 2016-09-11 14:06:16
|
Awesome! |
From: Oleg B. <ph...@ph...> - 2016-09-11 00:37:56
|
Hi, all! Tests are now run at CIs with python3.5. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-28 12:58:36
|
Hello, All! I merged branch sphinx-docs into master. The devel docs are now generated with Sphinx: http://sqlobject.org/devel/ The transition will be finished with the next stable release (3.2.0). Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-26 15:54:37
|
On Fri, Aug 26, 2016 at 05:49:00PM +0200, Oleg Broytman <ph...@ph...> wrote: > On Fri, Aug 26, 2016 at 10:42:04AM -0500, Ian Cordasco <gra...@gm...> wrote: > > tox will install sqlobject first and then run the tests against that > > installed version (ideally). If you just run py.test directly, it might not > > be installed and will be running against the local copy in git. Something > > could be wrong about how sqlobject is being packaged. > > Could be, but why only with Postgres then? And only with Python 2.7.12. With 2.7.9 everything is fine. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-26 15:49:09
|
Hi! On Fri, Aug 26, 2016 at 10:42:04AM -0500, Ian Cordasco <gra...@gm...> wrote: > On Aug 25, 2016 4:19 PM, "Oleg Broytman" <ph...@ph...> wrote: > > > Hi, All! > > > > Recently tests started to fail both at Travis and Circle, but only > > with Postgres. Initially I couldn't reproduce the problem locally but > > after a dozen of experiments I got it: the problem manifests itself > > only with Python 2.7.12 + tox + PostgreSQL. I have to install Python > > 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 > > and I usually don't use tox - I run py.test directly). > > > > Somehow I managed to fix tests by changing test order - I explicitly > > listed tests directories with 'tests' at the top of the other dirs. Now > > tests passed locally and at both CIs. > > > > I understand neither the problem nor the solution. :-( Any idea? > > Can you share a link to the reordering that fixed this? I won't pretend to > understand it either, but there is typically a difference between how tox > runs tests and how you might be running them. https://github.com/sqlobject/sqlobject/commit/c0737d14122550cfe965d193d899c8ab0801999d Usually py.test lists tests directories in alphabetical order: "include/tests inheritance/tests tests versioning/test". I put "tests" at the front: "tests include/tests inheritance/tests versioning/test" and that fixes the problem both locally and at CIs. > tox will install sqlobject first and then run the tests against that > installed version (ideally). If you just run py.test directly, it might not > be installed and will be running against the local copy in git. Something > could be wrong about how sqlobject is being packaged. Could be, but why only with Postgres then? Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Ian C. <gra...@gm...> - 2016-08-26 15:42:11
|
On Aug 25, 2016 4:19 PM, "Oleg Broytman" <ph...@ph...> wrote: > Hi, All! > > Recently tests started to fail both at Travis and Circle, but only > with Postgres. Initially I couldn't reproduce the problem locally but > after a dozen of experiments I got it: the problem manifests itself > only with Python 2.7.12 + tox + PostgreSQL. I have to install Python > 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 > and I usually don't use tox - I run py.test directly). > > Somehow I managed to fix tests by changing test order - I explicitly > listed tests directories with 'tests' at the top of the other dirs. Now > tests passed locally and at both CIs. > > I understand neither the problem nor the solution. :-( Any idea? > Can you share a link to the reordering that fixed this? I won't pretend to understand it either, but there is typically a difference between how tox runs tests and how you might be running them. tox will install sqlobject first and then run the tests against that installed version (ideally). If you just run py.test directly, it might not be installed and will be running against the local copy in git. Something could be wrong about how sqlobject is being packaged. |
From: Oleg B. <ph...@ph...> - 2016-08-25 21:18:54
|
Hi, All! Recently tests started to fail both at Travis and Circle, but only with Postgres. Initially I couldn't reproduce the problem locally but after a dozen of experiments I got it: the problem manifests itself only with Python 2.7.12 + tox + PostgreSQL. I have to install Python 2.7.12 and tox to reproduce it locally (I have Debian with Python 2.7.9 and I usually don't use tox - I run py.test directly). Somehow I managed to fix tests by changing test order - I explicitly listed tests directories with 'tests' at the top of the other dirs. Now tests passed locally and at both CIs. I understand neither the problem nor the solution. :-( Any idea? Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-16 19:15:48
|
Hello! I'm pleased to announce version 3.1.0, the first stable release of branch 3.1 of SQLObject. What's new in SQLObject ======================= Features -------- * Add UuidCol. * Add JsonbCol. Only for PostgreSQL. Requires psycopg2 >= 2.5.4 and PostgreSQL >= 9.2. * Add JSONCol, a universal json column. * For Python >= 3.4 minimal FormEncode version is now 1.3.1. * If mxDateTime is in use, convert timedelta (returned by MySQL) to mxDateTime.Time. Documentation ------------- * Developer's Guide extended to explain SQLObject architecture and how to create a new column type. * Fix URLs that can be found; remove missing links. * Rename reStructuredText files from *.txt to *.rst. Source code ----------- * Fix all `import *` using https://github.com/zestyping/star-destroyer. Tests ----- * Tests are now run at Circle CI. * Use pytest-cov for test coverage. Report test coverage via coveralls.io and codecov.io. * Install mxDateTime to run date/time tests with it. Contributor for this release is Lutz Steinborn. For a more complete list, please see the news: http://sqlobject.org/News.html What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Python 2.6, 2.7 or 3.4+ is required. Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: https://pypi.python.org/pypi/SQLObject/3.1.0 News and changes: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-13 06:25:09
|
Hi, all! SQLObject 3.1.0b3: https://pypi.python.org/pypi/SQLObject/3.1.0b3 Changes since the second beta: a lot of minor documentation tweaks, paving the way for switching doc generator from pudge to Sphinx (gonna do the switch after 3.1); fixes in sdist. Some details: -- Add Codecov badge to Developer's Guide. -- Include circle.yml and .coveragerc into source distribution. Include forgotten sqlobject/include/tests. -- Install mxDateTime via apt-get instead of pip during tests (egenix.com was down so pip had got problems installing mxDateTime). -- Add missing Tables of Contents in docs. Add a link to TODO.html. -- Mask errors in tests during documentation building: doc builders (both pudge and Sphinx) import modules looking for docstrings, and our tests don't like to be imported outside of test environments without configured database. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-10 15:21:49
|
Changes since the first beta: > * For Python >= 3.4 minimal FormEncode version is now 1.3.1. > > * If mxDateTime is in use, convert timedelta (returned by MySQL) to > mxDateTime.Time. > > * Rename reStructuredText file from \*.txt to \*.rst. > > * Test are now run at Circle CI. > > * Use pytest-cov for test coverage. Report test coverage > via coveralls.io and codecov.io. > > * Install mxDateTime to run date/time tests with it. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-10 15:20:37
|
Hello! I'm pleased to announce version 3.1.0b2, the second beta of the upcoming release of branch 3.1 of SQLObject. What's new in SQLObject ======================= Features -------- * Add UuidCol. * Add JsonbCol. Only for PostgreSQL. Requires psycopg2 >= 2.5.4 and PostgreSQL >= 9.2. * Add JSONCol, a universal json column. * For Python >= 3.4 minimal FormEncode version is now 1.3.1. * If mxDateTime is in use, convert timedelta (returned by MySQL) to mxDateTime.Time. Documentation ------------- * Developer's Guide extended to explain SQLObject architecture and how to create a new column type. * Fix URLs that can be found; remove missing links. * Rename reStructuredText file from \*.txt to \*.rst. Source code ----------- * Fix all `import *` using https://github.com/zestyping/star-destroyer. Tests ----- * Test are now run at Circle CI. * Use pytest-cov for test coverage. Report test coverage via coveralls.io and codecov.io. * Install mxDateTime to run date/time tests with it. Contributor for this release is Lutz Steinborn. For a more complete list, please see the news: http://sqlobject.org/News.html What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Python 2.6, 2.7 or 3.4+ is required. Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: https://pypi.python.org/pypi/SQLObject/3.1.0b2 News and changes: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-10 01:37:50
|
Hello, dear all! This is the time when one of my small dreams came true! I always wanted to rename all reStructuredtext files to *.rst but always was afraid to touch too mush, to create problems with merging and so on. Today, when I only have one active branch covered with test and having good doc builders, I finally decided to make that bold step. The front page of the repositories and docs subdirectory now look much better: https://github.com/sqlobject/sqlobject#readme In other good news: -- I installed mxDateTime for tests, found and fixed a bug with MySQL; -- Omitted some rarely used not tested modules in .coveragerc; Test coverage is now 86.8%! Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-09 03:44:44
|
FormEncode developers has just released version 1.3.1 so it's the minimal requirement now with python >= 3.4. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-07 22:53:08
|
Tests are now run at Circle CI: https://circleci.com/gh/sqlobject/sqlobject Took a lot of failed experiments. The worst problem was to remove that broken FormEncode wheel before reinstalling dependencies. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-08-06 19:51:33
|
Hello, all! Test coverage in SQLObject code is 85.49%. Quite good, IMO! See https://coveralls.io/github/sqlobject/sqlobject and https://codecov.io/gh/sqlobject/sqlobject/commits Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-07-31 18:27:37
|
Hello! I'm pleased to announce version 3.1.0b1, the first beta of the upcoming release of branch 3.1 of SQLObject. What's new in SQLObject ======================= Features -------- * Add UuidCol. * Add JsonbCol. Only for PostgreSQL. Requires psycopg2 >= 2.5.4 and PostgreSQL >= 9.2. * Add JSONCol, a universal json column. Source code ----------- * Fix all `import *` using https://github.com/zestyping/star-destroyer. Documentation ------------- * Developer's Guide extended to explain SQLObject architecture and how to create a new column type. * Fix URLs that can be found; remove missing links. Contributor for this release is Lutz Steinborn. For a more complete list, please see the news: http://sqlobject.org/News.html What is SQLObject ================= SQLObject is an object-relational mapper. Your database tables are described as classes, and rows are instances of those classes. SQLObject is meant to be easy to use and quick to get started with. SQLObject supports a number of backends: MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (also known as SAPDB). Python 2.6, 2.7 or 3.4+ is required. Where is SQLObject ================== Site: http://sqlobject.org Development: http://sqlobject.org/devel/ Mailing list: https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss Archives: http://news.gmane.org/gmane.comp.python.sqlobject Download: https://pypi.python.org/pypi/SQLObject/3.1.0b1.dev20160731 News and changes: http://sqlobject.org/News.html Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-07-31 16:20:09
|
Hello! With the recent activity in master I'm going to release version 3.1. I declare older branches unsupported. Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Oleg B. <ph...@ph...> - 2016-07-25 13:00:48
|
On Mon, Jul 25, 2016 at 07:55:48AM -0500, Ian Cordasco <gra...@gm...> wrote: > On Mon, Jul 25, 2016 at 7:51 AM, Christoph Zwerschke <ci...@on...> wrote: > > Am 25.07.2016 um 13:18 schrieb Oleg Broytman: > > > File "<stdin>", line 1, in <module> > > > NameError: name 'unicode' is not defined > > > > Hi Oleg, > > > > FormEncode 1.3 should run with Python 3, it uses 2to3. This error > > indicates that during installation the 2to3 tool did not run properly. > > Some have reported that this problem can be caused by cached wheels. > > > > In FormEncode 2, 2to3 is not used any more because of such issues, but I > > think there is no official release of FormEncode 2 yet. > > > > Anyway, if FormEncode 1.3 is installed properly, it should work. > > So this is because FormEncode 1.3 claims it can provide a universal > wheel (https://github.com/formencode/formencode/blob/1.3.0/setup.cfg#L29) > but it cannot. A 1.3.1 release should be provided with universal = 0. > This way when pip caches the wheel it produces, it tags it with py2 or > py3 as appropriate. I see you reported the problem at https://github.com/formencode/formencode/issues/117 Thanks! Oleg. -- Oleg Broytman http://phdru.name/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |
From: Ian C. <gra...@gm...> - 2016-07-25 12:59:16
|
On Mon, Jul 25, 2016 at 7:55 AM, Ian Cordasco <gra...@gm...> wrote: > On Mon, Jul 25, 2016 at 7:51 AM, Christoph Zwerschke <ci...@on...> wrote: >> Am 25.07.2016 um 13:18 schrieb Oleg Broytman: >> > File "<stdin>", line 1, in <module> >> > NameError: name 'unicode' is not defined >> >> Hi Oleg, >> >> FormEncode 1.3 should run with Python 3, it uses 2to3. This error >> indicates that during installation the 2to3 tool did not run properly. >> Some have reported that this problem can be caused by cached wheels. >> >> In FormEncode 2, 2to3 is not used any more because of such issues, but I >> think there is no official release of FormEncode 2 yet. >> >> Anyway, if FormEncode 1.3 is installed properly, it should work. > > So this is because FormEncode 1.3 claims it can provide a universal > wheel (https://github.com/formencode/formencode/blob/1.3.0/setup.cfg#L29) > but it cannot. A 1.3.1 release should be provided with universal = 0. > This way when pip caches the wheel it produces, it tags it with py2 or > py3 as appropriate. I submitted https://github.com/formencode/formencode/issues/117 to see if we can alleviate this. |