Skip to content

Commit

Permalink
Merge pull request #1716 from cpcloud/pyogrio
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jun 26, 2024
2 parents bbc1ee7 + 2819215 commit 0e52508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2462,7 +2462,9 @@ lib.composeManyExtensions [
);

pyogrio = prev.pyogrio.overridePythonAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ final.versioneer gdal ];
nativeBuildInputs = old.nativeBuildInputs or [ ]
++ [ final.versioneer gdal ]
++ lib.optionals (final.pythonOlder "3.11") [ final.tomli ];
});

pyopencl = prev.pyopencl.overridePythonAttrs (
Expand Down
4 changes: 2 additions & 2 deletions tests/pyogrio/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ poetry2nix, python3, runCommand }:
{ poetry2nix, python310, runCommand }:
let
mkEnv = preferWheel: poetry2nix.mkPoetryEnv {
python = python3;
python = python310;
pyproject = ./pyproject.toml;
poetrylock = ./poetry.lock;
overrides = poetry2nix.overrides.withDefaults (
Expand Down

0 comments on commit 0e52508

Please sign in to comment.