-
Notifications
You must be signed in to change notification settings - Fork 268
Switch from elasticsearch-dsl-py dependency to elasticsearch-py #492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
639758e
a4cb97a
8c68b9b
7b51469
294f936
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
django>=3.2 | ||
elasticsearch-dsl>=8.0.0,<9.0.0 | ||
elasticsearch>=9.0.0,<10.0.0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
bumpversion==0.6.0 | ||
wheel==0.41.2 | ||
django>=3.2 | ||
elasticsearch-dsl>=7.0.0,<8.0.0 | ||
elasticsearch>=9.0.0,<10.0.0 | ||
twine | ||
sphinx | ||
-e . |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -1,5 +1,5 @@ | ||||||
[bumpversion] | ||||||
current_version = 7.1.1 | ||||||
current_version = 9.0 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] Consider using a full semantic version (e.g.,
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
commit = True | ||||||
tag = True | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -8,7 +8,7 @@ | |||||
except ImportError: | ||||||
from distutils.core import setup | ||||||
|
||||||
version = '8.0' | ||||||
version = '9.0' | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] To match the dependency versions and semantic versioning, consider updating this to
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
|
||||||
if sys.argv[-1] == 'publish': | ||||||
try: | ||||||
|
@@ -43,7 +43,7 @@ | |||||
], | ||||||
include_package_data=True, | ||||||
install_requires=[ | ||||||
'elasticsearch-dsl>=8.9.0,<9.0.0', | ||||||
'elasticsearch>=9.0.0,<10.0.0', | ||||||
'six', | ||||||
], | ||||||
license="Apache Software License 2.0", | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from elasticsearch_dsl import VERSION | ||
from elasticsearch.dsl import VERSION | ||
|
||
ES_MAJOR_VERSION = VERSION[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the code snippet to reference
elasticsearch>=9.0.0,<10.0.0
instead ofelasticsearch-dsl
to match the new dependency.Copilot uses AI. Check for mistakes.