commit: 8cdd6189b6d62dc5b4d6793d768fdc77ffd93354 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Oct 3 02:50:38 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Oct 3 06:56:19 2025 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=8cdd6189
pkgcore: eclass: avoid deprecated utcnow() Signed-off-by: Sam James <sam <AT> gentoo.org> Closes: https://github.com/pkgcore/pkgcore/pull/450 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> src/pkgcore/ebuild/eclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkgcore/ebuild/eclass.py b/src/pkgcore/ebuild/eclass.py index 439836e4..f03a70d2 100644 --- a/src/pkgcore/ebuild/eclass.py +++ b/src/pkgcore/ebuild/eclass.py @@ -706,7 +706,7 @@ class EclassDoc(AttrDict): man_data = { "manual_section": "5", "manual_group": "eclass-manpages", - "date": datetime.utcnow().strftime("%Y-%m-%d"), + "date": datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%d"), "version": "Gentoo Linux", } if self.blurb:
