Skip to content
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

Bump opensearch-py from 2.4.2 to 2.5.0 #379

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2024

Bumps opensearch-py from 2.4.2 to 2.5.0.

Release notes

Sourced from opensearch-py's releases.

v2.5.0

What's Changed

New Contributors

Full Changelog: opensearch-project/opensearch-py@v2.4.2...v2.5.0

Changelog

Sourced from opensearch-py's changelog.

[2.5.0]

Added

  • Added pylint assignment-from-no-return and unused-variable ((#658)
  • Added pylint unnecessary-dunder-calls ((#655)
  • Changed to use .pylintrc files in root and any directory with override requirements ((#654)
  • Added pylint unspecified-encoding and missing-function-docstring and ignored opensearchpy for lints ((#643))
  • Added pylint line-too-long and invalid-name (#590)
  • Added pylint pointless-statement (#611)
  • Added a log collection guide (#579)
  • Added GHA release (#614)
  • Incorporated API generation into CI workflow and fixed 'generate' nox session (#660)
  • Added an automated api update bot for opensearch-py (#664)
  • Enhance generator to generate plugins (#700)
  • Enhance generator to update changelog only if generated code differs from existing (#684)
  • Added guide for configuring ssl_assert_hostname (#694)

Changed

  • Updated the get_policy API in the index_management plugin to allow the policy_id argument as optional (#633)
  • Updated the point_in_time.md guide with examples demonstrating the usage of the new APIs as alternatives to the deprecated ones. (#661)

Deprecated

Removed

  • Removed unnecessary # -*- coding: utf-8 -*- headers from .py files (#615, #617)

Fixed

  • Fix KeyError when scroll return no hits (#616)
  • Fix reuse of OpenSearch using Urllib3HttpConnection and AsyncOpenSearch after calling close (#639)

Updated APIs

Security

Dependencies

  • Bumps pytest-asyncio from <=0.21.1 to <=0.23.5
  • Bumps urllib3 from >=1.26.18 to >=1.26.18, <2 (#632)
Commits
  • b197516 Add permission to the release workflow (#706) (#707)
  • f226570 Bump version to 2.5.0 (#703)
  • c770d88 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-03-22) ...
  • 25db5d5 Modified generator to generate plugins (#700)
  • bd91530 Added guide for configuring ssl_assert_hostname (#694)
  • b2a1796 Fixed yaml test runner (#696)
  • d36a882 Enhance generator to update changelog only if generated code differs from exi...
  • 4b69c09 Update pytest-asyncio requirement from <=0.23.4 to <=0.23.5 (#676)
  • b2638fb fix Update changelog in api generator (#675)
  • 8b91bb4 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-02-07) ...
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 26, 2024
@de-code
Copy link
Collaborator

de-code commented May 9, 2024

@dependabot rebase

Bumps [opensearch-py](https://github.com/opensearch-project/opensearch-py) from 2.4.2 to 2.5.0.
- [Release notes](https://github.com/opensearch-project/opensearch-py/releases)
- [Changelog](https://github.com/opensearch-project/opensearch-py/blob/main/CHANGELOG.md)
- [Commits](opensearch-project/opensearch-py@v2.4.2...v2.5.0)

---
updated-dependencies:
- dependency-name: opensearch-py
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/opensearch-py-2.5.0 branch from d01d6ae to 5fedc75 Compare May 9, 2024 09:43
@de-code
Copy link
Collaborator

de-code commented May 15, 2024

There is a dependency conflict for urllib3. types-requests wants >=2 whereas opensearch-py wants <2.

 > [ 8/14] RUN pip install --disable-pip-version-check     -r requirements.build.txt     -r requirements.txt     -r requirements.dev.txt:
4.207     opensearch-py 2.5.0 depends on urllib3<2 and >=1.26.18
4.207     requests 2.31.0 depends on urllib3<3 and >=1.21.1
4.207     requests-cache 1.2.0 depends on urllib3>=1.25.5
4.207     types-requests 2.31.0.20240406 depends on urllib3>=2

According to a closed related types-requests issue, it doesn't look like types-requests is going to support a version less than 2.

OpenSearch introduced the constraint via opensearch-project/opensearch-py#632 and support for version >= is tracked in opensearch-project/opensearch-py#628

That also suggests that even with the current version, it may not be fully working with urllib3>=2.

@de-code de-code closed this May 15, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 15, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/opensearch-py-2.5.0 branch May 15, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant