Interate copy of list using items[:]
logging.exception
pip list
.get_attribute("href")
.text
find_element_by_xpath("..")