backend updates for bulk product uploads from user

This commit is contained in:
sriram
2026-08-17 15:23:10 +05:30
parent 5e373ea20c
commit dba8d36175
7 changed files with 1290 additions and 218 deletions

View File

@@ -71,6 +71,14 @@ boto3>=1.34.162
# --- missing from this file - declared explicitly now. ---
scikit-learn>=1.5.2
pandas>=2.2.2
# pandas' Excel readers are optional extras it does not install itself, and the
# upload endpoints (/api/user/products/upload-file, /api/upload/*) accept .xlsx
# and .xls. Undeclared, they happened to be present in some environments and
# absent in others - so an Excel upload that worked locally failed in the
# container with "Missing optional dependency 'openpyxl'". openpyxl reads
# .xlsx/.xlsm; xlrd is only for the legacy .xls format.
openpyxl>=3.1.5
xlrd>=2.0.1
numpy>=1.26.4
scipy>=1.13.1
joblib>=1.4.2