Changes between Version 7 and Version 8 of DjangoOnWindows


Ignore:
Timestamp:
07/20/2008 08:05:30 PM (7 years ago)
Author:
ramiro
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DjangoOnWindows

    v7 v8  
    99As of r7805 the test suite is failing in two places when run on Windows + Python 2.5.2:
    1010
    11  * If setuptools is installed, on a test from {{{tests/regressiontests/templates/loaders.py}}} related to trying to load a template from an egg. From a [http://dpaste.com/59930/ report] on #django-dev this test also fails on OS X (Leopard, Python 2.5.1, setuptools 0.6c8).
     11 * If setuptools is installed, on a test from {{{tests/regressiontests/templates/loaders.py}}} related to trying to load a template from an egg.
    1212 * On a test from {{{tests/regressiontests/queries/models.py}}} when using the sqlite3 Django DB backend.
    1313
     
    3737
    3838=== tests/regressiontests/queries/models.py ===
     39
     40This has been reported as ticket #7570.
    3941
    4042This test fails:
     
    8890}}}
    8991
    90 A minimal models.py that shows the problem (extracted from the above regression test):
     92A minimal models.py file that shows the problem (extracted from the above regression test):
    9193
    9294{{{
     
    160162|| Debian Linux   || 2.5.2                || 2.3.2 (built-in sqlite3)|| 3.5.9                || YES          ||             ||
    161163
    162 As is 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.
     164As 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.
    163165
    164166==== Possible solution ====
     
    166168As 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).
    167169
    168 As sqlite/pysqlite development continues, the pysqlite project keeps publishing new win32 binary installers for Python 2.5. Latest as of today 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.)
     170As 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.)
    169171
    170172==== How does this affect Django ====
Back to Top