-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (86 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
92 lines (86 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "tplr"
version = "0.1.0"
description = "Incentivised Internet-Wide Training"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"bittensor==9.1.0",
"bt-decode",
"torch",
"boto3",
"einops",
"aiofiles",
"aiofiles==24.1.0",
"aioboto3==13.2.0",
"transformers",
"pip",
"wandb",
"python-dotenv",
"zstandard",
"s3fs",
"pyarrow",
"scipy",
"rich>=13.0.0",
"lm-eval>=0.4.8",
"psutil>=7.0.0",
"influxdb-client>=1.48.0",
"multiprocessing-logging>=0.3.4",
"python-logging-loki>=0.3.1",
"uvloop>=0.21.0",
"openskill>=6.0.2",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"pytest-asyncio",
"pytest-mock>=3.14.0",
"ipykernel",
"ipython",
"pandas",
"matplotlib",
"seaborn",
"ruff",
"pytest-xdist",
"bittensor-cli",
"pytest-dotenv"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-v -s --capture=no --log-cli-level=INFO"
asyncio_mode = "auto"
markers = [
"asyncio: mark test as async",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
"ignore::pytest_asyncio.plugin.PytestDeprecationWarning",
# Keep other warnings
"default::RuntimeWarning",
"default::UserWarning",
]
[tool.uv]
prerelease = "allow"
[tool.ruff]
# Exclude directories that often trigger permission issues
exclude = [
".git",
"venv",
".venv",
"node_modules",
"build",
"dist",
"__pycache__",
"downloads",
"eggs",
".eggs",
"influxdb_data"
]