Fix dependencies and add SDD v1.0
Changes: - Fix Python dependency conflicts in requirements.txt - Update to use compatible version ranges - Add fix_dependencies.bat for easy dependency repair - Create comprehensive DEPENDENCY_FIX.md guide - Add complete System Design Document (SDD) v1.0 SDD v1.0 includes: ✅ System architecture with dual backend ✅ Complete database design (31 tables) ✅ API specifications ✅ Security design ✅ Deployment architecture ✅ Performance optimization strategies Fixed Issues: 🐛 Flask/cryptography version conflicts 🐛 pip dependency resolver warnings Documentation: 📚 DEPENDENCY_FIX.md - Dependency troubleshooting 📚 SDD_系統設計文件_v1.0.md - Complete system design 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,27 +1,31 @@
|
||||
# Flask 核心
|
||||
Flask==3.0.0
|
||||
Werkzeug==3.0.1
|
||||
# Flask 核心(使用相容版本)
|
||||
Flask>=2.3.0,<3.1.0
|
||||
Werkzeug>=2.3.0,<3.1.0
|
||||
|
||||
# CORS 支援
|
||||
Flask-Cors==4.0.0
|
||||
Flask-Cors>=4.0.0
|
||||
|
||||
# 資料庫
|
||||
PyMySQL==1.1.0
|
||||
cryptography==41.0.7
|
||||
PyMySQL>=1.1.0
|
||||
cryptography>=41.0.0
|
||||
|
||||
# HTTP 請求
|
||||
requests==2.31.0
|
||||
requests>=2.31.0
|
||||
|
||||
# 環境變數
|
||||
python-dotenv==1.0.0
|
||||
python-dotenv>=1.0.0
|
||||
|
||||
# JSON 處理
|
||||
jsonschema==4.20.0
|
||||
jsonschema>=4.20.0
|
||||
|
||||
# 日期時間
|
||||
python-dateutil==2.8.2
|
||||
python-dateutil>=2.8.2
|
||||
|
||||
# 確保相容的依賴版本
|
||||
referencing>=0.30.0
|
||||
rpds-py>=0.10.0
|
||||
|
||||
# 開發工具(可選)
|
||||
# pytest==7.4.3
|
||||
# black==23.12.1
|
||||
# flake8==6.1.0
|
||||
# pytest>=7.4.0
|
||||
# black>=23.12.0
|
||||
# flake8>=6.1.0
|
||||
|
||||
Reference in New Issue
Block a user