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
{{ message }}
Repository navigation
Replace legacy UTC aliases and enable Ruff UP017 #323
Replace existing datetime.timezone.utc usage with datetime.UTC (or UTC imports following each file's import style), then remove the temporary Ruff UP017 exclusion.
The initial modernization inventory contains 126 findings across core, Azure Managed, Functions, tests, and examples. datetime.UTC is available in Python 3.11, so this cleanup does not require raising any package's minimum Python version or introducing version-dependent fallbacks.
Completion criteria
Update hand-written code without changing timestamp values, timezone awareness, serialization, or replay-visible behavior.
Keep generated protobuf files excluded.
Remove the Ruff UP017 exclusion once the repository-wide check passes.
Until that exclusion is removed, Ruff does not prevent new occurrences of this pattern.
Activity