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
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
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Checklist:
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] New and existing integration tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
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 yourupgrade
list to your actual test environment (usingpip list
) is currently case sensitive even thoughpip 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: