-
Notifications
You must be signed in to change notification settings - Fork 177
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
[BUG] Issue with consuming the new version of opensearch-py 2.2.0 #309
Comments
@saimedhi Can you take a look? |
ok |
|
certifi page says
|
Got it. I think we need to skip certify installation for python 2.7 |
@Yury-Fridlyand Are you working on it. If not, I will make the changes :) |
@saimedhi, |
@VachaShah, I think we can close this issue |
This still breaks older python 2 versions when using the command:
fixing the version to 2.1.1 is a work around but not ideal. changes in the setup file seem to be ignored in older python versions. I believe I have the last pip version to support python 2 installed. Obviously python 2 is EOL but I'm unable to upgrade in this instance.
|
Related, a lot of this mess is solved with virtual env I believe, been using pipenv for projects. |
The problem seems to be related to the certifi package and its Python 2.7 support. opensearch-py requires a newer version of certifi (certifi>=2022.12.07), which is not supported in Python 2.7. As a result, workflows do not work for some Python versions. the error is related to the compatibility issue of the certifi package with Python 2.7 when installing opensearch-py. it is recommended to upgrade to a newer version of Python. |
Shall we close this? Anything we can do in the client? |
We can close this issue. But I just have a doubt. This pr is fixing github actions, but local tests are still not fixed. We need to exclude CI tests for python versions less than 3.6 in nox file. Can we still do that. Or final version of opensearch-dsl-py is already released? |
What is the bug?
When consuming the new version of opensearch-py 2.2.0 in opensearch-dsl-py, the workflows are failing for some python versions:
https://github.com/opensearch-project/opensearch-dsl-py/actions/runs/4309402957/jobs/7516755816
Error:
How can one reproduce the bug?
See the workflow link https://github.com/opensearch-project/opensearch-dsl-py/actions/runs/4309402957/jobs/7516755816.
What is the expected behavior?
The workflows should succeed.
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Regarding PR #295
The text was updated successfully, but these errors were encountered: