-
Notifications
You must be signed in to change notification settings - Fork 2
Deps/update pymongo #97
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
fc9f901
Update dependencies in requirements and setup files
gmorales96 4e0ac18
Format and lint
gmorales96 46bd726
Orden
gmorales96 d92de7c
Remove support python 3.9
gmorales96 4fd5f33
Refactor import statements in test_encrypted_string.py
gmorales96 459d97b
pre-release
gmorales96 5392240
Update version to 1.3.0
gmorales96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
| from typing import Dict | ||
|
|
||
| from bson import CodecOptions | ||
| from bson.binary import STANDARD, UUID_SUBTYPE, Binary | ||
| from bson.binary import STANDARD, Binary | ||
| from mongoengine import get_connection | ||
| from pymongo.encryption import ClientEncryption | ||
|
|
||
|
|
@@ -32,7 +32,7 @@ def get_data_key_binary(key_namespace: str, key_name: str) -> Binary: | |
| # Buscamos el data key | ||
| data_key = get_data_key(key_namespace, key_name) | ||
| uuid_data_key = data_key['_id'] | ||
| return Binary(uuid_data_key.bytes, UUID_SUBTYPE) | ||
| return uuid_data_key | ||
|
|
||
|
|
||
| def create_data_key( | ||
|
|
@@ -52,6 +52,7 @@ def create_data_key( | |
| partialFilterExpression={"keyAltNames": {"$exists": True}}, | ||
| ) | ||
|
|
||
| client_encryption: ClientEncryption | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. es necesario esto?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Si, el lint ahora es más estricto, marca este error: |
||
| with ClientEncryption( | ||
| kms_provider, | ||
| key_namespace, | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = '1.2.1' | ||
| __version__ = '1.3.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,10 @@ | ||
| black==24.10.0 | ||
| flake8==7.1.1 | ||
| isort==5.13.2 | ||
| mypy==1.14.1 | ||
| moto[server,kms]==5.0.26 | ||
| pytest==8.3.4 | ||
| pytest-asyncio==0.25.2 | ||
| pytest-cov==6.0.0 | ||
| pytest-freezegun==0.4.2 | ||
| testcontainers==4.9.0 | ||
| black==25.11.* | ||
| flake8==7.3.* | ||
| isort==7.0.* | ||
| moto[server,kms]==5.1.* | ||
| mypy==1.18.* | ||
| pytest==9.0.* | ||
| pytest-asyncio==1.3.* | ||
| pytest-cov==7.0.* | ||
| pytest-freezegun==0.4.* | ||
| testcontainers==4.13.* | ||
gmorales96 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| blinker==1.9.0 | ||
| dnspython==2.7.0 | ||
| boto3==1.40.71 | ||
| dnspython==2.8.0 | ||
coderabbitai[bot] marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| mongoengine==0.29.1 | ||
| pymongo==3.13.0 | ||
| pymongocrypt==1.12.2 | ||
| boto3==1.35.95 | ||
| pymongo==4.15.4 | ||
| pymongocrypt==1.16.0 | ||
gmorales96 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.