Code

Changes between Version 9 and Version 10 of DjangoOnWindows


Ignore:
Timestamp:
08/30/08 08:42:43 (6 years ago)
Author:
Richard Davies <richard.davies@…>
Comment:

Replicated same bug on Linux, so not Windows specific

Legend:

Unmodified
Added
Removed
Modified
  • DjangoOnWindows

    v9 v10  
    1 = Django on Windows = 
     1= Django on Windows (bug actually caused by Sqlite <=3.3.4 (3.3.5?)) = 
    22 
    33(work in progress) 
     
    99=== Test suite failures === 
    1010 
    11 As of r8135 the test suite is showing the follwing platform-specific  failures when run on Windows + Python 2.5.2: 
     11As of r8135 the test suite is showing the following failures when run on sqlite 3.2.7 and 3.3.4: 
    1212 
    1313 * On a test from {{{tests/regressiontests/queries/models.py}}} when using the sqlite3 Django DB backend. 
     
    138138|| win32          || 2.5.2                || 2.4.1 (external)        || 3.5.2                || YES          || '''*'''     || 
    139139|| Debian Linux   || 2.5.2                || 2.3.2 (built-in sqlite3)|| 3.5.9                || YES          ||             || 
     140|| custom Linux   || 2.5.2                || ?                       || 3.2.7                || NO           ||             || 
    140141 
    141 As it can be seen, the test under Linux were always successful, this may be due to the fact that on these platforms the shared sqlite3 library being used by the pysqlite2 (Python 2.4) or sqlite3 (Python 2.5) Python modules is the system wide one and so it hasn't been frozen at 3.3.4. 
     142Note that the tests also fail under Linux with early sqlite versions. 
    142143 
    143144===== Possible solution ===== 
    144145 
    145 As the table above shows, version 3.3.4 of sqlite seems to be affected by this bug whilst version 3.3.6 isn't (see http://sqlite.org/changes.html for possible hints). 
     146As the table above shows, version <=3.3.4 of sqlite seems to be affected by this bug whilst version >=3.3.6 isn't (see http://sqlite.org/changes.html for possible hints). 
    146147 
    147148As sqlite/pysqlite development continues, the pysqlite project keeps publishing new win32 binary installers for Python 2.5. Latest as of June 29, 2008 is version 2.4.1 ({{{pysqlite-2.4.1.win32-py2.5.exe}}}) that uses sqlite version 3.5.2 (see entry marked with '''*''' in the table above.)