Skip to content

Remove all deprecated functionality - #2951

Open
amontanez24 wants to merge 9 commits into
v2.0.0from
issue-2948-remove-deprecated-functionality
Open

Remove all deprecated functionality#2951
amontanez24 wants to merge 9 commits into
v2.0.0from
issue-2948-remove-deprecated-functionality

Conversation

@amontanez24

@amontanez24 amontanez24 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

resolves #2948

This PR doesn't remove the deprecated constraints or metadata. That will be done in separate issues

@amontanez24
amontanez24 changed the base branch from main to v2.0.0 August 17, 2026 19:54
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.04%. Comparing base (3ef67c1) to head (8bb358c).

Additional details and impacted files
@@            Coverage Diff             @@
##           v2.0.0    #2951      +/-   ##
==========================================
- Coverage   98.06%   98.04%   -0.03%     
==========================================
  Files          74       72       -2     
  Lines        8582     8420     -162     
==========================================
- Hits         8416     8255     -161     
+ Misses        166      165       -1     
Flag Coverage Δ
integration 76.54% <100.00%> (+0.05%) ⬆️
unit 97.01% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amontanez24
amontanez24 marked this pull request as ready for review August 18, 2026 21:38
@amontanez24
amontanez24 requested a review from a team as a code owner August 18, 2026 21:38
@amontanez24
amontanez24 requested review from frances-h, rwedge and sarahmish and removed request for a team August 18, 2026 21:38

@sarahmish sarahmish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are other functions that are raising future warnings, should they be removed?

if isinstance(show_table_details, bool):
if show_table_details:
future_warning_msg = (
'Using True or False for show_table_details is deprecated. Use '
"show_table_details='full' to show all table details."
)
show_table_details = 'full'
else:
future_warning_msg = (
"Using True or False for 'show_table_details' is deprecated. "
'Use show_table_details=None to hide table details.'
)
show_table_details = None
warnings.warn(future_warning_msg, FutureWarning)

Comment thread sdv/single_table/ctgan.py Outdated
Comment on lines 161 to 164

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should this be removed since cuda is deprecated? The same would apply for copulagan

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch

Comment thread sdv/sequential/par.py

@sarahmish sarahmish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

assert synthetic_data_2.columns.tolist() == data_columns
assert synthetic_data_3.columns.tolist() == data_columns
assert len(synthetic_data_1) == 10
assert len(synthetic_data_2) == len(synthetic_data_3) == 10

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think len(synthetic_data_2) should be kept

assert len(synthetic_data_2) == 10

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.

SDV 2.0: Remove all deprecated functionality

2 participants