pandera icon indicating copy to clipboard operation
pandera copied to clipboard

Remove Python 3.8 support

Open g-as opened this issue 1 year ago • 4 comments

g-as avatar Feb 18 '25 21:02 g-as

the ci error looks odd:

ImportError while loading conftest '/home/runner/work/pandera/pandera/tests/core/conftest.py'.
tests/core/conftest.py:4: in <module>
    from tests.core.checks_fixtures import (
tests/core/checks_fixtures.py:9: in <module>
    import pandera as pa
pandera/__init__.py:26: in <module>
    from pandera.api.pandas.array import SeriesSchema
pandera/api/pandas/array.py:15: in <module>
    from pandera.engines import pandas_engine
pandera/engines/pandas_engine.py:1216: in <module>
    class PydanticModel(DataType):
pandera/engines/pandas_engine.py:1219: in PydanticModel
    type: type[BaseModel] = dataclasses.field(default=None, init=False)  # type: ignore[assignment]
E   TypeError: 'Field' object is not subscriptable

cosmicBboy avatar Feb 19 '25 20:02 cosmicBboy

btw @g-as I just merged https://github.com/unionai-oss/pandera/pull/1916, which does away with the need for maintaining ci and dev requirements files. Also migrate to using uv as preferred package manager for development.

cosmicBboy avatar Feb 28 '25 03:02 cosmicBboy

Alright. I'll rebase accordingly. Thanks for the heads-up.

g-as avatar Feb 28 '25 09:02 g-as

Codecov Report

Attention: Patch coverage is 92.42902% with 24 lines in your changes missing coverage. Please review.

Project coverage is 81.53%. Comparing base (812b2a8) to head (b55becf). Report is 319 commits behind head on main.

Files with missing lines Patch % Lines
pandera/api/dataframe/container.py 47.61% 11 Missing :warning:
pandera/api/pyspark/model.py 82.60% 4 Missing :warning:
pandera/api/dataframe/model.py 92.85% 2 Missing :warning:
pandera/engines/pyarrow_engine.py 0.00% 2 Missing :warning:
pandera/backends/pandas/container.py 88.88% 1 Missing :warning:
pandera/backends/pyspark/container.py 80.00% 1 Missing :warning:
pandera/engines/pandas_engine.py 88.88% 1 Missing :warning:
pandera/typing/__init__.py 66.66% 1 Missing :warning:
pandera/typing/fastapi.py 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1913       +/-   ##
===========================================
- Coverage   94.28%   81.53%   -12.75%     
===========================================
  Files          91      121       +30     
  Lines        7013     9387     +2374     
===========================================
+ Hits         6612     7654     +1042     
- Misses        401     1733     +1332     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar Mar 05 '25 15:03 codecov[bot]