Skip to content

Commit dda8529

Browse files
authored
fix pydantic setup, v3.8.1 (#255)
- Fixed the pydantic extra dependency in setup.py to properly install stac-pydantic when using `pip install stac-validator[pydantic]`
1 parent 446f929 commit dda8529

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)
66

77
## [Unreleased]
88

9+
## [v3.8.1] - 2025-06-04
10+
11+
### Fixed
12+
- Fixed the pydantic extra dependency in setup.py to properly install stac-pydantic when using `pip install stac-validator[pydantic]` [#254](https://github.com/stac-utils/stac-validator/pull/254)
13+
914
## [v3.8.0] - 2025-06-03
1015

1116
### Added
@@ -251,7 +256,8 @@ The format is (loosely) based on [Keep a Changelog](http://keepachangelog.com/)
251256
- With the newest version - 1.0.0-beta.2 - items will run through jsonchema validation before the PySTAC validation. The reason for this is that jsonschema will give more informative error messages. This should be addressed better in the future. This is not the case with the --recursive option as time can be a concern here with larger collections.
252257
- Logging. Various additions were made here depending on the options selected. This was done to help assist people to update their STAC collections.
253258

254-
[Unreleased]: https://github.com/sparkgeo/stac-validator/compare/v3.8.0..main
259+
[Unreleased]: https://github.com/sparkgeo/stac-validator/compare/v3.8.1..main
260+
[v3.8.1]: https://github.com/sparkgeo/stac-validator/compare/v3.8.0..v3.8.1
255261
[v3.8.0]: https://github.com/sparkgeo/stac-validator/compare/v3.7.0..v3.8.0
256262
[v3.7.0]: https://github.com/sparkgeo/stac-validator/compare/v3.6.0..v3.7.0
257263
[v3.6.0]: https://github.com/sparkgeo/stac-validator/compare/v3.5.0..v3.6.0

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from setuptools import setup
44

5-
__version__ = "3.8.0"
5+
__version__ = "3.8.1"
66

77
with open("README.md", "r") as fh:
88
long_description = fh.read()
@@ -29,7 +29,6 @@
2929
"requests>=2.32.3",
3030
"jsonschema>=4.23.0",
3131
"click>=8.1.8",
32-
"stac-pydantic>=3.3.0",
3332
"referencing>=0.35.1",
3433
"pyYAML>=6.0.1",
3534
],
@@ -39,6 +38,9 @@
3938
"requests-mock",
4039
"types-setuptools",
4140
],
41+
"pydantic": [
42+
"stac-pydantic>=3.3.0",
43+
],
4244
},
4345
packages=["stac_validator"],
4446
entry_points={

0 commit comments

Comments
 (0)