Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ keywords = ["api", "graphql", "protocol", "rest", "relay", "graphene", "pydantic
python = "^3.6"
# To keep things simple, we only support newer versions of Graphene & Pydantic
graphene = ">=2.1.3,<3"
pydantic = ">=0.26,<=1.3"
pydantic = ">=0.26,<=1.4"

[tool.poetry.dev-dependencies]
pytest = "~4.6.4"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_unknown():
with pytest.raises(ConversionError) as exc:
_convert_field_from_spec("attr", (create_model("Model", size=int), None))
assert "Don't know how to convert" in exc.value.args[0]
if pydantic.version.VERSION < pydantic.version.StrictVersion("1.0"):
if pydantic.version.VERSION < "1.0":
assert "Field(attr type=Model default=None)" in exc.value.args[0]
else:
# this worked at least as of 1.1
Expand Down