Claude Paroz
f1c3c304e2
Bump version to 3.0.1
2021-11-13 09:52:24 +01:00
Alejandro R. Sedeño
c6248769d4
coveragerc - switch from source to include
2021-11-13 09:38:42 +01:00
Claude Paroz
eb2797aa19
Remove force_text usage
2021-11-12 10:36:53 +01:00
Claude Paroz
32aadd8e65
Add Changelog to Manifest
2021-10-28 21:48:26 +02:00
Claude Paroz
cd2082f4d1
Add a ChangeLog
2021-10-28 21:46:22 +02:00
Alejandro R. Sedeño
14ca04609c
Github Actions - expand test matrix
...
Fixes : #207
2021-09-26 22:27:20 +02:00
Alejandro R. Sedeño
ef1dc87368
drop _old_xapian_sort
2021-09-26 18:04:08 +02:00
Alejandro R. Sedeño
4a952bb7f9
Drop code meant to support Xapian 1.2.x, 1.3.x.
...
xapian-haystack now lists xapian 1.4.x as the minimum supported
version, so we don't need to carry around code to support 1.2.x
anymore.
2021-09-26 18:04:08 +02:00
Alejandro R. Sedeño
1a5b4cf0b3
Better coverage handling
...
Use `coverage combine` with some more configuration in .coveragerc
to merge our own paths with the paths we copy to when running coverage
and tests in the django-haystack checkout.
Also, print the simple coverage report in the Github Actions workflow
for good measure.
Fixes : #205
2021-09-25 08:52:07 +02:00
Alejandro R. Sedeño
35cbaaa3d2
xapian_wheel_builder - better metadata
...
* xapian_wheel_builder - better metadata
Fixes : #203
2021-09-24 21:11:18 +02:00
Claude Paroz
3a98f1723b
Ensure README is read with utf-8 encoding in setup.py
2021-09-24 20:52:26 +02:00
Claude Paroz
878371e23c
Replaced travis build badge by GH Actions one
2021-09-24 20:28:57 +02:00
Alejandro R. Sedeño
20af9d214e
Replace Travis CI by GitHub Actions
...
Co-authored-by: Claude Paroz <claude@2xlibre.net>
2021-09-24 19:57:33 +02:00
Alejandro R. Sedeño
37e8b5af8f
work on xapian-delve issues
...
1) `xapian_wheel_builder.sh` adds `xapian-delve` to the wheel
2) `tests/xapian_tests/tests/test_backend.py` learns to check the new `xapian-delve` location
3) drop support for delve from xapian<1.3 (support dropped along Python 2)
2021-09-24 19:57:33 +02:00
Alejandro R. Sedeño
194aa2ca86
Added builder script xapian_wheel_builder.sh
...
This adds a script to build a wheel containing xapian python3 bindings
along with a matching build of the xapian library.
I've been using this with xapian v1.4.9 for years now, and recently
merged the linux and macOS versions into a single script.
This should not be used to create wheels for uploading to PyPI, but
works well for building a deployable artefact for a known
target.
2021-09-23 08:19:36 +02:00
Alejandro R. Sedeño
2da3db630d
install_xapian.sh - unpin sphinx for xapian >= 1.4.12
2021-09-21 09:05:08 +02:00
Claude Paroz
d84ae774cb
Update Django dependency in requirements.txt
2021-08-22 16:34:48 +02:00
Claude Paroz
a8566ca33b
Drop support for Django < 2.2 and add Django 3.2 support
2021-08-22 15:44:56 +02:00
Claude Paroz
90f5bc8c14
Simplified super() calls
2021-08-17 23:22:19 +02:00
Claude Paroz
97f54ed37c
Add CI tests for Django 2.2, 3.0, 3.1
2021-08-17 23:10:56 +02:00
Alejandro R. Sedeño
0d8895b8cc
install_xapian.sh: pin sphinx to avoid compatibility issues with 2.0
2021-08-09 19:03:53 +02:00
Claude Paroz
0f9d94fb23
Dropped Python 2 support
2021-08-09 19:03:53 +02:00
Claude Paroz
6224ba3b08
django-haystack git home moved
2021-08-09 18:46:20 +02:00
Kurt Neufeld
2247b23d3c
user friendly modifications to install_xapian.sh...
...
check if user supplied version on command line and exit with message if they didn't
2019-01-17 17:52:21 +01:00
Alejandro R. Sedeño
02653af62c
test setting tweaks for django 2.1
2019-01-17 17:49:22 +01:00
Alejandro R. Sedeño
bc63eb5e2a
Update test expected queries
...
This commit could use scrutiny.
2019-01-17 17:49:22 +01:00
Alejandro R. Sedeño
2d3d098a5f
Update test versions
...
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.
2019-01-17 17:49:22 +01:00
László Károlyi
f1861fc5e7
Fix PY2 error
2018-03-26 04:36:28 +02:00
László Károlyi
3c322a9552
Fixing untrustable os.path.exists
...
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.
2017-10-28 08:36:38 +02:00
Claude Paroz
253c4c2898
Revert "Removed compatibility argument with pre-2.0 haystack"
...
This reverts commit d3f1e011da
.
2017-05-18 08:50:23 +02:00
Jorge C. Leitão
f67036e5cd
Bumped version and updated requirements.
2017-03-01 12:07:00 +01:00
Jorge C. Leitão
de7a59689d
Added tests for querying and indexing django.contrib.contenttype.
2017-03-01 11:41:28 +01:00
Alex Sandro
390d6344cf
Dynamically configuring reserved fields.
2017-03-01 10:47:04 +01:00
Alex Sandro
8568e49b8f
Correction from the exact to the reserved field django_ct (he was being treated with a phrase.).
2017-03-01 10:47:04 +01:00
Alex Sandro
02acc62824
Configuring 'limit_to_registered_models' according to doc haystack.
2017-03-01 10:47:04 +01:00
Claude Paroz
79a00865aa
Removed workaround for old Django
2017-03-01 10:18:05 +01:00
Claude Paroz
d3f1e011da
Removed compatibility argument with pre-2.0 haystack
2017-02-14 09:49:19 +01:00
jorgecarleitao
f46283bc5f
Added Claudep to credits in README.rst
2016-11-03 06:54:14 +01:00
Claude Paroz
de76bad3f0
Fixed #161 -- Supported range search filter
...
`range` was added in django-haystack commit 3994bfa199.
2016-10-30 19:38:27 +01:00
Jorge C. Leitão
313ef57a55
Fixed Travis build and added Xapian 1.4.1 to it.
2016-10-30 14:32:22 +01:00
Claude Paroz
e0e6a11e46
Endswith is not yet supported in Xapian
...
'endswith' query support has been added in django-haystack/django-haystack@42f53cda9 .
2016-10-14 16:25:43 +02:00
Claude Paroz
d1c59752ce
Haystack now defaults to __content instead of __contains
...
Echo to commit django-haystack/django-haystack@42f53cda9
2016-10-14 16:25:43 +02:00
Claude Paroz
c330906457
Dropped support for Django 1.6/1.7 and added Django 1.9/1.10 support
2016-10-14 16:25:43 +02:00
Claude Paroz
a70c63f846
Updated fixtures lists
...
Echo to commit django-haystack/django-haystack@7299adc4c (renamed base test
fixture).
2016-10-14 15:56:28 +02:00
Claude Paroz
8a6371a4ae
Xapian sources should be downloaded by https
2016-10-14 15:56:28 +02:00
Jorge C. Leitão
ea2d9fec82
Updated setup.py and README.
2015-11-16 18:45:41 +01:00
Jorge C. Leitão
cec243cffd
Fixed #128 -- Added support to Python 3.
2015-11-14 12:37:43 +01:00
Jorge C. Leitão
63cfcc1d73
Fixed tests for Xapian 1.3.
...
Changes were mostly on how the query parser parsed a query.
Probabily we should not test that anyway, but for now
it is passing in 1.3.3
2015-11-14 12:19:16 +01:00
Jorge C. Leitão
4fc3d749c8
Added support to new API of Xapian to sort results.
2015-11-13 21:03:53 +01:00
Jorge C. Leitão
62a781bf74
Added Python 3 to build.
2015-11-13 20:56:04 +01:00