git: 3e86568e899b - main - math/py-narwhals: Update to 2.22.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jul 2026 13:40:50 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3e86568e899bd979e25ff8d60e1bdf0e8926fa4d
commit 3e86568e899bd979e25ff8d60e1bdf0e8926fa4d
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-07-08 13:02:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-07-08 13:32:10 +0000
math/py-narwhals: Update to 2.22.1
Changes: https://github.com/narwhals-dev/narwhals/releases
---
math/py-narwhals/Makefile | 8 ++++----
math/py-narwhals/distinfo | 6 +++---
math/py-narwhals/files/patch-pyproject.toml | 12 ++++++++++++
3 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/math/py-narwhals/Makefile b/math/py-narwhals/Makefile
index b2568383cd20..5672fe02b700 100644
--- a/math/py-narwhals/Makefile
+++ b/math/py-narwhals/Makefile
@@ -1,5 +1,5 @@
PORTNAME= narwhals
-PORTVERSION= 2.21.0
+PORTVERSION= 2.22.1
CATEGORIES= math python
MASTER_SITES= PYPI \
https://github.com/narwhals-dev/narwhals/releases/download/v${PORTVERSION}/
@@ -33,11 +33,11 @@ SQLFRAME_DESC= SQLFrame support
DASK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dask>=2024.8:devel/py-dask@${PY_FLAVOR}
DUCKDB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}duckdb>=1.0:databases/py-duckdb@${PY_FLAVOR}
-PANDAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.1.3,1:math/py-pandas@${PY_FLAVOR}
-MODIN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}modin>=0:math/py-modin@${PY_FLAVOR}
+PANDAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.3.4,1:math/py-pandas@${PY_FLAVOR}
+MODIN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}modin>=0.22.0:math/py-modin@${PY_FLAVOR}
POLARS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}polars>=0.20.4:misc/py-polars@${PY_FLAVOR}
PYARROW_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyarrow>=13.0.0:databases/py-pyarrow@${PY_FLAVOR}
-SQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlparse>=0:databases/py-sqlparse@${PY_FLAVOR}
+SQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.5.5:databases/py-sqlparse@${PY_FLAVOR}
SQLFRAME_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlframe>=3.22.0:databases/py-sqlframe@${PY_FLAVOR}
.include <bsd.port.mk>
diff --git a/math/py-narwhals/distinfo b/math/py-narwhals/distinfo
index 8af8f52e70f6..38620eec1034 100644
--- a/math/py-narwhals/distinfo
+++ b/math/py-narwhals/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778246843
-SHA256 (narwhals-2.21.0.tar.gz) = 7c6e7f50528e62b7a967dd864d7e117d2955d38d4f730653ce46a9861358e2dc
-SIZE (narwhals-2.21.0.tar.gz) = 633083
+TIMESTAMP = 1782966542
+SHA256 (narwhals-2.22.1.tar.gz) = d62920805a0a43b7ff8b54b0c0d3142d796f8a9301836ada37e573d6a33cbcd9
+SIZE (narwhals-2.22.1.tar.gz) = 647493
diff --git a/math/py-narwhals/files/patch-pyproject.toml b/math/py-narwhals/files/patch-pyproject.toml
new file mode 100644
index 000000000000..111c2d0aa26c
--- /dev/null
+++ b/math/py-narwhals/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 1970-01-01 00:00:00 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ # Reference: https://packaging.python.org/en/latest/guides/writing-pyproject-toml
+ [build-system]
+-requires = ["uv_build>=0.11.0,<0.12.0"]
+-build-backend = "uv_build"
++requires = ["hatchling"]
++build-backend = "hatchling.build"
+
+ [project]
+ name = "narwhals"