PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Friday the 18th of October, 2019

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[11:32:59] <agronholm> jaraco: can you confirm that there is no way for setuptools plugins to add their own sections to setup.cfg?
[11:33:20] <agronholm> if so, would you accept a PR to fix that? or should we focus on pyproject.toml instead?
[14:07:56] <ngoldbaum> if only the existence of pyproject.toml didn't trigger pep518/519 compat mode in pip :/
[14:10:07] <mgedmin> if only random tools didn't insist on using pyproject.toml as the sole source of configuration
[14:10:15] <agronholm> elaborate please
[14:11:32] <ngoldbaum> for me this came from black using pyproject.toml for configuration which at some point caused my build to stop working
[14:11:46] <ngoldbaum> let me see if i can find the issue in one of the pypa repos...
[14:13:30] <ngoldbaum> the existence of pyproject.toml turns on build isolation, which removes the root of the project from sys.path (among other things)
[14:13:35] <ngoldbaum> lots of tools relied on that
[14:13:47] <ngoldbaum> (perhaps those tools were broken, still, they worked for a long time)
[14:14:00] <agronholm> that does sound like bad design
[14:14:47] <ngoldbaum> https://github.com/pypa/pip/issues/5402
[17:50:15] <toad_polo> agronholm: PR would be welcome there.
[17:50:19] <toad_polo> ngoldbaum: That was fixed within like a week.
[17:51:04] <toad_polo> `pyproject.toml`'s existence triggers PEP 517/518 deliberately because that's opting people in to the "beta" of PEP 517.
[17:51:30] <toad_polo> But it now defaults to using a legacy mode in `setuptools` that is intended to have better backwards compat.
[17:53:10] <ngoldbaum> that's good, i didn't realize that was fixed
[17:53:15] <ngoldbaum> i worked around it and moved on
[17:53:22] <toad_polo> agronholm: Here's the relevant issue: https://github.com/pypa/setuptools/issues/1055
[18:43:08] <cooperlees> O, I thought setup.cfg via sections was extendable ... It's not?
[18:50:15] <toad_polo> You can put other stuff in there and parse it.
[18:50:53] <toad_polo> But `distutils` has some way to register keywords for your `setup()` call, and there's no equivalent mechanism in `setup.cfg`.
[18:59:54] <agronholm> toad_polo: thanks