-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
26 lines (23 loc) · 859 Bytes
/
pyproject.toml
File metadata and controls
26 lines (23 loc) · 859 Bytes
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
[project]
name = "text-to-code"
version = "0.1.0"
readme = "README.md"
dependencies = [
"lxml>=6.0.2",
"pydantic>=2.12.5",
"sentence-transformers",
# Starting with version 2.2.2, PyTorch stopped publishing wheel binaries for Intel Macs.
# To maintain support for Intel Mac development, we pin PyTorch to version 2.2.2.
# Some 2.2.2 builds were created with numpy 1.x, so we explicitly pin numpy to 1.x
# to ensure compatibility across all hardware.
# Once Intel Mac support is no longer needed, we can remove these pinned torch and numpy
# versions and rely on spacy and sentence-transformers to manage their own dependencies.
"torch==2.9.1",
]
[dependency-groups]
dev = ["types-lxml>=2026.2.16"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/text_to_code"]