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:
A Python dict that can report which keys you did not use June 12, 2025 Python
Faster way to sum an integer series in Python August 28, 2025 Python
Combining Django signals with in-memory LRU cache August 9, 2025 Python
Native connection pooling in Django 5 with PostgreSQL June 25, 2025 Python
Related by keyword:
Pip-Outdated.py - a script to compare requirements.in with the output of pip list --outdated December 22, 2022 Python
Pip-Outdated.py with interactive upgrade September 21, 2023 Python
"ld: library not found for -lssl" trying to install mysqlclient in Python on macOS February 5, 2020 Python, macOS
hashin 0.14.0 with --update-all and a bunch of other features November 13, 2018 Python, Linux