Skip to content

Commit cbaa4e4

Browse files
committed
update dependencies to avoid pydantic breaking changes
1 parent 09926e0 commit cbaa4e4

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ repos:
2929
language_version: python
3030
# No reason to run if only tests have changed. They intentionally break typing.
3131
exclude: tests/.*
32+
additional_dependencies:
33+
- pydantic~=1.0

‎CHANGES.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ 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 recommended to pin `tipg` to minor version: `tipg>=0.1,<0.2`
88

9-
## unreleased
9+
## [0.2.1] - 2023-07-25
1010

1111
### Added
1212

1313
- `type` query parameter to filter collections based on their type (`Function` or `Table`)
1414
- fixed a small bug in the `tipg_properties` SQL function where the bounds property was not properly transformed to 4326 (author @RemcoMeeuwissen, https://github.com/developmentseed/tipg/pull/87)
1515
- added popups to leaflet maps on `items` and `item` page. (author @krishnaglodha & @jackharrhy, https://github.com/developmentseed/tipg/pull/91, https://github.com/developmentseed/tipg/pull/94)
1616

17+
### Changed
18+
19+
- pin `geojson-pydantic` to `>=0.4.3,<1.0` to avoid geojson-pydantic breaking changes
20+
- pin `pydantic` to `~=1.0`
21+
1722
## [0.2.0] - 2023-06-22
1823

1924
### Changed
@@ -43,6 +48,7 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin
4348

4449
- Initial release
4550

46-
[unreleased]: https://github.com/developmentseed/tipg/compare/0.2.0...HEAD
51+
[unreleased]: https://github.com/developmentseed/tipg/compare/0.2.1...HEAD
52+
[0.2.1]: https://github.com/developmentseed/tipg/compare/0.2.0...0.2.1
4753
[0.2.0]: https://github.com/developmentseed/tipg/compare/0.1.0...0.2.0
4854
[0.1.0]: https://github.com/developmentseed/tipg/compare/9ca80c0bd57d8ce57e37c1709e26d1af1559bc1e...0.1.0

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ dependencies = [
2727
"fastapi>=0.95.1",
2828
"jinja2>=2.11.2,<4.0.0",
2929
"morecantile>=4.2,<5.0",
30-
"geojson-pydantic>=0.4.3",
30+
"pydantic~=1.0",
31+
"geojson-pydantic>=0.4.3,<1.0",
3132
"pygeofilter>=0.2.0,<0.3.0",
3233
"ciso8601~=2.3",
3334
"starlette-cramjam>=0.3,<0.4",

0 commit comments

Comments
 (0)