Skip to content

Conversation

@azjps
Copy link
Contributor

@azjps azjps commented Dec 2, 2025

Closes #2178

Make the imports lazy in pandera.io. This is the easiest way to decouple the dependencies; probably better would be to move the serialization formats to different modules and then lazily import them from pandera.io.

@codecov
Copy link

codecov bot commented Dec 25, 2025

Codecov Report

❌ Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.39%. Comparing base (71255eb) to head (d799db3).

Files with missing lines Patch % Lines
pandera/io/pandas_io.py 0.00% 11 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (71255eb) and HEAD (d799db3). Click for more details.

HEAD has 98 uploads less than BASE
Flag BASE (71255eb) HEAD (d799db3)
151 53
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2179      +/-   ##
==========================================
- Coverage   83.86%   75.39%   -8.48%     
==========================================
  Files         137      137              
  Lines       10607    10614       +7     
==========================================
- Hits         8896     8002     -894     
- Misses       1711     2612     +901     

☔ 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.

@deepyaman
Copy link
Collaborator

@azjps Seems reasonable to me! However, if looks like CI is failing for a few reasons—none of which look too bad to fix on the surface, if you don't mind.

I think it might also be good to actually test the missing module messages, especially with the more involved logic; maybe you can do something like https://stackoverflow.com/a/65163627.

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.

Don't require black, frictionless for DataFrameSchema.to_json()

3 participants