test requirements based on Python version