Files
DashBoard/environment.yml
beabigegg de0904ffa3 docs: 同步套件清單並補齊缺少的依賴項
- environment.yml: 補齊 redis, hiredis, requests, psutil
- pyproject.toml: 補齊 redis, hiredis, psutil,新增 Python 3.10/3.11 分類
- requirements.txt: 新增版本策略說明與分類註解
- 三個檔案現已完全同步,使用最低版本限制 (>=) 以允許安全性更新

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 16:38:57 +08:00

45 lines
1.1 KiB
YAML

# Conda environment for MES Dashboard
# Usage: conda env create -f environment.yml
# conda activate mes-dashboard
#
# Note: Most packages use minimum version pins (>=) to allow automatic security updates.
# For reproducible builds, generate a lock file: pip freeze > requirements.lock
name: mes-dashboard
channels:
- conda-forge
- defaults
dependencies:
# Python version - pinned for consistency across deployments
- python=3.11
# Use pip for Python packages (better compatibility with pypi packages)
- pip
- pip:
# Core Framework
- flask>=3.0.0
# Database
- oracledb>=2.0.0
- sqlalchemy>=2.0.0
# Data Processing
- pandas>=2.0.0
- openpyxl>=3.0.0
# Cache (Redis)
- redis>=5.0.0
- hiredis>=2.0.0 # C parser for better performance
# HTTP Client
- requests>=2.28.0
# Configuration
- python-dotenv>=1.0.0
# WSGI Server (Production)
- gunicorn>=21.2.0
# System Monitoring
- psutil>=5.9.0