Update Python minumum version to allow new dependencies
Add a manual pin to typing-extensions >= 4.13, as lower versions that might already be installed will break on Python >= 3.14
This commit is contained in:
+3
-2
@@ -7,13 +7,14 @@ license = "CC BY-NC-SA 4.0"
|
|||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.8"
|
python = ">=3.12,<4.0"
|
||||||
pyserial = "^3.5"
|
pyserial = "^3.5"
|
||||||
influxdb-client = {version = "^1.19.0", optional = true, extras = ["influxdb"]}
|
influxdb-client = {version = "^1.19.0", optional = true, extras = ["influxdb"]}
|
||||||
|
typing-extensions = {version = ">=4.13", optional = true, extras = ["influxdb"]}
|
||||||
prometheus-client = {version = "^0.11.0", optional = true, extras = ["prometheus"]}
|
prometheus-client = {version = "^0.11.0", optional = true, extras = ["prometheus"]}
|
||||||
|
|
||||||
[tool.poetry.extras]
|
[tool.poetry.extras]
|
||||||
influxdb = ["influxdb-client"]
|
influxdb = ["influxdb-client", "typing-extensions"]
|
||||||
prometheus = ["prometheus-client"]
|
prometheus = ["prometheus-client"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|||||||
Reference in New Issue
Block a user