Remove pytest option "--import-mode=importlib"
Remove the "--import-mode=importlib" option because it was the cause of Pytest errors with relative import modules. Also pin pytest >= 8 version too in test requirements.
Remove the "--import-mode=importlib" option because it was the cause of Pytest errors with relative import modules. Also pin pytest >= 8 version too in test requirements.