Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
csinko authored Sep 3, 2024
2 parents 0b0e6e3 + 7bd341a commit 1ea461e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
7 changes: 6 additions & 1 deletion overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ lib.composeManyExtensions [

gdal = prev.gdal.overridePythonAttrs (
old: {
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ gdal ];
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ gdal final.numpy ];
preBuild = (old.preBuild or "") + ''
substituteInPlace setup.cfg \
--replace "../../apps/gdal-config" '${gdal}/bin/gdal-config'
Expand Down Expand Up @@ -1647,6 +1647,11 @@ lib.composeManyExtensions [
}
);

msgspec = prev.msgspec.overridePythonAttrs (old: {
# crash during integer serialization - see https://github.com/jcrist/msgspec/issues/730
hardeningDisable = old.hardeningDisable or [] ++ [ "fortify" ];
});

munch = prev.munch.overridePythonAttrs (
old: {
# Latest version of pypi imports pkg_resources at runtime, so setuptools is needed at runtime. :(
Expand Down
19 changes: 9 additions & 10 deletions tests/gdal/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/gdal/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "~3.9"
gdal = "*"
gdal = "3.9.0"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit 1ea461e

Please sign in to comment.