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

Remove support for Python 2.x. #548

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

dblock
Copy link
Member

@dblock dblock commented Oct 24, 2023

Description

Delete leftover support for Python 2.

Issues Resolved

Part of #430 (which still asks for removal of 3.7, so not closing).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #548 (d51a46b) into main (a1f942b) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

❗ Current head d51a46b differs from pull request most recent head 9a3d74d. Consider uploading reports for the commit 9a3d74d to get more accurate results

@@            Coverage Diff             @@
##             main     #548      +/-   ##
==========================================
- Coverage   70.66%   70.56%   -0.10%     
==========================================
  Files          83       83              
  Lines        7877     7862      -15     
==========================================
- Hits         5566     5548      -18     
- Misses       2311     2314       +3     
Files Coverage Δ
opensearchpy/__init__.py 100.00% <100.00%> (+7.14%) ⬆️
opensearchpy/connection/__init__.py 100.00% <100.00%> (+25.00%) ⬆️
opensearchpy/helpers/__init__.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

@saimedhi saimedhi merged commit 627e717 into opensearch-project:main Oct 24, 2023
51 checks passed
@dblock dblock mentioned this pull request Oct 24, 2023
Djcarrillo6 added a commit to Djcarrillo6/opensearch-py that referenced this pull request Oct 25, 2023
Signed-off-by: Djcarrillo6 <[email protected]>

Added a guide on making raw JSON REST requests. (opensearch-project#542)

Signed-off-by: dblock <[email protected]>

Added document lifecycle guide & sample code.

Signed-off-by: Djcarrillo6 <[email protected]>

Updated CHANGELOG

Signed-off-by: Djcarrillo6 <[email protected]>

Added support for AWS Sigv4 for UrlLib3. (opensearch-project#547)

* WIP: Added support for AWS Sigv4 for UrlLib3.

Signed-off-by: dblock <[email protected]>

* Refactored common implementation.

Signed-off-by: dblock <[email protected]>

* Added sigv4 samples.

Signed-off-by: dblock <[email protected]>

* Updated CHANGELOG.

Signed-off-by: dblock <[email protected]>

* Add documentation.

Signed-off-by: dblock <[email protected]>

* Use the correct class in tests.

Signed-off-by: dblock <[email protected]>

* Renamed samples.

Signed-off-by: dblock <[email protected]>

* Split up requests and urllib3 unit tests.

Signed-off-by: dblock <[email protected]>

* Rename AWSV4Signer.

Signed-off-by: dblock <[email protected]>

* Clarified documentation of when to use Urllib3AWSV4SignerAuth vs. RequestHttpConnection.

Signed-off-by: dblock <[email protected]>

* Move fetch_url inside the signer class.

Signed-off-by: dblock <[email protected]>

* Added unit test for Urllib3AWSV4SignerAuth adding headers.

Signed-off-by: dblock <[email protected]>

* Added unit test for signing to include query string.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>

Remove support for Python 2.x. (opensearch-project#548)

Signed-off-by: dblock <[email protected]>

Fixed guide & added link in USER_GUIDE.md

Signed-off-by: Djcarrillo6 <[email protected]>

Added support for AWS Sigv4 for UrlLib3. (opensearch-project#547)

* WIP: Added support for AWS Sigv4 for UrlLib3.

Signed-off-by: dblock <[email protected]>

* Refactored common implementation.

Signed-off-by: dblock <[email protected]>

* Added sigv4 samples.

Signed-off-by: dblock <[email protected]>

* Updated CHANGELOG.

Signed-off-by: dblock <[email protected]>

* Add documentation.

Signed-off-by: dblock <[email protected]>

* Use the correct class in tests.

Signed-off-by: dblock <[email protected]>

* Renamed samples.

Signed-off-by: dblock <[email protected]>

* Split up requests and urllib3 unit tests.

Signed-off-by: dblock <[email protected]>

* Rename AWSV4Signer.

Signed-off-by: dblock <[email protected]>

* Clarified documentation of when to use Urllib3AWSV4SignerAuth vs. RequestHttpConnection.

Signed-off-by: dblock <[email protected]>

* Move fetch_url inside the signer class.

Signed-off-by: dblock <[email protected]>

* Added unit test for Urllib3AWSV4SignerAuth adding headers.

Signed-off-by: dblock <[email protected]>

* Added unit test for signing to include query string.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>

Remove support for Python 2.x. (opensearch-project#548)

Signed-off-by: dblock <[email protected]>

Fixed guide & added link in USER_GUIDE.md opensearch-project#3

Signed-off-by: Djcarrillo6 <[email protected]>
roma2023 pushed a commit to roma2023/opensearch-py that referenced this pull request Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants