Currently there is no version specified in the requirements.txt for the module elasticsearch. By default this installs the latest version which currently does not work with the project as Transport classes are deprecated starting from version 8.0.
When trying to run the project, the following message prints: https://github.com/austin-taylor/flare/blob/master/flare/analytics/command_control.py#L16.
Possible solutions:
- modify the requirements.txt and specify version
7.17.2 which is the last version that supports custom Transport classes.
- Use the latest version and get rid of
RequestsHttpConnection as, correct me if I'm wrong, the script doesn't use any features from the requests library. If request features are used, the new RequestsHttpNode can be used instead.
Currently there is no version specified in the requirements.txt for the module
elasticsearch. By default this installs the latest version which currently does not work with the project as Transport classes are deprecated starting from version 8.0.When trying to run the project, the following message prints: https://github.com/austin-taylor/flare/blob/master/flare/analytics/command_control.py#L16.
Possible solutions:
7.17.2which is the last version that supports custom Transport classes.RequestsHttpConnectionas, correct me if I'm wrong, the script doesn't use any features from the requests library. If request features are used, the new RequestsHttpNode can be used instead.