PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Tuesday the 6th of October, 2020

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[18:19:46] <tobyp> Is there any documentation or overview of why pip install --editable does not work with pyproject.toml yet?
[19:36:30] <tos9> tobyp: Editable installs were never part of PEP517/8 essentially
[19:36:38] <tos9> So it doesn't work because it was never specified
[19:36:43] <tos9> There's a discuss thread and some other issue tickets
[19:37:23] <tos9> tobyp: https://discuss.python.org/t/pip-19-1-and-installing-in-editable-mode-with-pyproject-toml/1553 is one of them
[20:52:33] <tobyp> tos9 so basically it's "impossible"/"won't fix"?
[20:58:43] <FFY00> there has been work on standardizing editable installs in PEP517
[20:58:44] <FFY00> https://discuss.python.org/t/specification-of-editable-installation/1564
[20:58:57] <FFY00> you probably will have to wait for that
[20:59:39] <FFY00> in the meantime you should be able to just do something like this https://github.com/FFY00/python-build/blob/master/setup.py
[21:01:24] <tobyp> It all looks rather complex and subtle for someone that only learned about PEP517/518 yesterday to help with :/
[21:02:19] <tos9> tobyp: very much not -- it's just "not done yet"
[21:02:27] <tos9> but yeah see what FFY00 linked too certainly
[21:02:59] <tos9> which looks like the more up to date discussion, so probably ignore the one I linked
[21:03:04] <FFY00> well, a lot of complexity comes into figuring out how to do it
[21:03:11] <FFY00> because we want to do it properly
[21:03:45] <FFY00> but for general users is just: "not ready yet, sorry :/"
[21:03:55] <tobyp> Sounds like the subtlety is more in the "what to do" than the how, to me
[21:04:22] <tos9> yes the subtleties AIUI are mostly because you can't really make big assumptions about how any individual backend is working
[21:04:23] <tobyp> But that discuss thread does have a lot of good information about this, so thanks for linking that
[21:04:23] <FFY00> those two are very intertwined IMO
[21:05:37] <tobyp> I only got here because I wanted a replacement One-liner-to-setup-your-venv, after replacing the setup.py with setup.cfg and pyproject.toml, and now I'm reading about at least three different PEPs that are quite technical and abstract
[21:06:26] <tobyp> Do you think there's any chance that this "situation" would justify a --deps-only flag for pip install? I found several issues about that, but they all seemed to have been shut down or fizzled out
[21:06:29] <tos9> tobyp: yes the situation for end-users is still immature (as an enduser I agree :D) -- I've had folks come to my issue tracker (for a project I wrote) and say "I can't editable install your project" and had to explain "yeah sorry that's just not supported, here's 3 lines on manually symlinking stuff"
[21:07:09] <tobyp> I thought I might get clever and try 'python3 -c "import setuptools; setuptools.setup()' -- install -e .", but that doesn't work either
[21:09:31] <tobyp> I did see the symlink stuff, with the .egg-info and such, but when you mention the requirement for build-system independence, I'm suddenly not at all sure anymore that I have a comprehensive grasp of the implications
[23:04:21] <travis-ci> pypa/pip#18112 (master - dcc12f3 : Pradyun Gedam): The build was fixed.
[23:04:21] <travis-ci> Change view : https://github.com/pypa/pip/compare/a0f2f2cd5f58...dcc12f3786d9
[23:04:21] <travis-ci> Build details : https://travis-ci.com/pypa/pip/builds/188475268