I just rebuilt my python environment (python 3.10, linux) and got this error when trying to start the dbserver:
File "/home/itchy/src/gem/oq-engine/openquake/commands/run.py", line 25, in <module>
from pandas.core.common import SettingWithCopyWarning
ImportError: cannot import name 'SettingWithCopyWarning' from 'pandas.core.common' (/home/itchy/src/miniconda/envs/oq/lib/python3.10/site-packages/pandas/core/common.py)
Pandas is version 2.1.0; that error has either been removed or moved to a different place in the codebase.
I just rebuilt my python environment (python 3.10, linux) and got this error when trying to start the dbserver:
Pandas is version 2.1.0; that error has either been removed or moved to a different place in the codebase.
I'm submitting a quick-fix PR for this as well.