Skip to content

Commit 5695b5b

Browse files
jrmcgaha-devLance-Drane
authored andcommitted
make eval_type_backport an optional dependency
1 parent ef2b56e commit 5695b5b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,14 @@ dependencies = [
3232
"paho-mqtt>=1.6.1,<2.0.0",
3333
"minio>=7.2.3",
3434
"jsonschema[format-nongpl]>=4.21.1", # extras necessary for enforcing formats
35+
"eval-type-backport>=0.1.3;python_version<'3.10'", # make pydantic work with newer syntax and older python
3536
#"brotli>=1.1.0", # TODO - add this dependency when we add compression
3637
]
3738

3839
[project.optional-dependencies]
3940
amqp = [
4041
"pika>=1.3.2,<2.0.0",
4142
]
42-
# if running Python 3.8, you'll need this dependency if you want runtime eval types, i.e.
43-
# Literal[tuple(some_dict.keys())]
44-
py38 = [
45-
"eval-type-backport>=0.1.3",
46-
]
4743
docs = [
4844
"sphinx>=5.3.0",
4945
"furo>=2023.3.27",

0 commit comments

Comments
 (0)