Skip to content

Conversation

@hoxbro
Copy link
Member

@hoxbro hoxbro commented Oct 6, 2025

Really early. This is to test-run our testsuite without having Pandas as a direct dependency.

@hoxbro hoxbro force-pushed the compat_nopandas branch 2 times, most recently from ec90fae to 87c744f Compare October 6, 2025 16:33
@philippjfr
Copy link
Member

Great start, though we need to work on removing the dependency in bokeh first.

@codecov
Copy link

codecov bot commented Oct 7, 2025

Codecov Report

❌ Patch coverage is 76.92308% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.75%. Comparing base (8eb0b14) to head (75b8d3d).

Files with missing lines Patch % Lines
panel/tests/io/test_cache.py 64.28% 5 Missing ⚠️
panel/tests/io/test_location.py 50.00% 3 Missing ⚠️
panel/tests/pane/test_vega.py 84.61% 2 Missing ⚠️
panel/tests/test_custom.py 60.00% 2 Missing ⚠️
panel/tests/test_expression.py 33.33% 2 Missing ⚠️
panel/tests/widgets/test_tables.py 33.33% 2 Missing ⚠️
panel/pane/vizzu.py 50.00% 1 Missing ⚠️
panel/tests/widgets/test_tqdm.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8236       +/-   ##
===========================================
+ Coverage   70.20%   81.75%   +11.55%     
===========================================
  Files         347      348        +1     
  Lines       54092    54131       +39     
===========================================
+ Hits        37973    44255     +6282     
+ Misses      16119     9876     -6243     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

assert location.search == "?dataframe=%5B%7B%22x%22%3A+1%7D%5D"

def test_location_sync_to_dataframe(location, dataframe):
pd = pytest.importorskip("pandas")
Copy link
Member

Choose a reason for hiding this comment

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

Can we convert these to decorators, i.e.:

pd_available = pytest.mark.skipif(pd is None, reason="requires pandas")

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, will do this before a merge. For now this is easier to do.

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