From 9a86a5e21b41f06300f833d0d53e3a6c3225e7bb Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 14 Mar 2026 15:43:28 +0000 Subject: [PATCH 1/2] python3Packages.geopandas: 1.1.2 -> 1.1.3 --- pkgs/development/python-modules/geopandas/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/geopandas/default.nix b/pkgs/development/python-modules/geopandas/default.nix index 4cc1e0145ef8..5bef6833785f 100644 --- a/pkgs/development/python-modules/geopandas/default.nix +++ b/pkgs/development/python-modules/geopandas/default.nix @@ -27,14 +27,14 @@ buildPythonPackage rec { pname = "geopandas"; - version = "1.1.2"; + version = "1.1.3"; pyproject = true; src = fetchFromGitHub { owner = "geopandas"; repo = "geopandas"; tag = "v${version}"; - hash = "sha256-TBb9Bb12OZ9RWiwAGU6JKqiumw1C11USycpKM8mJVdU="; + hash = "sha256-66FbHNewpSEVZ9RwngK7E4bcELa9Z2OQ9xVP9+fgeHQ="; }; build-system = [ setuptools ]; From b0627c345a6881091f4880632133ced13c82dd57 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 14 Mar 2026 20:24:28 +0400 Subject: [PATCH 2/2] python3Packages.geopandas: modernize --- .../python-modules/geopandas/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/geopandas/default.nix b/pkgs/development/python-modules/geopandas/default.nix index 5bef6833785f..622a87d4e8c0 100644 --- a/pkgs/development/python-modules/geopandas/default.nix +++ b/pkgs/development/python-modules/geopandas/default.nix @@ -5,6 +5,7 @@ fetchpatch, pytestCheckHook, setuptools, + writableTmpDirAsHomeHook, packaging, pandas, @@ -25,7 +26,7 @@ xyzservices, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "geopandas"; version = "1.1.3"; pyproject = true; @@ -33,7 +34,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "geopandas"; repo = "geopandas"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-66FbHNewpSEVZ9RwngK7E4bcELa9Z2OQ9xVP9+fgeHQ="; }; @@ -70,12 +71,9 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook rtree + writableTmpDirAsHomeHook ] - ++ optional-dependencies.all; - - preCheck = '' - export HOME=$(mktemp -d); - ''; + ++ finalAttrs.passthru.optional-dependencies.all; disabledTests = [ # Requires network access @@ -89,8 +87,8 @@ buildPythonPackage rec { meta = { description = "Python geospatial data analysis framework"; homepage = "https://geopandas.org"; - changelog = "https://github.com/geopandas/geopandas/blob/${src.tag}/CHANGELOG.md"; + changelog = "https://github.com/geopandas/geopandas/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; teams = [ lib.teams.geospatial ]; }; -} +})