Skip to content

Commit 4454a9e

Browse files
authored
Update signatures for pystac v1.8 (#559)
* deps: pre-commit autoupdate * deps: ceil vcrpy, bump pystac * fix: update get_items for pystac v1.8 * fix: remove troublesome notebook
1 parent 608d9db commit 4454a9e

File tree

8 files changed

+3342
-480
lines changed

8 files changed

+3342
-480
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
repos:
55
- repo: https://github.com/charliermarsh/ruff-pre-commit
6-
rev: 'v0.0.257'
6+
rev: "v0.0.278"
77
hooks:
8-
- id: ruff
9-
args: [--fix, --exit-non-zero-on-fix]
8+
- id: ruff
9+
args: [--fix, --exit-non-zero-on-fix]
1010
- repo: https://github.com/psf/black
11-
rev: 22.12.0
11+
rev: 23.7.0
1212
hooks:
1313
- id: black
1414
- repo: https://github.com/codespell-project/codespell
15-
rev: v2.2.2
15+
rev: v2.2.5
1616
hooks:
1717
- id: codespell
1818
args: [--ignore-words=.codespellignore]
@@ -25,7 +25,7 @@ repos:
2525
additional_dependencies:
2626
- importlib_metadata < 5; python_version == "3.7"
2727
- repo: https://github.com/pre-commit/mirrors-mypy
28-
rev: v0.991
28+
rev: v1.4.1
2929
hooks:
3030
- id: mypy
3131
files: ".*\\.py$"

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Updated `get_items` signatures for PySTAC v1.8 [#559](https://github.com/stac-utils/pystac-client/pull/559)
13+
1014
## [v0.7.2] - 2023-06-23
1115

1216
### Fixed

docs/tutorials.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ PySTAC-Client Introduction
1111

1212
This tutorial gives an introduction to using pystac-client with a STAC API
1313

14-
STAC Metadata Visualization
15-
---------------------------
16-
17-
- :tutorial:`GitHub version <stac-metadata-viz.ipynb>`
18-
19-
This tutorial gives an introduction to using Holeviews and hvplot to visualize
20-
STAC metadata and Item geometries on a map.
21-
2214
CQL2 Filtering
2315
---------------------------
2416

docs/tutorials/stac-metadata-viz.ipynb

Lines changed: 0 additions & 300 deletions
This file was deleted.

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828
requires-python = ">=3.8"
2929
dependencies = [
3030
"requests>=2.28.2",
31-
"pystac[validation]>=1.7.2",
31+
"pystac[validation]>=1.8.2",
3232
"python-dateutil>=2.8.2",
3333
]
3434
dynamic = ["version"]
@@ -57,7 +57,11 @@ dev = [
5757
"tomli~=2.0; python_version<'3.11'",
5858
"types-python-dateutil~=2.8.19",
5959
"types-requests~=2.31.0",
60-
"urllib3<2", # temporary pin https://github.com/stac-utils/pystac-client/issues/509
60+
# temporary pin https://github.com/stac-utils/pystac-client/issues/509
61+
"urllib3<2",
62+
# pytest-recording breakage with v5.0.0, need release of
63+
# https://github.com/kiwicom/pytest-recording/pull/110 to remove this ceil
64+
"vcrpy<5",
6165
]
6266
docs = [
6367
"Sphinx~=6.2",

0 commit comments

Comments
 (0)