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

MAINT: Update version of deprecation_with_replacement #2861

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

j-t-1
Copy link
Contributor

@j-t-1 j-t-1 commented Sep 20, 2024

No description provided.

Copy link

codecov bot commented Sep 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.99%. Comparing base (a337664) to head (b537f73).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2861   +/-   ##
=======================================
  Coverage   95.99%   95.99%           
=======================================
  Files          51       51           
  Lines        8516     8516           
  Branches     1698     1698           
=======================================
  Hits         8175     8175           
  Misses        200      200           
  Partials      141      141           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stefan6419846
Copy link
Collaborator

Seems like we missed them during the cleanup, as they should already have been removed as well - they already were errors if I am not mistaken. Thus I do not really consider this change to be correct. Depending on whether we yank the 5.0.0 release, this might go into the fixed 5.0.0 release with a complete cleanup.

@j-t-1
Copy link
Contributor Author

j-t-1 commented Sep 20, 2024

If it was not an __init__.py file would this change be okay?

Is "AnnotationBuilder" okay to be in __all__?

@stefan6419846
Copy link
Collaborator

No, I am questioning why we are still delaying the deprecation which - if I understand correctly, should already have happened by completely removing the offending code.

@j-t-1
Copy link
Contributor Author

j-t-1 commented Sep 20, 2024

These were deprecate_with_replacement in 4.0.0 and made deprecation_with_replacement in #2813, but the 4.0.0 should have been increased to 5.0.0. However, on further consideration, because it is an __init__.py file I think it needs to be removed from this file. We are agreeing for its removal but for different reasons.

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