Skip to content

Commit b457030

Browse files
Merge pull request #129 from developmentseed/pydanticV1
limit pydantic requirement to 1.0
2 parents e3e7640 + f283817 commit b457030

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ repos:
3030
# No reason to run if only tests have changed. They intentionally break typing.
3131
exclude: tests/.*
3232
additional_dependencies:
33-
- pydantic
33+
- pydantic~=1.0

CHANGELOG.md

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

77
Note: Minor version `0.X.0` update might break the API, It's recommanded to pin geojson-pydantic to minor version: `geojson-pydantic>=0.6,<0.7`
88

9+
## [0.6.3] - 2023-07-02
10+
11+
* limit pydantic requirement to `~=1.0``
912

1013
## [0.6.2] - 2023-05-16
1114

@@ -286,7 +289,8 @@ Although the type file was added in `0.2.0` it wasn't included in the distribute
286289
### Added
287290
- Initial Release
288291

289-
[unreleased]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.2...HEAD
292+
[unreleased]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.3...HEAD
293+
[0.6.3]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.2...0.6.3
290294
[0.6.2]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.1...0.6.2
291295
[0.6.1]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.0...0.6.1
292296
[0.6.0]: https://github.com/developmentseed/geojson-pydantic/compare/0.6.0a0...0.6.0

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
"Typing :: Typed",
2121
]
2222
dynamic = ["version"]
23-
dependencies = ["pydantic"]
23+
dependencies = ["pydantic~=1.0"]
2424

2525
[project.optional-dependencies]
2626
test = ["pytest", "pytest-cov", "shapely"]
@@ -67,7 +67,6 @@ plugins = ["pydantic.mypy"]
6767
disallow_untyped_calls = true
6868
disallow_untyped_defs = true
6969
disallow_incomplete_defs = true
70-
warn_untyped_fields = true
7170
warn_redundant_casts = true
7271
warn_unused_ignores = true
7372
no_implicit_optional = true

0 commit comments

Comments
 (0)