Git Product home page Git Product logo

Comments (3)

barseghyanartur avatar barseghyanartur commented on August 12, 2024

@alexgmin:

I'll explain why.

There are multiple versions of Python bindings for Elasticsearch on PyPI.

For Elasticsearch 2.x you should be using:

  • elasticsearch 2.x
  • elasticsearch-dsl 2.x

For Elasticsearch 5.x you should be using:

  • elasticsearch 5.x
  • elasticsearch-dsl 5.x

Same goes for Elasticsearch 6.x.

Since eventually, this library, aims to support multiple versions of Elasticsearch, setup.py does not specify certain version of elasticsearch or elasticsearch-dsl.

Developers are supposed to install relevant versions of the above mentioned libraries prior installing this library.

I'm closing this ticket for now. Do not hesitate to ask questions though.

from django-elasticsearch-dsl-drf.

alexgmin avatar alexgmin commented on August 12, 2024

I agree that the developers are supposed to check the versions installed, however since this package has elasticsearch and elasticsearch-dsl as dependencies, these dependencies should have minimum and maximum versions.

For example the 5.x branch of elasticsearch-dsl indicates on its setup.py that doesn't support Elasticsearch 6. Just like the master branch of django-elasticsearch-dsl. https://github.com/sabricot/django-elasticsearch-dsl/blob/v0.4.0/setup.py

from django-elasticsearch-dsl-drf.

barseghyanartur avatar barseghyanartur commented on August 12, 2024

@alexgmin:

I disagree, because I'm pretty sure this package will work fine (with no modifications) with Elasticsearch 6.x as soon as django-elasticsearch-dsl would support it.

Officially supported versions of the Elasticsearch are mentioned in the docs. Installation of the relevant bindings is trivial.

from django-elasticsearch-dsl-drf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.