File tree 5 files changed +15
-4
lines changed
5 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
fail-fast : false
20
20
matrix :
21
21
python-version :
22
- - " 3.8"
23
22
- " 3.9"
24
23
- " 3.10"
25
24
- " 3.11"
25
+ - " 3.12"
26
26
os :
27
27
- ubuntu-latest
28
28
- windows-latest
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Changed
11
+
12
+ - Updated to ** pystac** v1.10.0 [ #661 ] ( https://github.com/stac-utils/pystac-client/pull/661 )
13
+
10
14
## [ v0.7.6]
11
15
12
16
### Fixed
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ license = { text = "Apache-2.0" }
12
12
classifiers = [
13
13
" Programming Language :: Python" ,
14
14
" Programming Language :: Python :: 3" ,
15
- " Programming Language :: Python :: 3.8" ,
16
15
" Programming Language :: Python :: 3.9" ,
17
16
" Programming Language :: Python :: 3.10" ,
18
17
" Programming Language :: Python :: 3.11" ,
18
+ " Programming Language :: Python :: 3.12" ,
19
19
" Operating System :: OS Independent" ,
20
20
" Natural Language :: English" ,
21
21
" Development Status :: 4 - Beta" ,
@@ -28,7 +28,7 @@ classifiers = [
28
28
requires-python = " >=3.8"
29
29
dependencies = [
30
30
" requests>=2.28.2" ,
31
- " pystac[validation]>=1.8.2 " ,
31
+ " pystac[validation]>=1.10.0 " ,
32
32
" python-dateutil>=2.8.2" ,
33
33
]
34
34
dynamic = [" version" ]
Original file line number Diff line number Diff line change 17
17
import pystac .utils
18
18
import pystac .validation
19
19
from pystac import CatalogType , Collection
20
+ from pystac .layout import HrefLayoutStrategy
20
21
from requests import Request
21
22
22
23
from pystac_client ._utils import Modifiable , call_modifier
@@ -71,6 +72,7 @@ def __init__(
71
72
extra_fields : Optional [Dict [str , Any ]] = None ,
72
73
href : Optional [str ] = None ,
73
74
catalog_type : CatalogType = CatalogType .ABSOLUTE_PUBLISHED ,
75
+ strategy : Optional [HrefLayoutStrategy ] = None ,
74
76
* ,
75
77
modifier : Optional [Callable [[Modifiable ], None ]] = None ,
76
78
** kwargs : Dict [str , Any ],
@@ -83,6 +85,7 @@ def __init__(
83
85
extra_fields = extra_fields ,
84
86
href = href ,
85
87
catalog_type = catalog_type ,
88
+ strategy = strategy ,
86
89
** kwargs ,
87
90
)
88
91
self .modifier = modifier
Original file line number Diff line number Diff line change 14
14
)
15
15
16
16
import pystac
17
+ import pystac .layout
17
18
18
19
from pystac_client ._utils import Modifiable , call_modifier
19
20
from pystac_client .conformance import ConformanceClasses
@@ -47,11 +48,12 @@ def __init__(
47
48
keywords : Optional [List [str ]] = None ,
48
49
providers : Optional [List [pystac .Provider ]] = None ,
49
50
summaries : Optional [pystac .Summaries ] = None ,
51
+ assets : Optional [Dict [str , pystac .Asset ]] = None ,
52
+ strategy : Optional [pystac .layout .HrefLayoutStrategy ] = None ,
50
53
* ,
51
54
modifier : Optional [Callable [[Modifiable ], None ]] = None ,
52
55
** kwargs : Dict [str , Any ],
53
56
):
54
- # TODO(pystac==1.6.0): Add `assets` as a regular keyword
55
57
super ().__init__ (
56
58
id ,
57
59
description ,
@@ -65,6 +67,8 @@ def __init__(
65
67
keywords ,
66
68
providers ,
67
69
summaries ,
70
+ assets ,
71
+ strategy ,
68
72
** kwargs ,
69
73
)
70
74
# error: Cannot assign to a method [assignment]
You can’t perform that action at this time.
0 commit comments