Skip to content

[python] Remove deprecated python functions#4240

Merged
jp-dark merged 6 commits intomainfrom
dark/remove-python-deprecations
Sep 22, 2025
Merged

[python] Remove deprecated python functions#4240
jp-dark merged 6 commits intomainfrom
dark/remove-python-deprecations

Conversation

@jp-dark
Copy link
Copy Markdown
Collaborator

@jp-dark jp-dark commented Sep 18, 2025

  • Remove deprecated function tiledbsoma_build_index, io.append_obs, io.append_var, io.append_X, and io.create_from_matrix.
  • Remove the deprecated method config_options_from_schema from SOMAArray.

- Remove deprecated function `tiledbsoma_build_index`, `io.append_obs`,
  `io.append_var`, `io.append_X`, and `io.create_from_matrix`. Remove
  the deprecated method `config_options_from_schema` from `SOMAArray`.
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.01%. Comparing base (e552aee) to head (26927ef).
⚠️ Report is 67 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4240      +/-   ##
==========================================
- Coverage   76.12%   76.01%   -0.12%     
==========================================
  Files         230      230              
  Lines       32117    32062      -55     
  Branches     1236     1236              
==========================================
- Hits        24450    24372      -78     
- Misses       7246     7269      +23     
  Partials      421      421              
Flag Coverage Δ
libtiledbsoma 57.07% <ø> (ø)
python 89.45% <100.00%> (-0.41%) ⬇️
r 85.54% <ø> (ø)

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

Components Coverage Δ
python_api 89.45% <100.00%> (-0.41%) ⬇️
libtiledbsoma 46.01% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@bkmartinjr bkmartinjr left a comment

Choose a reason for hiding this comment

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

the code changes look find. I don't know what to make of the HT failure based upon the logs. It seems most likely a test issue, or a latent bug unrelated to your changes.

My suggestion is to run this test locally with the --hypothesis-profile=expensive, which will test much more of the search space.

Approving, but I do think it would be a good idea to do the above in parallel

Copy link
Copy Markdown
Member

@aaronwolen aaronwolen left a comment

Choose a reason for hiding this comment

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

Thank you!

@jp-dark
Copy link
Copy Markdown
Collaborator Author

jp-dark commented Sep 19, 2025

the code changes look find. I don't know what to make of the HT failure based upon the logs. It seems most likely a test issue, or a latent bug unrelated to your changes.

I think the failure might be related to the way hypothesis works with pytest tmp_path_factory fixture: https://hypothesis.readthedocs.io/en/latest/compatibility.html#pytest

However, I don't know why it would be causing a problem now when it hasn't before.

@jp-dark jp-dark merged commit 389511d into main Sep 22, 2025
24 checks passed
@jp-dark jp-dark deleted the dark/remove-python-deprecations branch September 22, 2025 13:53
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