# Python dependencies required for CI unit tests
# Aligned with PyTorch upstream .ci/docker/requirements-ci.txt (CUDA 13.0 / py3.10 / jammy)
# Note: torch-dependent packages (torchvision, torch_geometric, torch-scatter)
#       are in requirements-post.txt, installed after PyTorch is built.

# Core test frameworks
pytest==7.3.2
pytest-xdist==3.3.1
pytest-flakefinder==1.1.0
pytest-rerunfailures>=10.3
pytest-subtests==0.13.1
pytest-cpp==2.3.0
xdoctest==1.3.0
hypothesis==6.56.4
expecttest==0.3.0
parameterized==0.8.1
unittest-xml-reporting<=3.2.0,>=2.0.0

# Type checking
mypy==1.16.0

# Core scientific
numpy==1.23.2
scipy==1.10.1
opt-einsum==3.3
sympy==1.13.3
networkx==2.8.8

# Data & serialization
pillow==12.2.0
protobuf==6.33.5
dill==0.3.7
flatbuffers==24.12.23
lxml==5.3.0

# ONNX
onnx==1.21.0
onnx-ir==0.1.16
onnxruntime==1.23.1
onnxscript==0.6.2

# ML / data processing
jinja2==3.1.6
filelock==3.20.3
optree==0.13.0
ml-dtypes==0.5.1
transformers==4.40.0

# Image / audio / ML
scikit-image==0.22.0
librosa==0.10.2
numba==0.57.1
tensorboard==2.13.0
pywavelets==1.4.1

# Utilities
tabulate==0.9.0
psutil
fsspec>=0.8.5
packaging==24.2
pyyaml==6.0.3
typing-extensions==4.15.0
requests==2.32.0
beartype==0.17.0
attrs
decorator
importlib_metadata
pybind11==3.0.1
tqdm>=4.66.0
click
pygments==2.20.0

# Build tools (for C++ extension tests)
cmake==3.31.6
ninja==1.13.0
build==1.3.0
pip==26.0.1
setuptools==78.1.1
pyzstd
six
wheel

# Solver / optimization
z3-solver==4.15.1.0
pulp==2.9.0

# Test utilities
coverage
junitparser==2.1.1
lark==0.12.0
pytest-timeout==2.3.1
tlparse==0.4.0

# Infrastructure
boto3==1.35.42
PyGithub==2.3.0
redis>=4.0.0
aiohttp==3.13.4
dataclasses_json==0.6.7

# torch-npu extras
zstandard==0.25.0
