[00:58:21] <epony> Can you stop pmxbot from spamming?
[00:58:53] <epony> (tries to message people on join)
[09:47:59] <pradyunsg> epony: that's intentional -- it notifies users that join channels that the channel is logged. (PRIVACY INFORMATION: LOGGING IS ENABLED!!)
[15:29:04] <toad_polo> epony: You can /ignore pmxbot if you don't find it useful. Might be nice if there were an option on pmxbot to tell it not to send a specific user messages on join, though.
[16:51:41] <astronavt> in setuptools.setup extras_require, is it possible to have one set of extra deps include or depend on another?
[16:52:21] <astronavt> e.g. extras_require={'httpx': ['httpx'], 'cli': ['click']} <--- i'd like to have the 'cli' extra also include the 'httpx' extra
[16:52:44] <astronavt> i tried writing extras_require={'httpx': ['httpx'], 'cli': ['my-project[httpx]', 'click']}
[16:53:12] <astronavt> but pip install -e '.[cli]' just ignored the my-project[httpx] extra entirely
[16:55:28] <astronavt> i was expecting at least a warning or error message with what i tried, but it appeared to just pass silently
[18:17:16] <tos9> astronavt: unfortunately, if you have a setup.py yes, if you don't, no
[18:17:43] <tos9> astronavt: if you have a setup.py, you do it the normal python way. HTTPX_REQUIRES = [..], CLI_REQUIRES = ["click"] + HTTPX_REQUIRES, and passing those two lists to the right spot.
[18:18:00] <tos9> if you don't, you cry and do it manually.
[18:18:16] <astronavt> i think the setup.py way might make me cry more tbh :P
[18:18:25] <astronavt> but thanks, seems like an unfortunate oversight in the spec
[18:19:24] <astronavt> or is there a good technical reason why extras can't/shouldn't refer to other extras by name?
[18:20:44] <tos9> there is no spec for setup.cfg really
[18:21:27] <tos9> (I mean probably there is, but setup.cfg isn't a particularly fully thought out way to describe things, it's something that's evolved as we all agreed declarative package metadata is better than using Python)
[18:21:48] <tos9> there's work towards other better ways of writing down dependencies, adn those some day will undoubtedly have this kind of functionality
[18:21:54] <tos9> something like poetry may even have it already.
[18:59:26] <astronavt> to be clear, i'm using setup.py, but i'm trying to avoid too much "logic" in it so that it will be easy to convert to pyproject.toml one day
[19:00:00] <astronavt> im hoping that the pep-517-compatible editable install specification comes out eventually, that's one of the things keeping me from switching