Django < 1.11 is no longer supported by Django or Haystack
Test against latest versions of Django 1.11, 2.0, 2.1.
Test against python 2.7 (django 1.11 only), 3.5, 3.6, 3.7 (on xenial).
Update xapian old-stable to 1.2.25, only for py27.
Update xapian old-dev to 1.3.6, only for py27, py34.
Update xapian stable to 1.4.9.
xapian 1.3.6 included just to keep coverage numbers up.
xapian 1.3.7 not included because it didn't build with install-xapian.sh.
As per https://stackoverflow.com/a/3112717/1067833,
os.path.exists sometimes delivers a wrong value. These are corner
cases, but mine is exactly one:
I run xapian-haystack in a multiprocess environment (indexing and
django server), on an LXC container, which has its mount probably
mounted from an NFS server (I have no control/information over it).
This corner case results the os.path.exists give `True` for one
process and `False` for another, resulting in the exception I
handle with this patch.
This commit is supposed to be reverted at some point: it monkey
patches the whole module test_haystack/__init__.py so Django
is not setup twice.
This was the only way to avoid circular imports when using
django-admin.py to run tests in Django-Haystack.
Docstring has been updated
tests has been created
some corrects of unusable imports
Fixes created after notices in pull request.
class of mock has been fixed, test of indexation edge ngram has been created
big cycle has been separated to generator
fix depencies
tests has been updated
some refactoring and generator of edge ngram terms has been updated
Package "six" has been removed from requirements, class with edge ngram
field has been created. Edge ngram field has been removed from another
mocks. Indexation for this class has been splitted to separate class.
unimportant tests has been removed
both techniques, ngram and edge ngram, has been implemeted
little refactoring
some minor fixes