caniusepython3.com icon indicating copy to clipboard operation
caniusepython3.com copied to clipboard

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

Open edmorley opened this issue 10 years ago • 2 comments

STR:

  1. Create a requirements file containing:
requests==2.9.1 --hash=sha256:113fbba5531a9e34945b7d36b33a084e8ba5d0664b703c81a7c572d91919a5b8
  1. 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 avatar Feb 15 '16 14:02 edmorley

This still repros for me.

edmorley avatar Jul 26 '17 08:07 edmorley

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

EmilStenstrom avatar Sep 03 '19 07:09 EmilStenstrom