jezdez / caniusepython3.com

A site to check if your Python project is compatible with Python 3
https://caniusepython3.com/
136 stars 18 forks source link

Requirements files containing the new --hash syntax cannot be checked #49

Open edmorley opened 8 years ago

edmorley commented 8 years ago

STR: 1) Create a requirements file containing:

requests==2.9.1 --hash=sha256:113fbba5531a9e34945b7d36b33a084e8ba5d0664b703c81a7c572d91919a5b8

2) Drag onto https://caniusepython3.com/ and press check

Expected: Requirements file can be checked successfully, the same as if it just contained requests==2.9.1.

Actual:

Project --hash=sha256:113fbba5531a9e34945b7d36b33a084e8ba5d0664b703c81a7c572d91919a5b8 invalid

The hash syntax was added in pip 8, as part of the new hash-checking mode: http://pip.readthedocs.org/en/stable/user_guide/#hash-checking-mode http://pip.readthedocs.org/en/stable/reference/pip_install/#hash-checking-mode

edmorley commented 7 years ago

This still repros for me.

EmilStenstrom commented 4 years ago

This is an error in the caniusepython3 library, not on the site using that library. I suggest closing this one and focusing upstream.