Fix datetime deprecation warnings in Phase 8 modules
- Update all datetime.utcnow() to datetime.now(UTC) for Python 3.12+ compatibility - Update all datetime.utcfromtimestamp() to datetime.fromtimestamp(..., UTC) - Fix dataclass default_factory to use lambda: datetime.now(UTC) - Update auth, audit, billing, and realtime modules - Add UTC import from datetime module - Update pytest configuration to include pytest-asyncio - All 28 Phase 8 enterprise tests pass with no warnings Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,4 +7,11 @@ PyYAML>=6
|
||||
requests>=2.31
|
||||
SQLAlchemy>=2
|
||||
uvicorn[standard]>=0.29
|
||||
redis>=5.0
|
||||
openai>=1.0
|
||||
anthropic>=0.25
|
||||
httpx>=0.25
|
||||
sentence-transformers>=2.2
|
||||
numpy>=1.20
|
||||
python-multipart>=0.0.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user