Spaces:
Sleeping
Sleeping
Commit
·
5e56615
1
Parent(s):
d229a32
Build: Bump Python version to ^3.10 to resolve streamlit dependency conflict
Browse files- pyproject.toml +3 -3
pyproject.toml
CHANGED
|
@@ -8,7 +8,7 @@ license = "GPL-3.0"
|
|
| 8 |
packages = [{include = "src"}]
|
| 9 |
|
| 10 |
[tool.poetry.dependencies]
|
| 11 |
-
python = "^3.
|
| 12 |
torch = ">=2.0.0"
|
| 13 |
transformers = ">=4.30.0"
|
| 14 |
datasets = ">=2.14.0"
|
|
@@ -52,7 +52,7 @@ build-backend = "poetry.core.masonry.api"
|
|
| 52 |
|
| 53 |
[tool.ruff]
|
| 54 |
line-length = 100
|
| 55 |
-
target-version = "
|
| 56 |
|
| 57 |
[tool.ruff.lint]
|
| 58 |
select = ["E", "F", "I", "B"]
|
|
@@ -69,7 +69,7 @@ testpaths = ["tests"]
|
|
| 69 |
python_files = "test_*.py"
|
| 70 |
|
| 71 |
[tool.mypy]
|
| 72 |
-
python_version = "3.
|
| 73 |
warn_return_any = true
|
| 74 |
warn_unused_configs = true
|
| 75 |
disallow_untyped_defs = false
|
|
|
|
| 8 |
packages = [{include = "src"}]
|
| 9 |
|
| 10 |
[tool.poetry.dependencies]
|
| 11 |
+
python = "^3.10"
|
| 12 |
torch = ">=2.0.0"
|
| 13 |
transformers = ">=4.30.0"
|
| 14 |
datasets = ">=2.14.0"
|
|
|
|
| 52 |
|
| 53 |
[tool.ruff]
|
| 54 |
line-length = 100
|
| 55 |
+
target-version = "py310"
|
| 56 |
|
| 57 |
[tool.ruff.lint]
|
| 58 |
select = ["E", "F", "I", "B"]
|
|
|
|
| 69 |
python_files = "test_*.py"
|
| 70 |
|
| 71 |
[tool.mypy]
|
| 72 |
+
python_version = "3.10"
|
| 73 |
warn_return_any = true
|
| 74 |
warn_unused_configs = true
|
| 75 |
disallow_untyped_defs = false
|