-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpyproject.toml
76 lines (67 loc) · 1.93 KB
/
pyproject.toml
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
[tool.poetry]
name = "GQLAlchemy"
version = "1.7.0"
description = "GQLAlchemy is a library developed to assist with writing and running queries in Memgraph."
repository = "https://github.com/memgraph/gqlalchemy"
authors = [
"Katarina Supe <[email protected]>",
"Andi Skrgat <[email protected]>",
"Josip Mrden <[email protected]>",
]
license = "Apache-2.0"
readme = "README.md"
packages = [{ include = "gqlalchemy" }]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.poetry.dependencies]
python = "^3.9"
pymgclient = "^1.3.1"
networkx = ">=2.5.1,<4.0.0"
pydantic = "^2.3.0"
psutil = ">=5.9,<7.0"
dacite = "^1.6.0"
adlfs = ">=2023.9.0,<2025.0.0"
neo4j = ">=4.4.3,<6.0.0"
numpy = ">=1.26.4, <3.0"
pyarrow = { version = "^18.0.0", optional = true }
torch = { version = "^2.4", optional = true, source = "pytorch-cpu" }
docker = { version = "^6.1.3", optional = true }
[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.poetry.extras]
arrow = ["pyarrow"]
dgl = ["torch", "dgl"]
all = ["pyarrow", "torch", "dgl", "docker"]
torch_pyg = ["torch"]
docker = ["docker"]
[tool.poetry.group.dev.dependencies]
black = ">=22.3.0,<25.0.0"
pytest-black = ">=0.3.12,<0.7.0"
pytest = ">=7.1.1,<9.0.0"
pytest-cov = ">=2.12.0,<4.0.0"
pytest-flake8 = "^1.0.7"
flake8 = "^6.1.0"
pytest-timeout = ">=1.4.2,<3.0.0"
pre-commit = ">=2.15.0,<4.0.0"
[tool.poe.tasks]
install-dgl = "pip install dgl==2.4.0 -f https://data.dgl.ai/wheels/torch-2.4/repo.html --no-build-isolation"
install-pyg-cpu = "pip install 'torch>=2.4.0,<=2.5.0' torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-2.4.0+cpu.html --no-build-isolation"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"