aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-29 13:10:09 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-29 13:10:09 -0500
commit537967dc5a2101ae54c4b161cf8ef1abeaa499e6 (patch)
tree557a072935981cb66111fa85cc2523cfd4542a43
parentaef8413dd4eb06bd9b59297a230309eda15a5450 (diff)
downloadqolab-537967dc5a2101ae54c4b161cf8ef1abeaa499e6.tar.gz
qolab-537967dc5a2101ae54c4b161cf8ef1abeaa499e6.zip
generalize starlette dependence
debian 11.2 bullseye has 'typing_extensions' version which are incompatible with 'starlette' version > 0.17.1. Good news that 'typing_extensions' are not needed for python 3.10 and above, so we should be able to use a newer version of starlette there
-rw-r--r--pyproject.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 8c74606..af1da7e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -15,7 +15,8 @@ requires = [
"scipy >=1.6.0",
"pyyaml >=5.3.1",
"justpy >= 0.2.3",
- "starlette == 0.17.1",
+ "starlette == 0.17.1; python_version <= '3.9'",
+ "starlette >= 0.17.1; python_version > '3.9'",
"universal_tsdb >=0.1.1",
"cachetools >=5.0.0",
]