Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong package replaced when target name is found in existing package #15

Closed
davehunt opened this issue Mar 30, 2016 · 1 comment
Closed

Comments

@davehunt
Copy link

For example, an attempt to add hashes for the selenium package replaces the pytest-selenium package. Another example would be pytest-django and django.

Before:

pytest-selenium==1.2.1 \
    --hash=sha256:e82f0a265b0e238ac42ac275d79313d0a7e0bef1a450633aeb3d6549cc14f517 \
    --hash=sha256:bd2121022ff3255ce82faec0ef3602462ec6bce9ca627b53462986cfc9b391e9
selenium==2.52.0 \
    --hash=sha256:820550a740ca1f746c399a0101986c0e6f94fbfe3c6f976e3f694db452cbe124

Command:

$ hashin selenium==2.53.1 requirements.txt

After:

selenium==2.53.1 \
    --hash=sha256:b1af142650ed7025f906349ae0d7ed1f1a1e635e6ce7ac67e2b2f854f9f8fdc1 \
    --hash=sha256:53929418a41295b526fbb68e43bc32fe93c3ef99c030b9e705caf1de486440de
@peterbe
Copy link
Owner

peterbe commented May 17, 2016

That's terrible! I'm sad I didn't get a notification about this issue.

peterbe pushed a commit that referenced this issue May 17, 2016
…th-similar-names-fixes-15

bad amend requirements content with similar names, fixes #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants