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

AWS: Undeprecate botocore_session #1692

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Feb 20, 2025

We've deprecated this a while ago, because as the configuration should only pass in strings, and not Python objects.

However, it was pretty complex to find a reasonable alternative for this. For example: #1299

Therefore, I think we should undo this deprecation for now.

We've deprecated this a while ago, because as the configuration
should only pass in strings, and not Python objects.

However, it was pretty complex to find a reasonable alternative
for this. For example: apache#1299

Therefore, I think we should undo this deprecation for now.
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM!

This was brought up in the 0.9.0 release discuss thread on devlist
https://lists.apache.org/thread/rr8lcf96jl6079dz6vfkwr5spbvlxzpm

Copy link
Contributor

@geruh geruh left a comment

Choose a reason for hiding this comment

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

Awesome, thanks @Fokko!

@Fokko Fokko added this to the PyIceberg 0.9.0 release milestone Feb 20, 2025
@Fokko Fokko merged commit 8cb8793 into apache:main Feb 20, 2025
7 checks passed
@Fokko
Copy link
Contributor Author

Fokko commented Feb 20, 2025

Thanks @kevinjqliu and @geruh for the quick review 🚀

@Fokko Fokko deleted the fd-undeprecate-botocore-session branch February 20, 2025 19:32
kevinjqliu pushed a commit that referenced this pull request Feb 21, 2025
This PR deprecates one of the three items that were planned for the
0.9.0 release.

All items marked for removal:
- [x]  Table name reference in scan expression 

<https://github.com/apache/iceberg-python/blob/efc8b5ac0f16717f776e034ecf9a9e9bdabd8424/pyiceberg/expressions/parser.py#L95>

- [x]  REST catalog client AUTH_URL (#1691)

<https://github.com/apache/iceberg-python/blob/efc8b5ac0f16717f776e034ecf9a9e9bdabd8424/pyiceberg/catalog/rest.py#L324>

- [x] botocore session (#1692)

<https://github.com/apache/iceberg-python/blob/efc8b5ac0f16717f776e034ecf9a9e9bdabd8424/pyiceberg/catalog/__init__.py#L790>

Currently there are three items marked for release. However, based on
the ongoing
[discussion](https://lists.apache.org/thread/rr8lcf96jl6079dz6vfkwr5spbvlxzpm),
it appears that the other two items. have not yet been replaced with a
proper solution. As a result, this PR only addresses the deprecation of
`Table name reference in scan expression` while we await further
resolution on the others.
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.

3 participants