3978 Commits

Author SHA1 Message Date
Bas Couwenberg
51175d3e15
Vendor click-plugins, PyPI package no longer maintained. (#3367) 2025-12-06 08:17:28 -06:00
Alan D. Snow
5872925140 CI: Remove duplicate DGDAL_USE_PCRE2 config option (#3447) 2025-12-05 16:01:08 -06:00
Alan D. Snow
385a2dbff2
BUG: Remove importlib_metatada import (#3445) 2025-12-05 12:06:43 -06:00
Adam J. Stewart
0433b47c08
Add missing test dependencies (#3434)
Signed-off-by: Adam J. Stewart <ajstewart426@gmail.com>
2025-12-05 11:43:40 -06:00
Alan D. Snow
e8041913a9 CI: Update publish workflow (#3439)
* DEP: WHeels contain GDAL 3.10.3 & PROJ 9.7.1

* CI: macos deployment target 15 for intel

* CI: Use trusted publishing for pypi
2025-12-05 11:35:58 -06:00
Alan D. Snow
90375aa99a TST: ensure datasets closed (#3444) 2025-12-05 11:35:39 -06:00
Sylvester
aab9e46f99 Try to avoid dataset left open (#3443)
May fix random test failures with Python 3.14t
2025-12-05 11:35:29 -06:00
Sylvester
9b8908d533 Build wheels with CIBW (#3381) 2025-12-05 11:35:08 -06:00
Alan D. Snow
9880c5c40f
DEP: Python 3.10+ & GDAL 3.6+ (#3440) 2025-12-05 08:47:04 -06:00
dependabot[bot]
e8d7e445f8
Bump actions/checkout from 5 to 6 (#3431)
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-29 07:14:40 -06:00
Alan D. Snow
725b49507e
REGR: Fix compression for YCbCr JPEG (#3426) 2025-11-06 15:41:47 -06:00
Alan D. Snow
648599b65d
ENH: Enable free threading python & support Python 3.14 (#3425)
* CI: Python 3.14

* ENH: Enable free threading python
2025-11-06 14:37:41 -06:00
Alan D. Snow
3b06aee018
CI: macos 13 -> 15-intel (#3424) 2025-11-06 13:43:06 -06:00
Elliott Sales de Andrade
6f1f1ed0e2
TST: Fix test fixture for test_reproject_error_propagation (#3360)
Pickling the HTTP server requires the 'fork' multiprocessing context,
and in some places, `HTTPServer.server_name` returns something that
doesn't work with curl. So force the 'fork' mode, and use
`HTTPServer.server_address` instead.

Also, remove the `network` marker, as it does nothing for fixtures and
isn't required since that marker signifies _external_ networking.
2025-11-06 13:19:42 -06:00
Scott Staniewicz
497b86340b
Fix RasterioDeprecationWarning for rio info (#3380)
Use the suggested `.stats` instead of deprecated `.statistics`

Closes #3379
2025-11-06 13:13:41 -06:00
Ryan Grout
83190131a5
Make sure blocksizes are ints before using them. (#3390) 2025-11-06 13:12:01 -06:00
Elliott Sales de Andrade
ef60803ab8
Fix geojson_type click option implementation (#3391)
According to several issues upstream (e.g., [1], [2]), creating multiple
options that save to the same destination is not documented or
supported. Somewhere in 8.2.x, this also broke, as it depended on
evaluation order in some way.

Instead, save the options to different name, and use a callback function
on all of them to verify that the result is exclusive, and follows the
default.

[1] https://github.com/pallets/click/issues/1688#issuecomment-707918832
[2] https://github.com/pallets/click/issues/2321#issuecomment-1184398784
2025-11-06 13:10:48 -06:00
dependabot[bot]
2bb1424b56
Bump actions/upload-artifact from 3 to 5 (#3422)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-06 13:08:15 -06:00
dependabot[bot]
259f2304c6
Bump actions/download-artifact from 5 to 6 (#3421)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-06 13:06:05 -06:00
Elliott Sales de Andrade
556461cd2e
Remove default=False for flag_value of str type (#3392)
According to click upstream [1], `default=False` was not supported with
`flag_value='some string'`. Omitting the argument will keep it `None`,
which should be about the same as `False`, mostly.

[1] https://github.com/pallets/click/issues/3054#issuecomment-3243872056
2025-09-25 20:25:45 -05:00
Peter A. Jonsson
07a5589955
DOC: warp.py: fix typo in doc string (#3409)
The rest of the documentation uses
ndarray to refer to ndarrays, so update
this doc string to also do so.
2025-09-20 08:39:05 -05:00
Nathan McDougall
f16bcc3d89
DOC: Fix capitalization in docstring in warp.py (#3407) 2025-09-15 19:13:53 -05:00
Alan D. Snow
71adb6aa7e
CI:test: Remove geos pin (#3405) 2025-09-11 16:00:08 -05:00
Alan D. Snow
4ceedbf4d8
TST:test_warpedvrt_gcps__width_height updated for GDAL 3.11 GPC_HOMOGRAPHY (#3404) 2025-09-11 15:46:50 -05:00
Alan D. Snow
1e42c03023
CI: Update Python & GDAL versions (#3402) 2025-09-11 15:27:42 -05:00
Alan D. Snow
355ad85ff2
TST: Change nearest neighbor warp expectations for GDAL 3.11 (#3400) 2025-09-11 15:08:19 -05:00
Alan D. Snow
0d0b77b0c5
Merge pull request #3398 from snowman2/window_errors
BUG: Ensure consistent error for invalid tile sizes
2025-09-11 14:38:49 -05:00
Elliott Sales de Andrade
a6bfd47fa5 tiff: Ensure consistent error for invalid tile sizes
GDAL 3.12 now has a more specific error for incorrect tile size [1], but
for backwards compatibility, catch that and raise the same one that used
to be raised.

[1] https://github.com/OSGeo/gdal/pull/12679
2025-09-11 14:12:55 -05:00
Alan D. Snow
c6f5db5411
Merge pull request #3397
CI: Add GDAL 3.10 and 3.11 jobs
2025-09-11 14:11:40 -05:00
Elliott Sales de Andrade
98d2a5fe4c ci: Add GDAL 3.10 and 3.11 jobs 2025-09-11 14:08:16 -05:00
Elliott Sales de Andrade
347a97e625
Set INIT_DEST to 0 instead of NO_DATA if it's unset (#3389)
This matches behaviour in GDAL < 3.11 and _intended_ behaviour in 3.11
(which was supposed to warn about this, but still actually fails.)
2025-09-08 16:39:19 -05:00
dependabot[bot]
d53df64f3e
Bump actions/download-artifact from 3 to 5 (#3378)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 13:24:46 -05:00
dependabot[bot]
c94af3206c
Bump actions/setup-python from 5 to 6 (#3396)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 13:24:01 -05:00
Jefferson Silvério
87255a2e54
Update sieve() docs (Issue #3383) (#3384)
* fix: remove float32 from _sieve docstring.

* doc: remove float32 from sieve
2025-09-08 09:35:17 -05:00
Adam J. Stewart
addfeda0a8
Docs: remove blank rio options docs (#3348)
* Docs: remove rio options documentation

* Add rio options docs

* Simpler documentation structure

* Try to add header

* Change maxdepth

* Change maxdepth

* Change maxdepth

* Back to original PR
2025-09-06 20:55:13 -05:00
Adam J. Stewart
b82c6a346d
rasterio.coords.BoundingBox: fix attribute docs (#3351)
* rasterio.coords.BoundingBox: fix attribute docs

* Add comment
2025-09-06 20:49:29 -05:00
Adam J. Stewart
e2b32df87e
rasterio.enums.Resampling: fix enum docs (#3352)
* rasterio.enums.Resampling: fix enum docs

* Fix enum name

* Inline documentation
2025-09-06 20:48:37 -05:00
dependabot[bot]
0e808c3d76
Bump actions/checkout from 4 to 5 (#3377)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-06 20:46:52 -05:00
Elliott Sales de Andrade
0b1c39eba7
BLD: Avoid click 8.2.* (#3393)
Due to pallets/click#2939, input from a file is broken. This should be
fixed by pallets/click#2940, which is scheduled to be in click 8.3.0.
2025-09-06 20:32:23 -05:00
Giacomo Caria
95f1f5fb55
add missing docstring methods (#3368)
Co-authored-by: Giacomo Caria <giacomo@chloris.earth>
2025-07-05 12:31:18 -06:00
Adam J. Stewart
0e78687d17
Docs: remove documentation of hidden modules (#3350) 2025-06-05 06:48:51 -05:00
Adam J. Stewart
4cd7af046d
rasterio.merge: rasterio.bool_ is not an rst link (#3345) 2025-05-20 10:28:53 -06:00
Adam J. Stewart
7f0036dfeb
rasterio.plot: fix parameters section title (#3346) 2025-05-20 07:13:05 -05:00
Adam J. Stewart
7764245339
Docs: remove docs for rasterio._loading (#3344) 2025-05-20 07:11:48 -05:00
Adam J. Stewart
03a7097ea1
rasterio.merge.merge: fix formatting of pre-defined method docs (#3340) 2025-05-20 07:10:34 -05:00
Adam J. Stewart
9f04798634
Docs: fix .. note:: directive (#3347) 2025-05-20 07:06:16 -05:00
Adam J. Stewart
cd4e86fc1e
Docs: asterisk does not always mean italics (#3349) 2025-05-20 07:04:57 -05:00
Adam J. Stewart
1534d07450
Docs: update conf.py with modern Sphinx syntax (#3343) 2025-05-19 17:28:57 -06:00
Adam J. Stewart
c3f03c77d2
CI: fix RTD build (#3342) 2025-05-19 18:19:08 -05:00
tveness
09acc0cab4
Update example with correct pixel ordering (#3337) 2025-05-09 14:50:03 -06:00