Changes: - Downgraded boxsdk to 3.x (compatible API) - Created .env file with all credentials - Fixed requirements.txt versions Python automation now ready for testing: ✅ Virtual environment created ✅ All dependencies installed ✅ Box connection working ✅ Database connection working ⚠️ DAM OAuth (same creds as PHP, might be temp server issue) Next steps: 1. Test DAM connection (may need to retry) 2. Run A1→A2 script 3. Monitor logs 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
631 B
Text
36 lines
631 B
Text
# Ferrero Content Scaling - Python Automation Dependencies
|
|
# Compatible with Python 3.6+ (server) and Python 3.10+ (local)
|
|
|
|
# Core HTTP and utilities
|
|
requests>=2.27.0
|
|
python-dotenv>=0.19.0
|
|
PyYAML>=5.4
|
|
python-dateutil>=2.8.0
|
|
|
|
# Database
|
|
psycopg2-binary>=2.8.0
|
|
|
|
# Box SDK (use 3.x for compatible API)
|
|
boxsdk>=3.0.0,<4.0.0
|
|
|
|
# Web Framework for webhook receiver
|
|
Flask>=2.0.0
|
|
Werkzeug>=2.0.0
|
|
|
|
# JWT handling (for Box authentication)
|
|
PyJWT>=2.3.0
|
|
cryptography>=3.4.0
|
|
|
|
# Email templates
|
|
Jinja2>=3.0.0
|
|
|
|
# Retry logic
|
|
tenacity>=8.0.0
|
|
|
|
# Testing
|
|
pytest>=6.2.0
|
|
pytest-cov>=3.0.0
|
|
pytest-mock>=3.6.0
|
|
|
|
# HTTP mocking for tests
|
|
responses>=0.18.0
|