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

Deprecate for 0.8.0 release #1269

Merged
merged 6 commits into from
Nov 1, 2024

Conversation

kevinjqliu
Copy link
Contributor

Searching for `removed_in="0.8.0":
https://github.com/search?q=repo%3Aapache%2Ficeberg-python+removed_in%3D%220.8&type=code

Removed items:

  • DEPRECATED_PROPERTY_NAMES
  • to_requested_schema in pyiceberg/io/pyarrow.py
  • add_snapshot and set_ref_snapshot in pyiceberg/table/__init__.py

@kevinjqliu
Copy link
Contributor Author

I think this might be the first time we're removing deprecated functions/parameters from the library.
I'm a bit concerned about the DEPRECATED_PROPERTY_NAMES and whether people have migrated away from it.
Also, there's #1104 which advocates for not deprecating botocore_session

Any thoughts on this? @HonahX @sungwy @Fokko

pyiceberg/catalog/glue.py Outdated Show resolved Hide resolved
@kevinjqliu kevinjqliu requested a review from Fokko October 30, 2024 17:55
@kevinjqliu kevinjqliu force-pushed the kevinjqliu/deprecate-0.8.0 branch from bca6afe to 6e7a8d3 Compare October 30, 2024 17:55
@kevinjqliu kevinjqliu force-pushed the kevinjqliu/deprecate-0.8.0 branch from 6e7a8d3 to 5cdba31 Compare October 30, 2024 17:56
@kevinjqliu kevinjqliu added this to the PyIceberg 0.8.0 release milestone Oct 30, 2024
@kevinjqliu kevinjqliu requested review from sungwy and HonahX October 30, 2024 19:03
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

This looks good, thanks @kevinjqliu for cleaning this up.

In a separate PR, we might want to see if we want to expose the session, as mentioned in #1104

Copy link
Contributor

@HonahX HonahX left a comment

Choose a reason for hiding this comment

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

@kevinjqliu Thanks for cleaning up deprecated stuff for 0.8.0! LGTM, just have one comment regarding the deprecation message in the doc.

mkdocs/docs/configuration.md Outdated Show resolved Hide resolved
@kevinjqliu kevinjqliu merged commit 9fd440e into apache:main Nov 1, 2024
7 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/deprecate-0.8.0 branch November 1, 2024 18:47
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* remove deprecated functions

* remove deprecated properties

* fix tests based on deprecated properties

* update readme

* get_first_property_value

* deprecate properties
sungwy pushed a commit to sungwy/iceberg-python that referenced this pull request Dec 7, 2024
* remove deprecated functions

* remove deprecated properties

* fix tests based on deprecated properties

* update readme

* get_first_property_value

* deprecate properties
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