You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace deprecated datetime.utcnow() with timezone-aware alternatives and suppress SQLAlchemy warnings
Replace all datetime.utcnow() calls with datetime.now(timezone.utc) to fix Python 3.13 deprecation warnings:
- Update JWT token generation in auth providers (11 instances across 2 files)
- Fix test fixtures with timezone-aware datetime (3 instances)
- Add timezone imports where needed
- Add SQLAlchemy to noisy_loggers with WARNING level to suppress deprecation warnings
Fixes Python 3.13 deprecation warnings that appeared when running commands like 'bm project add'.
Code is now ready for Python 3.15 when datetime.utcnow() will be removed.
Fixes#210
Co-authored-by: Drew Cain <groksrc@users.noreply.github.com>
0 commit comments