Skip to content

Commit 639758e

Browse files
committed
Switch to elasticsearch-py as dsl has been merged into it
1 parent e453aff commit 639758e

File tree

6 files changed

+10
-11
lines changed

6 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
python-version: ["3.8", "3.9", "3.10", "3.11"]
1717
django-version: ["3.2", "4.1", "4.2"]
18-
es-dsl-version: ["6.4", "7.4"]
18+
es-py-version: ["9.0"]
1919
es-version: ["8.10.2"]
2020

2121
exclude:
@@ -47,12 +47,12 @@ jobs:
4747
run: |
4848
python -m pip install --upgrade pip
4949
python -m pip install "Django==${{ matrix.django-version }}"
50-
python -m pip install "elasticsearch-dsl==${{ matrix.es-dsl-version }}"
50+
python -m pip install "elasticsearch==${{ matrix.es-py-version }}"
5151
python -m pip install -r requirements_test.txt
5252
53-
- name: Run tests with Python ${{ matrix.python-version }} and Django ${{ matrix.django-version }} and elasticsearch-dsl-py ${{ matrix.es-dsl-version }}
53+
- name: Run tests with Python ${{ matrix.python-version }} and Django ${{ matrix.django-version }} and elasticsearch-py ${{ matrix.es-py-version }}
5454
run: |
55-
TOX_ENV=$(echo "py${{ matrix.python-version }}-django-${{ matrix.django-version }}-es${{ matrix.es-dsl-version }}" | tr -d .)
55+
TOX_ENV=$(echo "py${{ matrix.python-version }}-django-${{ matrix.django-version }}-es${{ matrix.es-py-version }}" | tr -d .)
5656
python -m tox -e $TOX_ENV -- --elasticsearch
5757
python -m tox -e $TOX_ENV -- --elasticsearch --signal-processor celery
5858

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Django Elasticsearch DSL
1212
:target: https://django-elasticsearch-dsl.readthedocs.io/en/latest/
1313

1414
Django Elasticsearch DSL is a package that allows indexing of django models in elasticsearch.
15-
It is built as a thin wrapper around elasticsearch-dsl-py_
16-
so you can use all the features developed by the elasticsearch-dsl-py team.
15+
It is built as a thin wrapper around elasticsearch-py_
16+
so you can use all the features developed by the elasticsearch-py team.
1717

1818
You can view the full documentation at https://django-elasticsearch-dsl.readthedocs.io
1919

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
django>=3.2
2-
elasticsearch-dsl>=8.0.0,<9.0.0
2+
elasticsearch>=9.0.0,<10.0.0

requirements_dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bumpversion==0.6.0
22
wheel==0.41.2
33
django>=3.2
4-
elasticsearch-dsl>=7.0.0,<8.0.0
4+
elasticsearch>=9.0.0,<10.0.0
55
twine
66
sphinx
77
-e .

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
],
4444
include_package_data=True,
4545
install_requires=[
46-
'elasticsearch-dsl>=8.9.0,<9.0.0',
46+
'elasticsearch>=9.0.0,<10.0.0',
4747
'six',
4848
],
4949
license="Apache Software License 2.0",

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ deps =
1313
django-32: Django>=3.2,<3.3
1414
django-41: Django>=4.1,<4.2
1515
django-42: Django>=4.2,<4.3
16-
es64: elasticsearch-dsl>=6.4.0,<7.0.0
17-
es74: elasticsearch-dsl>=7.4.0,<8
16+
es9: elasticsearch>=9.0.0,<10
1817
-r{toxinidir}/requirements_test.txt
1918

2019
basepython =

0 commit comments

Comments
 (0)