PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Thursday the 3rd of December, 2020

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[13:19:11] <mjacob> is it possible to specify a --hash=sha256:... for a requirement (for hash-checking mode) directly on the command line (without having a requirements file)?
[14:42:41] <adelks> Hello! Thanks for your great work on pip and co. I have an issue with pip (not related to the move from 20.2.4 to 20.3, weirdly enough) but more an issue with Python 3.9 ? When on a virtualenv, I want to install package C, that needs package A and B. It tries to install them and is oblivious to the fact that A and B are already installed in the virtualenv. It seems to be activating by default "--ignore-installed" I don't know why
[14:45:56] <ngoldbaum> maybe you’re hitting build isolation?
[14:46:36] <adelks> It seems to want to install the "requires", given in "pyproject.toml", no matter if they are available or not, in the virtualenv, or the "system-site-packages"
[14:47:07] <adelks> @ngoldbaum, did this option become a default ? can I get a reference ?
[14:47:22] <ngoldbaum> i don’t have it on hand, try googling for pep 517
[14:47:31] <adelks> Okay, thanks!
[14:49:10] <ngoldbaum> `—no-build-isolation` turns it off iirc
[14:50:20] <adelks> oh, thanks! something like "pip install . --no-build-isolation" ?
[14:50:44] <adelks> it used to work with a simple "pip install ." and no extra arguments :thinking:
[14:57:33] <adelks> I can't seem to find how to add exceptions to the isolation
[14:57:58] <adelks> or at least properly configure my package so it works well
[14:59:09] <adelks> But thank you @ngoldbaum, --no-build-isolation works really well
[14:59:49] <ngoldbaum> someone else might have more suggestions later
[15:03:00] <adelks> Great, thank you
[15:03:34] <inad922> Hi
[15:04:13] <adelks> Hello
[15:04:16] <inad922> What's the reason for making python package versions conform these https://www.python.org/dev/peps/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions regexes?
[15:04:39] <inad922> I mean this was not present in 20.1.1 in pip but throws exception if I don't match these in 20.3.1
[15:05:15] <inad922> I mean first I don't see what purpose this serves, second it's a backward incompatible change in a non-major version change.
[15:11:21] <lazka> inad922, https://github.com/pypa/pip/issues/9188
[15:11:43] <lazka> inad922, and https://github.com/pypa/pip/pull/9199
[15:11:46] <graingert> inad922: https://github.com/pypa/pip/issues/9188#issuecomment-736025963
[15:13:30] <inad922> Thanks!
[17:53:02] <sangy> silly question, is there a way to use something akin to pip show but on a not-installed package?