From 39f1df1e929721e0825b0c60e546acdc2015e74f Mon Sep 17 00:00:00 2001 From: Vatsal Omar Date: Tue, 2 Dec 2025 18:03:42 +0530 Subject: [PATCH] [Dependencies] Add version constraints to GNN requirements.txt - Add version pinning to ensure reproducible builds - Include all missing dependencies (numpy, pandas, scikit-learn, scipy, tqdm) - Use compatible version ranges (>=X.Y.0,<(X+1).0.0) - Add comments to organize dependencies by category This fixes the issue where different users would get different package versions, leading to potential API incompatibilities and 'works on my machine' problems. --- .../Scripts/requirements.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/GNNs/GNN_for_momentum_estimation_Vishak_K_Bhat/Scripts/requirements.txt b/GNNs/GNN_for_momentum_estimation_Vishak_K_Bhat/Scripts/requirements.txt index 779e5cd..7f419b7 100644 --- a/GNNs/GNN_for_momentum_estimation_Vishak_K_Bhat/Scripts/requirements.txt +++ b/GNNs/GNN_for_momentum_estimation_Vishak_K_Bhat/Scripts/requirements.txt @@ -1,3 +1,15 @@ -torch-geometric -torch -matplotlib \ No newline at end of file +# Core Deep Learning +torch>=2.0.0,<3.0.0 +torch-geometric>=2.3.0,<3.0.0 + +# Data Processing & Scientific Computing +numpy>=1.24.0,<2.0.0 +pandas>=2.0.0,<3.0.0 +scikit-learn>=1.3.0,<2.0.0 +scipy>=1.11.0,<2.0.0 + +# Visualization +matplotlib>=3.7.0,<4.0.0 + +# Utilities +tqdm>=4.65.0 \ No newline at end of file