Skip to content

Commit f156f8f

Browse files
committed
remove support for pydantic 1
1 parent bc3594f commit f156f8f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ gen-examples:
105105

106106
gen-project: $(PYMODEL)
107107
$(RUN) gen-project ${GEN_PARGS} -d $(DEST) $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)
108-
$(RUN) gen-pydantic --pydantic_version 1 src/translator_testing_model/schema/translator_testing_model.yaml > $(PYMODEL)/pydanticmodel.py
109108
$(RUN) gen-pydantic --pydantic_version 2 src/translator_testing_model/schema/translator_testing_model.yaml > $(PYMODEL)/pydanticmodel_v2.py
110109

111110

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "translator_testing_model"
3-
version = "0.0.0"
3+
version = "0.2.4.post10.dev0+bc3594f"
44
description = "This is the project description."
55
authors = ["Sierra Moxon <sierra.taylor@gmail.com>", "Richard Bruskiewich <richard.bruskiewich@delphinai.com>"]
66
license = "MIT"
@@ -22,7 +22,7 @@ pydantic = "^1.10.13"
2222
bmt = "^1.2.1"
2323

2424
[tool.poetry-dynamic-versioning]
25-
enable = true
25+
enable = false
2626
vcs = "git"
2727
style = "pep440"
2828

0 commit comments

Comments
 (0)