Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rasterio from 1.3.11 to 1.4.0 in /requirements #2321

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 26, 2024

Bumps rasterio from 1.3.11 to 1.4.0.

Release notes

Sourced from rasterio's releases.

1.4.0

This is the final 1.4.0 release. The package version, credits, and citation file have been updated. There have been no other changes since 1.4.0rc2. Rasterio is the work of 157 contributors, including 33 new contributors since 1.3.0.

Rasterio 1.4 will continue to support classic GIS programming work with a band-based data model.

The changes since 1.3.11 are fully described in the changelog, split across pre-releases. Here is a high-level summary.

Deprecations

  • The statistics() method of a dataset is faulty and will be removed in a future version (#3134).
  • The is_tiled property of a dataset will be removed in a future version and a pending deprecation warning will be raised if it is used (#3015).
  • The is_valid property of the CRS class is not useful and will be removed in a future version (#2919).
  • The FilePath class has been supplanted by rasterio.open's new opener keyword argument and its associated GDAL virtual filesystem plugin. It will be removed in version 2.0 (#2919).

New features

  • New dataset stats(), clear_stats(), and update_stats() methods have been added to replace the deprecated statistics() method (#3134).
  • The merge tool and merge CLI command can create very large output datasets without using more memory than the user chooses (#3022).
  • Errors that GDAL handles internally within GDALDatasetRasterIO() and GDALRasterIO() and WarpAndChunk() are chained together to be visible and accessable from Python (#2526).
  • The new "rio create" command allows creation of new, empty datasets (#3023).
  • Datasets stored in proprietary systems or addressable only through protocols not directly supported by GDAL can be accessed using the new opener keyword argument of rasterio.open() (#2898, #2907).

Other changes:

  • rasterize() better matches the behavior of Numpy array constructors. It no longer reduces the bit width of output, returning either float64 or int64 arrays unless a data type is explicitly selected, and the fill parameter no longer has an effect on the default data type (#3003).
  • Rasterio now vendors and modifies the snuggs module (#2956).
  • Given an empty shapes argument, rasterize() now returns an empty array (#2993).
  • AffineTransformer's bulk transformations have been sped up by replacing a loop with a Numpy ufunc (#2936).

1.4.0rc2

This is the second release candidate for version 1.4. The only change is the removal of lingering conditional checks at compile and run time for GDAL versions < 3.5, across all project modules. For example, in rasterio.dtypes we no longer check for GDAL support of 64-bit integers and work around their absence, we presume that support for 64-bit integers exist.

If you use Rasterio 1.4.0 with GDAL versions < 3.5, you may experience unexpected Python exceptions, and, rarely, undefined behavior. Wheels from PyPI and conda-forge distributions, for example, meet this requirement. Please test your deployments and upgrade Rasterio and GDAL together if you are building rasterio from source.

1.4.0rc1

This is the first release candidate for 1.4.0. There are no API changes or bug fixes since 1.4b2.

1.4.0 will require Python >= 3.9 and GDAL >= 3.5.

Unless showstopper bugs are found in this release candidate, expect a final 1.4.0 release in one week.

1.4b2

Deprecations

  • rasterio.parse_path() was deprecated in version 1.3.0 and has been removed (#2423). The project has raised a deprecation warning on usage of this function for more than two years and has contacted dependent projects to change their usage.

Bug fixes

  • When reprojecting a masked array, we now use the mask (reduced) as an alpha band. There is now also an option to create an alpha band in the output, and turn that into a mask when returning a mask array (#3156).

... (truncated)

Changelog

Sourced from rasterio's changelog.

1.4.0 (2024-09-23)

This is the final 1.4.0 release. The package version, credits, and citation file have been updated. There have been no other changes since 1.4.0rc2. Rasterio is the work of 157 contributors, including 33 new contributors since 1.3.0.

1.4.0rc2 (2024-09-10)

Version 1.4.0 will require GDAL >= 3.5. Conditional checks for older GDAL versions at compile and run time have been removed across the entirety of the project (#3166).

1.4.0rc1 (2024-09-09)

This is the first 1.4.0 release candidate. There have been no changes since 1.4b2.

1.4.0 requires Python >= 3.9 and GDAL >= 3.5.

1.4b2 (2024-08-30)

Bug fixes:

  • When reprojecting a masked array, we now use the mask (reduced) as an alpha band. There is now also an option to create an alpha band in the output, and turn that into a mask when returning a mask array (#3156).
  • Find installed GDAL data directory by searching for gdalvrt.xsd (#3157).
  • Allow rasterio.open() to receive instances of MemoryFile (#3145).
  • Leaks of CSL string lists in get/set_proj_data_search_path() have been fixed (#3140).
  • Color interpretation is correctly set to "palette" after a colormap is written (#3133).

Other changes:

  • _OverviewResampling enum renamed to OverviewResampling (#3151).

1.4b1 (2024-08-10)

Deprecations:

  • The statistics() method of a dataset is faulty and will be removed in version 2.0 (#3134).

... (truncated)

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [rasterio](https://github.com/rasterio/rasterio) from 1.3.11 to 1.4.0.
- [Release notes](https://github.com/rasterio/rasterio/releases)
- [Changelog](https://github.com/rasterio/rasterio/blob/main/CHANGES.txt)
- [Commits](rasterio/rasterio@1.3.11...1.4.0)

---
updated-dependencies:
- dependency-name: rasterio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Packaging and dependencies python Pull requests that update Python code labels Sep 26, 2024
@adamjstewart adamjstewart added this to the 0.6.1 milestone Sep 27, 2024
@adamjstewart
Copy link
Collaborator

rasterio/rasterio#3196

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Packaging and dependencies python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant