Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency pandera to v0.23.1 #956

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pandera ==0.17.2 -> ==0.23.1 age adoption passing confidence

Release Notes

pandera-dev/pandera (pandera)

v0.23.1

Compare Source

What's Changed

New Contributors

Special shoutout to the new contributors!

Full Changelog: unionai-oss/pandera@v0.23.0...v0.23.1

v0.23.0: : Improve pydantic compatibility, add json_normalize, bugfixes

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.22.1...v0.23.0

v0.22.1: : Fix check_input decorator regression

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.22.0...v0.22.1

v0.22.0: : Improve validation runtime performance by 4x

Compare Source

⭐️ Highlight

In this release, dependencies on multimethod and wrapt were removed and optimizations were made to speed up validation performance by up to 4x (depending on the validation rules. For simple cases speedup is ~4x see here).

What's Changed
New Contributors

Full Changelog: unionai-oss/pandera@v0.21.1...v0.22.0

v0.21.1: : Type bugfixes and regression fixes

Compare Source

What's Changed
New Contributors

Full Changelog: unionai-oss/pandera@v0.21.0...v0.21.1

v0.21.0: : Reduce import and schema creation runtime, add docsearch search bar

Compare Source

⭐️ Highlights

This release optimizes the import and schema creation runtime so that importing pandera and creating a schema (without doing any validation) happens in ~5 ms (before it would be >800ms). It also updates the docs to use docsearch for a better search experience.

What's Changed
New Contributors

Full Changelog: unionai-oss/pandera@v0.20.4...v0.21.0

v0.20.4: : Bugfixes to polars & pyspark backends and more

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.20.3...v0.20.4

v0.20.3: : polars integration cleanup, docs updates, bugfixes

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.20.2...v0.20.3

v0.20.2: : Complete pyarrow coverage, support polars v1

Compare Source

⭐️ Highlights:

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.20.1...v0.20.2

v0.20.1: : Bugfix for pyarrow dependency error

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.20.0...v0.20.1

v0.20.0: : Pyarrow dtype support

Compare Source

⭐️ Highlights

  • Pandera now supports pyarrow datatypes in the pandera validation engine! Big shoutout to @​aaravind100 for the heavy lifting here.
  • Added compatibility for numpy v2.
  • Add compatibility for polars v1
  • pandera.SchemaModel is now deprecated, use pandera.DataFrameModel instead.

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.19.2...v0.20.0

v0.19.3: Release 0.19.3: Polars dtype bugfixes

Compare Source

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.19.2...v0.19.3

v0.19.2: : Bugfix on correctly checking nullable Floats

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.19.1...v0.19.2

v0.19.1: Release 0.19.1: Bugfixes and docs fixes

Compare Source

What's Changed
New Contributors

Full Changelog: unionai-oss/pandera@v0.19.0...v0.19.1

v0.19.0: Release 0.19.0: Polars validation support

Compare Source

✨ Highlights ✨

📣 Pandera now supports validation of polars.DataFrame and polars.LazyFrame 🐻‍❄️!

You can now do this:

import pandera.polars as pa
import polars as pl

class Schema(pa.DataFrameModel):
    state: str
    city: str
    price: int = pa.Field(in_range={"min_value": 5, "max_value": 20})

lf = pl.LazyFrame(
    {
        'state': ['FL','FL','FL','CA','CA','CA'],
        'city': [
            'Orlando',
            'Miami',
            'Tampa',
            'San Francisco',
            'Los Angeles',
            'San Diego',
        ],
        'price': [8, 12, 10, 16, 20, 18],
    }
)
Schema.validate(lf).collect()

And of course you can do functional validation with decorators like so:

from pandera.typing.polars import LazyFrame

@​pa.check_types
def function(lf: LazyFrame[Schema]) -> LazyFrame[Schema]:
    return lf.filter(pl.col("state").eq("CA"))

function(lf).collect()

You can read more about the integration here. Not all pandera features are supported at this point, but depending on community demand/contributions we'll slowly add them. To learn more about what's currently supported, check out this table.

Special shoutout to @​AndriiG13 and @​FilipAisot for their contributions on the built-in checks and polars datatypes, respectively, and to @​evanrasmussen9, @​baldwinj30, @​obiii, @​Filimoa, @​philiporlando, @​r-bar, @​alkment, @​jjfantini, and @​robertdj for their early feedback and bug reports during the 0.19.0 beta.

What's Changed

New Contributors

Full Changelog: unionai-oss/pandera@v0.18.3...v0.19.0

v0.18.3: : Bugfix issue with SeriesSchema Index validation

Compare Source

What's Changed

Full Changelog: unionai-oss/pandera@v0.18.2...v0.18.3

v0.18.2: : Docs fix - try pandera page.

Compare Source

v0.18.1: : Granular control of validation on pandas dfs.

Compare Source

✨ Highlights ✨
Granular control of pandas validation https://github.com/unionai-oss/pandera/pull/1490

There is now support for granular control of schema-level or data-level validations. This can be done via the PANDERA_VALIDATION_DEPTH environment variable. Schema-level (or metadata) validation includes things like column name checks and column data types, while data-level validation involves checks that operate on actual data values.

export PANDERA_VALIDATION_DEPTH= SCHEMA_AND_DATA  # check schema- and data-level checks (default)
export PANDERA_VALIDATION_DEPTH=SCHEMA_ONLY  # only do schema-level checks
export PANDERA_VALIDATION_DEPTH=DATA_ONLY  # only do data-level checks
Efficient Hypothesis strategies https://github.com/unionai-oss/pandera/pull/1503

Pandas data synthesis strategies now uses comparison operator functions for more efficient data synthesis. It also updates the minimum hypothesis version to 6.92.7.

What's Changed
New Contributors

Full Changelog: unionai-oss/pandera@v0.18.0...v0.18.1

v0.18.0: : Pandas schemas supports globa


Configuration

📅 Schedule: Branch creation - "before 9am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Mar 6, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Command failed: uv lock --upgrade-package pandera
Using CPython 3.11.11 interpreter at: /opt/containerbase/tools/python/3.11.11/bin/python3.11
  × No solution found when resolving dependencies for split
  │ ((python_full_version == '3.11.*' and platform_machine == 'AMD64' and
  │ platform_python_implementation != 'PyPy') or (python_full_version ==
  │ '3.11.*' and platform_machine == 'WIN32' and platform_python_implementation
  │ != 'PyPy') or (python_full_version == '3.11.*' and platform_machine
  │ == 'aarch64' and platform_python_implementation != 'PyPy')
  │ or (python_full_version == '3.11.*' and platform_machine
  │ == 'amd64' and platform_python_implementation != 'PyPy')
  │ or (python_full_version == '3.11.*' and platform_machine
  │ == 'ppc64le' and platform_python_implementation != 'PyPy')
  │ or (python_full_version == '3.11.*' and platform_machine
  │ == 'win32' and platform_python_implementation != 'PyPy') or
  │ (python_full_version == '3.11.*' and platform_machine == 'x86_64' and
  │ platform_python_implementation != 'PyPy')):
  ╰─▶ Because pandera==0.23.1 depends on pandas>=2.1.1 and your project
      depends on pandas==1.5.3, we can conclude that your project and
      pandera==0.23.1 are incompatible.
      And because your project depends on pandera==0.23.1, we can conclude
      that your project's requirements are unsatisfiable.

@renovate renovate bot force-pushed the renovate/pandera-0.x branch 10 times, most recently from 0b6e611 to 6538eef Compare March 8, 2025 02:41
@renovate renovate bot changed the title Update dependency pandera to v0.23.0 Update dependency pandera to v0.23.1 Mar 8, 2025
@renovate renovate bot force-pushed the renovate/pandera-0.x branch from 6538eef to d25e48b Compare March 10, 2025 05:19
@renovate renovate bot force-pushed the renovate/pandera-0.x branch from d25e48b to ac84c9c Compare March 10, 2025 11:18
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.

0 participants