python310Packages.rasterio 0 -> 1 attrpath: python310Packages.rasterio Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - python3.10-rasterio-1.3.9 Press Enter key to continue... Running update for: - python3.10-rasterio-1.3.9: UPDATING ... - python3.10-rasterio-1.3.9: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/rasterio/default.nix b/pkgs/development/python-modules/rasterio/default.nix index 0e216ce18508..e9e611cb19bc 100644 --- a/pkgs/development/python-modules/rasterio/default.nix +++ b/pkgs/development/python-modules/rasterio/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pname = "rasterio"; - version = "1.3.9"; + version = "4"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -38,8 +38,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "rasterio"; repo = "rasterio"; - rev = "refs/tags/${version}"; - hash = "sha256-Tp6BSU33FaszrIXQgU0Asb7IMue0C939o/atAKz+3Q4="; + rev = "refs/tags/release-test-${version}"; + hash = "sha256-YO0FnmIEt+88f6k2mdXDSQg7UKq1Swr8wqVUGdRyQR4="; }; patches = [ No auto update branch exists Old version 1.3.9" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , fetchpatch , pytestCheckHook , pythonOlder , stdenv , affine , attrs , boto3 , certifi , click , click-plugins , cligj , cython_3 , gdal , hypothesis , ipython , matplotlib , numpy , oldest-supported-numpy , packaging , pytest-randomly , setuptools , shapely , snuggs , wheel }: buildPythonPackage rec { pname = "rasterio"; version = "4"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "rasterio"; repo = "rasterio"; rev = "refs/tags/release-test-${version}"; hash = "sha256-YO0FnmIEt+88f6k2mdXDSQg7UKq1Swr8wqVUGdRyQR4="; }; patches = [ # fix tests failing with GDAL 3.8.0 (fetchpatch { url = "https://github.com/rasterio/rasterio/commit/54ec554a6d9ee52207ad17dee42cbc51c613f709.diff"; hash = "sha256-Vjt9HRYNAWyj0myMdtSUENbcLjACfzegEClzZb4BxY8="; }) (fetchpatch { url = "https://github.com/rasterio/rasterio/commit/5a72613c58d1482bf297d08cbacf27992f52b2c4.diff"; hash = "sha256-bV6rh3GBmeqq9+Jff2b8/1wOuyF3Iqducu2eN4CT3lM="; }) ]; nativeBuildInputs = [ cython_3 gdal numpy oldest-supported-numpy setuptools wheel ]; propagatedBuildInputs = [ affine attrs certifi click click-plugins cligj numpy setuptools snuggs ]; passthru.optional-dependencies = { ipython = [ ipython ]; plot = [ matplotlib ]; s3 = [ boto3 ]; }; nativeCheckInputs = [ boto3 hypothesis packaging pytestCheckHook pytest-randomly shapely ]; doCheck = true; preCheck = '' rm -r rasterio # prevent importing local rasterio ''; pytestFlagsArray = [ "-m 'not network'" ]; disabledTests = lib.optionals stdenv.isDarwin [ "test_reproject_error_propagation" ]; pythonImportsCheck = [ "rasterio" ]; meta = with lib; { description = "Python package to read and write geospatial raster data"; homepage = "https://rasterio.readthedocs.io/"; changelog = "https://github.com/rasterio/rasterio/blob/${version}/CHANGES.txt"; license = licenses.bsd3; maintainers = teams.geospatial.members; }; }