URL: https://github.com/peterbe/hashin/issues/15

Thank you @davehunt for finding a ugly bug in in hashin.

The bug happened when you tried to add a package that had a similar name to a package that was already in your requirements.txt. By similar name, it was if the package name was inside another name. E.g. 'selenium==' in 'pytest-selenium=='.

Here's the fix.

So make sure you upgrade to version >0.5.

Comments

Your email will never ever be published.

Previous:
Time to do concurrent CPU bound work May 13, 2016 Python, Linux, macOS
Next:
CSS Bloat Comparison June 3, 2016 Web development, JavaScript
Related by category:
How I run standalone Python in 2025 January 14, 2025 Python
get in JavaScript is the same as property in Python February 13, 2025 Python
How to resolve a git conflict in poetry.lock February 7, 2020 Python
Best practice with retries with requests April 19, 2017 Python
Related by keyword:
Pip-Outdated.py - a script to compare requirements.in with the output of pip list --outdated December 22, 2022 Python
"ld: library not found for -lssl" trying to install mysqlclient in Python on macOS February 5, 2020 Python, macOS
Pip-Outdated.py with interactive upgrade September 21, 2023 Python
hashin 0.15.0 now copes nicely with under_scores June 15, 2020 Python