With python 3.12 and enabed warnings, python complains about the use of datetime.datetime.utcfromtimestamp() in portage. There are warnings both about portage's own code (rsync.py) and in gemato (openpgp.py). To reproduce: PYTHONWARNINGS=d emerge --sync -q Output: /usr/lib/python3.12/site-packages/gemato/openpgp.py:171: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). return datetime.datetime.utcfromtimestamp(int(ts)) /usr/lib/python3.12/site-packages/portage/sync/modules/rsync/rsync.py:440: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). and (datetime.datetime.utcnow() - ts.ts).days > self.max_age
Please file a separate bug for the gemato issue, as it lives in a separate repo and so on.