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

Do not deprecate botocore_session #1300

Merged

Conversation

kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Nov 6, 2024

Do not deprecate botocore_session in 0.8.0 release, due to #1104
Partial revert of #1269

Fixes #1104

@@ -98,6 +99,7 @@ def __init__(self, name: str, **properties: str):
session = boto3.Session(
profile_name=properties.get(DYNAMODB_PROFILE_NAME),
region_name=get_first_property_value(properties, DYNAMODB_REGION, AWS_REGION),
botocore_session=properties.get(DEPRECATED_BOTOCORE_SESSION),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to emit a deprecation message? I feel like there is no strong consensus on how to move this forward, and I would also love to get @HonahX's input on it. Same for Glue below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im ok with leaving it as is now, and deferring to the next release

@kevinjqliu kevinjqliu merged commit 0eaadb9 into apache:main Nov 7, 2024
7 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/add-back-botocore-session branch November 7, 2024 17:30
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* remove botocore_session deprecation message

* add back DEPRECATED_BOTOCORE_SESSION

* add deprecation message
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* remove botocore_session deprecation message

* add back DEPRECATED_BOTOCORE_SESSION

* add deprecation message
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.

Do not deprecate Botocore Session in upcoming release (0.8)
2 participants