[12:08:17] <graingert> does anyone know where the code is to check if a requirements "looks like a file"
[12:28:55] <pradyunsg> graingert: _get_url_from_path in constructors.py
[12:30:55] <pradyunsg> Or parse_req_from_line (line 362) in the same file, depending on what exactly you're asking for. :)
[12:34:04] <graingert> pradyunsg: https://github.com/PyCQA/modernize/pull/228/files#diff-256be86b218458267e29f38e19906417R34 I'm looking to work around the lack of --hash on the cli
[12:34:30] <graingert> and/or work-around file paths not being trusted, in --require-hashes
[12:35:54] <graingert> I'm currently abusing the fact that the tox sdist is always in a directory - and you can't put directories on pypi
[13:08:32] <graingert> is there a reason that I can't start an extra with an `_`? https://gist.github.com/graingert/24c27e4cec068c03a24c5836e1fcaaff
[13:13:30] <graingert> there's no regex I can find for them, https://packaging.python.org/tutorials/installing-packages/#installing-setuptools-extras
[13:14:33] <graingert> ah here we go https://github.com/pypa/packaging/blob/master/packaging/requirements.py#L49
[13:17:28] <graingert> ok pip doesn't allow test_ or test.
[13:58:34] <graingert> is `-crequirements.lock` special on windows in some way? https://github.com/PyCQA/modernize/pull/228/checks?check_run_id=1112490991#step:6:6
[14:01:50] <graingert> this might be a github actions issue
[14:01:56] <graingert> I'm going to ask in #python