capitalone / edgetest

edgetest is a tox-inspired python library that will loop through your project's dependencies, and check if your project is compatible with the latest version of each dependency
https://capitalone.github.io/edgetest/
Apache License 2.0
20 stars 6 forks source link

Update `upgraded_packages` get to be case & dash/hyphen insensitive #64

Closed NikhilJArora closed 1 year ago

NikhilJArora commented 1 year ago

edgetest version 2023.6.1

Description

When generating the report, there is a method that gets the list of upgraded_packages for a given test environment. The comparison of your upgrade list to your actual test environment (using pip list) is currently case sensitive even though pip list will always normalize your deps to lowercase with dashes.

This PR changes this comparison to be case and dash/hyphen insensitive to avoid missing upgraded deps due to case/dash differences between your upgrade list and actual env. See issue for more details.

Fixes #63

Type of change

Checklist:

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.