osmith has uploaded this change for review.

View Change

OBS: lib/debian: fix ruff UP017

Related: https://docs.astral.sh/ruff/rules/datetime-timezone-utc/
Change-Id: I6fc9067bda8b942a66c4587dc9947cb4f7e2e200
---
M scripts/obs/lib/debian.py
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/92/43992/1
diff --git a/scripts/obs/lib/debian.py b/scripts/obs/lib/debian.py
index 5b12cb4..3f6e827 100644
--- a/scripts/obs/lib/debian.py
+++ b/scripts/obs/lib/debian.py
@@ -38,7 +38,7 @@
version = version.replace("-", ".")

# Debian changelog requires this specific date format
- date = datetime.datetime.now(datetime.timezone.utc)
+ date = datetime.datetime.now(datetime.UTC)
date_str = date.strftime("%a, %d %b %Y %H:%M:%S %z")

# Add new changelog entry

To view, visit change 43992. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I6fc9067bda8b942a66c4587dc9947cb4f7e2e200
Gerrit-Change-Number: 43992
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>