From 18adba506177151b25e5cce5b2690b4617cf6792 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jan 2025 06:53:00 +0000 Subject: [PATCH 1/2] chore(python): Bump the python group in /py-polars with 3 updates Bumps the python group in /py-polars with 3 updates: [pytest-codspeed](https://github.com/CodSpeedHQ/pytest-codspeed), [mypy[faster-cache]](https://github.com/python/mypy) and [typos](https://github.com/crate-ci/typos). Updates `pytest-codspeed` from 3.0.0 to 3.1.0 - [Release notes](https://github.com/CodSpeedHQ/pytest-codspeed/releases) - [Changelog](https://github.com/CodSpeedHQ/pytest-codspeed/blob/master/CHANGELOG.md) - [Commits](https://github.com/CodSpeedHQ/pytest-codspeed/compare/v3.0.0...v3.1.0) Updates `mypy[faster-cache]` from 1.13.0 to 1.14.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.13.0...v1.14.1) Updates `typos` from 1.28.1 to 1.29.0 - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.28.1...v1.29.0) --- updated-dependencies: - dependency-name: pytest-codspeed dependency-type: direct:development update-type: version-update:semver-minor dependency-group: python - dependency-name: mypy[faster-cache] dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python - dependency-name: typos dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python ... Signed-off-by: dependabot[bot] --- py-polars/requirements-dev.txt | 2 +- py-polars/requirements-lint.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/py-polars/requirements-dev.txt b/py-polars/requirements-dev.txt index 7fb358bced22..89c081de50c3 100644 --- a/py-polars/requirements-dev.txt +++ b/py-polars/requirements-dev.txt @@ -60,7 +60,7 @@ hypothesis # ------- pytest==8.3.2 -pytest-codspeed==3.0.0 +pytest-codspeed==3.1.0 pytest-cov==6.0.0 pytest-xdist==3.6.1 diff --git a/py-polars/requirements-lint.txt b/py-polars/requirements-lint.txt index df703691f12a..5c6034674239 100644 --- a/py-polars/requirements-lint.txt +++ b/py-polars/requirements-lint.txt @@ -1,3 +1,3 @@ -mypy[faster-cache]==1.13.0 +mypy[faster-cache]==1.14.1 ruff==0.8.1 -typos==1.28.1 +typos==1.29.0 From 61c34c1e2b2717382037f6b2a5bda8b735bf56b8 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Thu, 2 Jan 2025 10:10:47 +0100 Subject: [PATCH 2/2] Fix mypy errorsr --- py-polars/tests/unit/io/test_hive.py | 2 +- py-polars/tests/unit/operations/unique/test_unique.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py-polars/tests/unit/io/test_hive.py b/py-polars/tests/unit/io/test_hive.py index 4a6384fb5f56..2bb0c6e7d37c 100644 --- a/py-polars/tests/unit/io/test_hive.py +++ b/py-polars/tests/unit/io/test_hive.py @@ -200,7 +200,7 @@ def test_hive_partitioned_projection_pushdown( q = pl.scan_parquet( root / "**/*.parquet", hive_partitioning=True, - parallel=parallel, # type: ignore[arg-type] + parallel=parallel, ) expected = q.collect().select("category") diff --git a/py-polars/tests/unit/operations/unique/test_unique.py b/py-polars/tests/unit/operations/unique/test_unique.py index 406a70b6e71f..595ae1db59eb 100644 --- a/py-polars/tests/unit/operations/unique/test_unique.py +++ b/py-polars/tests/unit/operations/unique/test_unique.py @@ -43,7 +43,7 @@ def test_unique_predicate_pd() -> None: for maintain_order in (True, False): for keep in ("first", "last", "any", "none"): q = ( - lf.unique("x", maintain_order=maintain_order, keep=keep) # type: ignore[arg-type] + lf.unique("x", maintain_order=maintain_order, keep=keep) .filter(pl.col("x") == "abc") .filter(pl.col("z")) )