Skip to content

Commit

Permalink
Lower pydantic and typing-extensions dependencies, as newest not requ…
Browse files Browse the repository at this point in the history
…ired
  • Loading branch information
simw committed Nov 2, 2023
1 parent c2f5cd9 commit eea7bfe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ test-dep-versions: prepare
poetry run pip install pyarrow==14.0.0
poetry run python -m pytest

poetry run pip install pydantic==2.0
poetry run python -m pytest


.PHONY: clean
clean:
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ packages = [{include = "pydantic_to_pyarrow", from = "src"}]

[tool.poetry.dependencies]
python = "^3.8"
pydantic = "^2.4.2"
pydantic = "^2.0"
pyarrow = [
{ version = ">=13.0.0,<15.0.0", python = "<3.12" },
{ version = ">=14.0.0,<15.0.0", python = ">=3.12,<3.13" },
Expand All @@ -45,7 +45,8 @@ numpy = [
{ version = "<1.25.0", python = "<3.9" },
{ version = "^1.26.0", python = ">=3.12,<3.13" }
]
typing-extensions = "^4.8.0"
# pydantic 2.x requires 4.6.1, so no point going lower
typing-extensions = "^4.6.1"


[tool.poetry.group.lint.dependencies]
Expand Down

0 comments on commit eea7bfe

Please sign in to comment.