From b25fdbb1a96bf3c68f61cb6f9a00ee482e6700a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 31 Jan 2026 19:01:42 +0000 Subject: [PATCH] Add version upper bounds to Python dependencies for stability Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com> --- requirements.txt | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/requirements.txt b/requirements.txt index bec9162..35b90ec 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,13 +23,13 @@ tqdm>=4.67.1 kaggle>=1.7.4 # Optional: For enhanced data processing -bleach>=6.2.0 -charset-normalizer>=3.4.2 -urllib3>=2.6.3 +bleach>=6.2.0,<7.0.0 +charset-normalizer>=3.4.2,<4.0.0 +urllib3>=2.6.3,<3.0.0 # Development and Jupyter Support (if needed) -jupyter>=1.0.0 -ipython>=8.0.1 +jupyter>=1.0.0,<2.0.0 +ipython>=8.0.1,<9.0.0 # Additional TensorFlow dependencies h5py>=3.8.0 @@ -56,36 +56,36 @@ joblib>=1.5.1 threadpoolctl>=3.6.0 # Web frameworks -fastapi>=0.115.0 -uvicorn[standard]>=0.24.0 -Flask>=3.0.0 -Flask-CORS>=4.0.0 +fastapi>=0.115.0,<1.0.0 +uvicorn[standard]>=0.24.0,<1.0.0 +Flask>=3.0.0,<4.0.0 +Flask-CORS>=4.0.0,<5.0.0 # Database drivers -motor>=3.3.2 -pymongo>=4.6.0 +motor>=3.3.2,<4.0.0 +pymongo>=4.6.0,<5.0.0 # Blockchain & Web3 -web3>=6.15.1 -eth-account>=0.10.0 +web3>=6.15.1,<7.0.0 +eth-account>=0.10.0,<1.0.0 # IPFS client (optional) ipfshttpclient==0.8.0a2 # Environment & configuration -python-dotenv>=1.0.0 +python-dotenv>=1.0.0,<2.0.0 # Data validation -pydantic>=2.5.3 +pydantic>=2.5.3,<3.0.0 # Authentication & security -python-jose>=3.4.0 -PyJWT>=2.8.0 -passlib[bcrypt]>=1.7.4 -cryptography>=42.0.4 +python-jose>=3.4.0,<4.0.0 +PyJWT>=2.8.0,<3.0.0 +passlib[bcrypt]>=1.7.4,<2.0.0 +cryptography>=42.0.4,<43.0.0 # HTTP requests -requests>=2.32.0 +requests>=2.32.0,<3.0.0 # Docker docker