[Python-modules-team] Bug#867899: sqlobject FTBFS with python 3.6 as supported version

Adrian Bunk bunk at debian.org
Mon Jul 10 12:05:20 UTC 2017


Source: sqlobject
Version: 3.1.0+dfsg-2
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/sqlobject.html

...
I: pybuild base:184: cd /build/1st/sqlobject-3.1.0+dfsg/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest "/build/1st/sqlobject-3.1.0+dfsg"
============================= test session starts ==============================
platform linux -- Python 3.6.2rc2, pytest-3.0.6, py-1.4.34, pluggy-0.4.0
rootdir: /build/1st/sqlobject-3.1.0+dfsg, inifile: 
collected 295 items

../../../sqlobject/include/tests/test_hashcol.py ..
../../../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_ForeignKey.py ....
../../../sqlobject/tests/test_NoneValuedResultItem.py .
../../../sqlobject/tests/test_SQLMultipleJoin.py ..
../../../sqlobject/tests/test_SQLRelatedJoin.py ..
../../../sqlobject/tests/test_SingleJoin.py .
../../../sqlobject/tests/test_aggregates.py ...
../../../sqlobject/tests/test_aliases.py ...
../../../sqlobject/tests/test_asdict.py .
../../../sqlobject/tests/test_auto.py .....
../../../sqlobject/tests/test_basic.py .................
../../../sqlobject/tests/test_blob.py .
../../../sqlobject/tests/test_boundattributes.py s
../../../sqlobject/tests/test_cache.py ...
../../../sqlobject/tests/test_class_hash.py .
../../../sqlobject/tests/test_columns_order.py .
../../../sqlobject/tests/test_combining_joins.py .
../../../sqlobject/tests/test_comparison.py .
../../../sqlobject/tests/test_complex_sorting.py ..
../../../sqlobject/tests/test_constraints.py .
../../../sqlobject/tests/test_converters.py ..................................
../../../sqlobject/tests/test_create_drop.py .
../../../sqlobject/tests/test_csvexport.py ...
../../../sqlobject/tests/test_cyclic_reference.py .
../../../sqlobject/tests/test_datetime.py ..
../../../sqlobject/tests/test_decimal.py ..
../../../sqlobject/tests/test_declarative.py ..
../../../sqlobject/tests/test_default_style.py ......
../../../sqlobject/tests/test_delete.py .....
../../../sqlobject/tests/test_distinct.py .
../../../sqlobject/tests/test_empty.py .
../../../sqlobject/tests/test_enum.py .....
../../../sqlobject/tests/test_events.py ........
../../../sqlobject/tests/test_exceptions.py .
../../../sqlobject/tests/test_expire.py .
../../../sqlobject/tests/test_groupBy.py ..
../../../sqlobject/tests/test_identity.py .
../../../sqlobject/tests/test_indexes.py .s..
../../../sqlobject/tests/test_inheritance.py ..
../../../sqlobject/tests/test_joins.py .....
../../../sqlobject/tests/test_joins_conditional.py .......
../../../sqlobject/tests/test_jsonbcol.py s
../../../sqlobject/tests/test_jsoncol.py .
../../../sqlobject/tests/test_lazy.py .
../../../sqlobject/tests/test_md5.py .
../../../sqlobject/tests/test_mysql.py ss
../../../sqlobject/tests/test_new_joins.py .....
../../../sqlobject/tests/test_parse_uri.py ..
../../../sqlobject/tests/test_paste.py ss
../../../sqlobject/tests/test_perConnection.py .
../../../sqlobject/tests/test_pickle.py s
../../../sqlobject/tests/test_picklecol.py .
../../../sqlobject/tests/test_postgres.py sss
../../../sqlobject/tests/test_reparent_sqlmeta.py .
../../../sqlobject/tests/test_schema.py s
../../../sqlobject/tests/test_select.py ...................
../../../sqlobject/tests/test_select_through.py .....
../../../sqlobject/tests/test_setters.py .
../../../sqlobject/tests/test_slice.py .
../../../sqlobject/tests/test_sorting.py ....
../../../sqlobject/tests/test_sqlbuilder.py .....
../../../sqlobject/tests/test_sqlbuilder_dbspecific.py .............
../../../sqlobject/tests/test_sqlbuilder_importproxy.py ....
../../../sqlobject/tests/test_sqlbuilder_joins_instances.py .......
../../../sqlobject/tests/test_sqlite.py ........
../../../sqlobject/tests/test_sqlmeta_idName.py .
../../../sqlobject/tests/test_string_id.py .
../../../sqlobject/tests/test_style.py .
../../../sqlobject/tests/test_subqueries.py .........
../../../sqlobject/tests/test_transactions.py ..sF
../../../sqlobject/tests/test_unicode.py ..s
../../../sqlobject/tests/test_uuidcol.py .
../../../sqlobject/tests/test_validation.py .....
../../../sqlobject/tests/test_views.py ...........
../../../sqlobject/versioning/test/test_version.py ........

=================================== FAILURES ===================================
______________________ test_transaction_delete_with_close ______________________

self = <sqlobject.sqlite.sqliteconnection.SQLiteConnection object at 0x7fd1bfca7a58>
conn = <sqlite3.Connection object at 0x7fd1bf224ab0>
cursor = <sqlite3.Cursor object at 0x7fd1be7596c0>
query = 'PRAGMA synchronous=OFF'

    def _executeRetry(self, conn, cursor, query):
        if self.debug:
            self.printDebug(conn, query, 'QueryR')
        try:
>           return cursor.execute(query)
E           sqlite3.OperationalError: Safety level may not be changed inside a transaction

../../../sqlobject/sqlite/sqliteconnection.py:220: OperationalError

During handling of the above exception, another exception occurred:

    def test_transaction_delete_with_close():
>       test_transaction_delete(close=True)

../../../sqlobject/tests/test_transactions.py:87: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../../../sqlobject/tests/test_transactions.py:63: in test_transaction_delete
    setupClass(TestSOTrans)
../../../sqlobject/tests/dbtest.py:67: in setupClass
    connection = getConnection()
../../../sqlobject/tests/dbtest.py:103: in getConnection
    speedupSQLiteConnection(conn)
../../../sqlobject/tests/dbtest.py:83: in speedupSQLiteConnection
    connection.query("PRAGMA synchronous=OFF")
../../../sqlobject/dbconnection.py:439: in query
    return self._runWithConnection(self._query, s)
../../../sqlobject/dbconnection.py:348: in _runWithConnection
    val = meth(conn, *args)
../../../sqlobject/dbconnection.py:436: in _query
    self._executeRetry(conn, conn.cursor(), s)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <sqlobject.sqlite.sqliteconnection.SQLiteConnection object at 0x7fd1bfca7a58>
conn = <sqlite3.Connection object at 0x7fd1bf224ab0>
cursor = <sqlite3.Cursor object at 0x7fd1be7596c0>
query = 'PRAGMA synchronous=OFF'

    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))
E           sqlobject.dberrors.OperationalError: Safety level may not be changed inside a transaction

../../../sqlobject/sqlite/sqliteconnection.py:222: OperationalError
============================ pytest-warning summary ============================
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/inheritance/tests/test_aggregates.py cannot collect test class 'TestAggregate1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/inheritance/tests/test_aggregates.py cannot collect test class 'TestAggregate2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/inheritance/tests/test_foreignKey.py cannot collect test class 'TestInheritableBase' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/inheritance/tests/test_foreignKey.py cannot collect test class 'TestInheritableForeignKey' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestComposerKey' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestWorkKey' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestWorkKey2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestOtherColumn' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestFKValidationA' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestFKValidationB' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_ForeignKey.py cannot collect test class 'TestFKValidationC' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_NoneValuedResultItem.py cannot collect test class 'TestComposer' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_NoneValuedResultItem.py cannot collect test class 'TestWork' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_asdict.py cannot collect test class 'TestAsDict' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO3' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO4' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO5' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO6' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO7' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO8' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO9' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO10' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO11' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_basic.py cannot collect test class 'TestSO12' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_comparison.py cannot collect test class 'TestComparison' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_create_drop.py cannot collect test class 'TestCreateDrop' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_cyclic_reference.py cannot collect test class 'TestCyclicReferenceA' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_cyclic_reference.py cannot collect test class 'TestCyclicReferenceB' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_default_style.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_delete.py cannot collect test class 'TestSO1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_exceptions.py cannot collect test class 'TestException' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_exceptions.py cannot collect test class 'TestExceptionWithNonexistingTable' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_identity.py cannot collect test class 'TestIdentity' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_joins_conditional.py cannot collect test class 'TestJoin1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_joins_conditional.py cannot collect test class 'TestJoin2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_joins_conditional.py cannot collect test class 'TestJoin3' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_joins_conditional.py cannot collect test class 'TestJoin4' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_joins_conditional.py cannot collect test class 'TestJoin5' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_mysql.py cannot collect test class 'TestSOListMySQL' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_perConnection.py cannot collect test class 'TestPerConnection' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_pickle.py cannot collect test class 'TestPickle' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_postgres.py cannot collect test class 'TestSSLMode' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_postgres.py cannot collect test class 'TestSOList' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_schema.py cannot collect test class 'TestSchema' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_setters.py cannot collect test class 'TestPlainAndNonPlainSetter' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder.py cannot collect test class 'TestSQLBuilder' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlbuilder_dbspecific.py yield tests are deprecated, and scheduled to be removed in pytest 4.0
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlite.py cannot collect test class 'TestSO1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta3' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta4' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta5' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlmeta_idName.py cannot collect test class 'TestSqlmeta6' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlobject_admin.py cannot collect test class 'Test1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlobject_admin.py cannot collect test class 'Test2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlobject_admin.py cannot collect test class 'Test3' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlobject_admin.py cannot collect test class 'Test4' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_sqlobject_admin.py cannot collect test class 'Test5' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_subqueries.py cannot collect test class 'TestIn1' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_subqueries.py cannot collect test class 'TestIn2' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_subqueries.py cannot collect test class 'TestOuter' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_transactions.py cannot collect test class 'TestSOTrans' because it has a __init__ constructor
WC1 /build/1st/sqlobject-3.1.0+dfsg/sqlobject/tests/test_unicode.py cannot collect test class 'TestUnicode' because it has a __init__ constructor
==== 1 failed, 280 passed, 14 skipped, 83 pytest-warnings in 10.70 seconds =====
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/sqlobject-3.1.0+dfsg/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest "{dir}"
dh_auto_test: pybuild --test -i python{version} -p 3.6 3.5 returned exit code 13
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 25



More information about the Python-modules-team mailing list