On Sun, 13 Nov 2022 13:12:15 +0200 Andrius Merkys <mer...@debian.org> wrote:
python-ase/3.22.1 FTBFS with the following after Python 3.11 support has been added:

DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op

I have forwarded this upstream.

A month has passed without any action from the upstream. Now the issue is of severity:serious. If threatened by autoremoval, one possibility to resolve it might be ignoring the warning for the time being:

import warnings
warnings.filterwarnings("ignore", category=DeprecationWarning)

Source: https://stackoverflow.com/questions/879173/how-to-ignore-deprecation-warnings-in-python

Haven't tested if this indeed works yet.

Andrius

Reply via email to