mapchete icon indicating copy to clipboard operation
mapchete copied to clipboard

Update rasterio requirement from <1.3.0,>=1.0.28 to >=1.0.28,<1.4.0

Open dependabot[bot] opened this issue 3 years ago • 1 comments

Updates the requirements on rasterio to permit the latest version.

Release notes

Sourced from rasterio's releases.

1.3.0

Rasterio 1.3.0 has new features, deprecations, and many bug fixes. It supports Python versions 3.8+ and GDAL versions 3.1+. Please see https://github.com/rasterio/rasterio/blob/master/CHANGES.txt for a fine grain description of changes since 1.2.10. Major changes and deprecations are listed below.

Packaging

  • Building from source now requires Cython (#2016).
  • PyPI wheels include GDAL 3.5.0 and PROJ 9.0.0.

Deprecations:

  • The rasterio.path module has been moved to rasterio._path and all its member made private (#2423). A new version of rasterio.path temporarily provides aliases to maintain compatibility.

New features:

  • A dataset's write method now accepts Numpy masked arrays and has a "masked" keyword argument. In this case, if masked is False, the masked array's filled method is called with the dataset's nodata value or else the masked array's fill value. If the masked argument is True, the dataset's write_mask method is called.
  • Datasets have a new statistics method that computes the minimum, maximum, mean, and standard deviation of a raster band's data, matching the output of gdalinfo (#2441).
  • The rio-warp CLI command now takes --wo (--warper-option) and --to (--transformer-option) options, allowing the use of PROJ coordinate transformation pipelines like "--to coordinate_operation=proj=pipeline" (#2438).
  • Python file objects and file-like objects from, for example, fsspec are adapted for opening to get a dataset without copying file data to a MemoryFile (#2141).
  • Added support for PROJ JSON based interchange for CRS (#2212).
  • More efficient window intersection and union (#2164).
  • New Affine, GCP, and RFC transformer classes (#2225).
Changelog

Sourced from rasterio's changelog.

1.3.0 (2022-07-05)

Bug fixes:

  • Temporarily restore rasterio.parse_path (wrapper with a warning).
  • In 1.3b3, rasterio.dtypes.uint64 mapped to 'uint32'. Now it correctly maps to 'uint64' (reported in #2502).

1.3b3 (2022-06-27)

Bug fixes:

  • A bottleneck in construction of non-EPSG CRS objects has been fixed (#2488).
  • The last runtime checks for GDAL version 3.1+ have been removed (#2463).

1.3b2 (2022-06-22)

Changes:

  • The merge tool has new "sum" and "count" merge methods (#2457).

Bug fixes:

  • Some GDAL methods may set a failure level error while also succeeding, according to their return value. We now ensure that callers of these methods can clear any leftover errors (#2487).

Linux and macOS wheels for 1.3b1 are built using the version of rasterio-wheels dated 2022-06-21.

1.3b1 (2022-05-10)

New features:

  • A dataset's write method now accepts Numpy masked arrays and has a "masked" keyword argument. In this case, if masked is False, the masked array's filled method is called with the dataset's nodata value or else the masked array's fill value. If the masked argument is True, the dataset's write_mask method is called.

Changes:

  • Various decorators requiring a GDAL version of 2+ have been deleted. Rasterio now absolutely requires GDAL 3.1+ (#2452).

Packaging:

... (truncated)

Commits
  • 525986c Note parse_path alias
  • 5d5d946 Temporarily restore rasterio.parse_path
  • 08413a6 Merge branch 'master' of github.com:rasterio/rasterio
  • 10dac47 Update change log and version, this is 1.3.0.
  • e592bd4 MNT: Fix failing conda tests on master (#2504)
  • 31adeed Fix mapping of rasterio.uint64 to 'uint64'
  • d761b0e This is 1.3b3
  • d0ba302 REF: Replace usage of _osr_from_crs with CRS.from_user_input (#2488)
  • 3b325ce MNT: Remove GDAL 3.1 compatibility checks (#2463)
  • c8398d4 Merge pull request #2477 from ryanjdillon/ryanjdillon/plot.show/matplotlib-links
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar Jul 11 '22 19:07 dependabot[bot]

Coverage Status

Coverage decreased (-0.02%) to 99.981% when pulling 63e4202433128bd5d697135b70448f0df49fbb0b on bbecdependabot/pip/rasterio-gte-1.0.28-and-lt-1.4.0 into 23e95c66498575a9fb90dbde4bfd4866b0b12077 on master.

coveralls avatar Jul 12 '22 07:07 coveralls

A newer version of rasterio exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

dependabot[bot] avatar Aug 11 '22 19:08 dependabot[bot]

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

dependabot[bot] avatar Sep 16 '22 08:09 dependabot[bot]